battery formatting