ACPI has changed slightly in newer releases.
As far as i can tell from the short look on the CVS
tree i think your acpi support is just a hack... that's
why it doesn't work any more.
For detecting ACPI you try to access
/proc/acpi/battery/1/status
Which will work with old ACPI only if there is a second
battery; and will not work with newer ACPI at all.
Newer acpi versions use /proc/acpi/battery/<NAME>/status
where <NAME> is the bios name of the battery; this is
BAT0 and BAT1 here (Dell Inspiron 8100)
So if you check all /proc/acpi/battery/*/status and
just sum the results, it should work much better.
Please do also read battery/*/info just ONCE for each
battery. There is no changing info in there, and
reading that file blocks my system for a few msec. That
made the battery applet unuseable with my laptop and
older acpi releases... reading battery/*/status is fine
and contains all changeing information.
Logged In: YES
user_id=564701
As far as I can tell this has been fixed.