Is there some system service or utility that will smartly monitor a laptop battery and do something on an event (like pm-suspend when it hits 5%)? I could: while 1; do test $(acpitool ¦ grep...) && pm-suspend ; sleep 1 ; done But that doesn't seem like the best way to do this. I also don't want an X app for this.