battery localization