fixed bug with battery display