Perovskite battery reliability