...except in emergency situations. Starting the APU was one of the first things they did during the “Miracle on the Hudson” incident IIRC. It’s conceivable that some in-air emergency happening prior to the loss of communication would have required starting it as a checklist item.
EDIT: I just wanted to add that aside from electrical power, it provides bleed air necessary to start the engines, run de-icing (also run A/C packs, operate toilets, etc.) —Hence its usefulness in an emergency situation.