fixed a bug with low battery detection caused by a faulty conversion from avr_voltage to raw band gap values