Very basic battery level reading support added. See battery.c