That sounds like what happened with my car not long ago, all the electrics went while I was driving, couldn't even put the hazards on, called the RACV and sure enough it was the alternator. Hope it's not too exxy to fix.