Readout/monitor battery voltage and turn off in case it gets too low. Also make the voltage available via API.
Partly implements #34.
Signed-off-by: Rahix <rahix@rahix.de>