Principle of Irish perovskite battery