[Pkg-acpi-devel] Bug#586604: acpi: wrong numbering of batteries

Christoph Anton Mitterer calestyo at scientia.net
Sun Jun 20 22:56:51 UTC 2010


Package: acpi
Version: 1.5-2
Severity: normal


Hi.

It seems that acpi uses a wrong numbering of the batteries:
$ acpi
Battery 0: Charging, 99%, 00:07:45 until charged
Battery 1: Full, 100%


However in /sys/class/power_supply they are numbered
CMB1 and CMB2.
Now the offset is not the problem, but the one that is charging
is actually the 2nd battery and the full one is the first.
This is definitely the correct order, as it is also the one used
of the laptop's LEDs.


Cheers,
Chris.





More information about the Pkg-acpi-devel mailing list