Built-in electric field strength of perovskite battery