[ltp] Re: UPS signals for shutdown

Helmut Hullen linux-thinkpad@linux-thinkpad.org
16 Mar 2008 17:27:00 +0100


Hallo, Axel,

Du (axel.braun) meintest am 16.03.08:

>> when the battery goes low it sends some signals. Can I use these
>> signals for a controlled shutdown?

> Maybe the settings in /proc/acpi/battery/BAT0 can give you a hint?

Looks good - I'll compare my laptops and their reports.

"state" and "info" may help. And "/proc/acpi/ac_adapter/AC/state" - I  
need this tool for a notebook which is usually on AC.

Viele Gruesse!
Helmut