Untested code for pulling battery voltage from device