file beautified

battery.py file changed