WMAcpi is port of WMApm 1.1 with ACPI support.
Implementation of "ACPI" mode:
As far as I know, there aren't any tools available right now to process battery statistics provided in /proc/power by ACPI stuff in 2.4.x kernels. So, I updated wmapm 1.1 to handle ACPI also. There are no changes between 1.1 and 1.2 other than ACPI stuff. If you are NOT interested in ACPI, this version is NOT for you. However, if you ARE interested in ACPI, please test this and
let me know if it works for you. This code makes a couple assumptions, they
are as follows:
* You only have one battery, and its a "Control Method" battery
* Your ACPI bios is more or less "not fucked up" (i.e. it works with 2.4.2)
* VERY IMPORTANT: You are running kernel 2.4.2. This has been tested under 2.4.2 kernel ONLY, and is not guaranteed to work with anything else. You have been warned.
To use ACPI support, just follow "INSTALL" instructions. Makefile has been updated to include -DACPI. If you don't have ACPI, you don't need this version of wmapm. Information after "INSTALL" section only applies to APM systems, without ACPI support.
* copy wmapm somewhere useful
* < somewhere useful >/wmapm &
(if it doesn't work, skip the phear step)
Note, this (for now) only supports laptops with one system battery. I am working with kernel acpi people to standartize power reporting interface, and when it's usable, WMApm will be updated to support any number of batteries, and provide full information about ACPI power sources.