fix battery voltage reading