battery check/warn script, unchanged from original in intertubes
updated to run better via cron
fixing batter levels, simplifying code
remove errmsg