Implemented battery voltage monitoring