Fixed bug with battery status