battery.sh for FreeBSD