What are the processes of heterojunction batteries