I wonder the condition of your battery..
Is stop start working ok? These are both high drain items and the car could have gone into a non consumer mode to rescue the battery. My mercedes used to do this of the charge dropped below a certain level.
Best take it to the dealer regardless to get the codes read. Also enquire about your battery . Glad its working for you now.