FWIW, there are reasonably priced computer backup power units (UPS=Uninterruptable Power Supply) that not only can provide hours of power during an outage, but also protect sensitive bator electronics from spikes and/or brown-outs. APC is, IMO, the best vendor for such products.