The backup batteries in Nest Secure are designed to last for several hours. This should give you enough time to get your power back on, or to take other measures to keep your home protected.