I found out I'd been using an older version of the firmware

So I got a "readBatt" function to read the battery. I am using it now
to sound a warning when the battery is low.