How about a UPS(uninterrupted power supply)? THe kinds used for a computer. That might be worth looking into. You should be able to get one for cheap these days.

Raj.