battery failure prevention