[Novalug] Power management service

Peter Larsen peter@peterlarsen.org
Mon Mar 30 10:40:26 EDT 2015


On 03/30/2015 07:07 AM, shawn wilson via Novalug wrote:
> 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.

That's pretty much a standard power management features on laptops -
Gnome and KDE both do this out of the box. You just set the tolerance
and what action you want to take.

> **********************************************************************
> The Novalug mailing list is hosted by firemountain.net.
>
> To unsubscribe or change delivery options:
> http://www.firemountain.net/mailman/listinfo/novalug


-- 
Regards
  Peter Larsen




More information about the Novalug mailing list