Hi!
Starting with Mdk 9.2 test releases, on a laptop (Thinkpad A21e) there is a cool feature: when the batery runs below a critical level, suspend to disk is automatically performed.


However, I couldn't locate any documentation on how this is achieved and how can I configure that.
The PM system in use is APM, not ACPI.
It seems independent of apmd, though, since when I stop the apmd service (in fact, when I stop all the services and can see only kernel processes and getty and my shell) it still works. Messing with suspend-scripts doesn't help too.


I highly suspect that the kernel apmd (kapmd) does this stuff, but I cannot find any docs on kapmd on Google :(

I want to find a way to disable automatic suspend, but still be able to check battery status with the "apm" command.

I need this because I want to profile my battery:
I previously discharged my battery while logging its characteristics over time (remaining charge/timestamp) until it went completely dead. I were stopping all services and mounting the ext3 filesystem with sync option to avoid filesystem corruption and get all log entries up to complete discharge.


Automatic suspend is launched long before the battery discharges completely.

Best regards,
--
Aleksander Adamowski
Jabber JID (to nie e-mail!): [EMAIL PROTECTED]
GG#: 274614
ICQ UIN: 19780575 http://olo.office.altkom.com.pl




Reply via email to