fix battery percentage