power failure prevention