fixed battery display bug