refactored battery-information