fix battery level percentage display