The process of making memory battery