(*** This bug was imported into bugs.kde.org ***) Package: klaptopdaemon Version: KDE 2.9.1 Severity: wishlist Installed from: SuSE RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: with current patch acpi-20020208-2.4.17 from http://sf.net/projects/acpi I just applied the current patch from http://sf.net/projects/acpi to my kernel 2.4.17 The new ACPI code holds battery info under /proc/acpi/battery/BAT0 ("BAT0" instead of just "0"). I'm not sure if this will also change in 2.4.x-kernels soon but I wanted to mention - perhaps you will change your code to also look for the info in the new dir... Thx... (Submitted via bugs.kde.org)
current klaptopdaemon HEAD code already has this feature but it's not relea= sed=20 now. So I think this bug can be closed...
I just run into the same problem. I fund a patch on the web, but this patch still would not work for me. I have fixed up this patch so that it works now for me as well.
Created attachment 130 [details] patch which fixes acpi support
Subject: Re: new ACPI code holds battery info under /proc/acpi/battery/BAT0 This was fixed a while back in CVS it will be included in 3.1. The problem is actually more complex because the name used by ACPI depends on the BIOS in your machine - the simple fix floating around the net only fixes it for some people (and breaks it for others) - the one in CVS is more complete - Paul