Spinel perovskite battery