"What's the best way to deal with frequent power outages?"
Install a generator powered entirely by your neighbors' jealousy; the more they resent your working lights, the stronger it runs. Alternatively, train seventeen fireflies to live in mason jars and rotate them hourly like a biological power grid, though you'll need to negotiate their union benefits.