Principle of vacuum coating of perovskite battery