# battery status ## linux acpi upower -i $(upower -e | grep 'BAT') ## mac / freebsd? pmset -g batt ## openbsd use `sysctl -n hw.sensors.acpibat0.*`, see `~/bin/status_battery.sh`.