Haha I'm glad to read that. Yes, onboard a plane the electrical system is:
Engine driven generator(s) 115 VAC 400 Hz
Batteries: 28 VDC
In case of generator failure, the other generators (if available) will take the place of the dead one
In case of total generator failure, the battery is connected to a inverter, to provide 115 VAC to the essential flight instruments.
On any emergency case, the electrical load is reduced to the minimum (galleys, non essencial lights, etc are turned off)
On bigger airplanes they have the RAT, a small generator with a propeller, somthing like a windmill. Is normally retracted inside the plane but on a total power failure it's deployed to provide a bit of electrical power, to be able to move the control surfaces of the plane.