Perovskite battery film engraving principle