/proc/acpi/battery/0 instead of .../1
Brought to you by:
jpehrson
The ACPI code in acpi-linux.c reads
/proc/acpi/battery/1 and /proc/acpi/ac_adapter/1 to
query the status. On my system (Asus S8600 notebook
with kernel 2.4.18) the ACPI info for the 1st
battery/AC-adapter is found under /proc/acpi/battery/0.
An option would be nice to set the battery/AC-Adapter
index in the preferences dialog.
Logged In: YES
user_id=564701
I believe this has been fixed. In the code I just looked at
(from Redhat 9's gnome-applets RPM) it iterates over the
directory entries and operates on anything it finds.