Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Sep. 01 2006,08:39 |
|
It depends whether your laptop BIOS supports APM or the newer ACPI - I was using ACPI with DSL 2.x and a Dell Latitude D400.
If I recall correctly (I made several posts on the subject), I had to use ACPI=force APM=off as boot cheat codes. Once booted, you will need to "modprobe" the ACPI ac, battery, button, fan, processor and thermal modules which are already in DSL 2.x
Once you have done the above, you can read the battery state using the dockapp wmacpi_1.99r7.dsl or you can manually do it by using the command:
cat /proc/acpi/battery/BAT0/state
|