Battery percentage fixes