Th RAT comes to the rescue in such situations. Its a Ram Air Turbine which pops out of the body when called upon. The turbine spins and generates just enough electricity to power the crucial instruments and controls.
I was touring a Hamilton Sundstrand factory a long time ago that manufactured these RATs. They had a tally board up that listed situations where the RAT was deployed and the number of people that survived the incident.
Talk about being motivated to do a good job!