I noticed the same problem - Fujitsu Lifebook P1120 has 
/proc/acpi/battery/CMB1/ and that is not found.

Here is a patch that removes the BAT name check from batteries and 
cures it for me (TM):

--- lxpanel-0.3.8.1/src/plugins/batt/batt.c.old 2008-06-11 06:51:19.000000000 
+0300
+++ lxpanel-0.3.8.1/src/plugins/batt/batt.c     2009-06-03 23:04:10.000000000 
+0300
@@ -500,7 +500,7 @@
 
     /* Scan the battery directory for available batteries */
     while ((battery_name = g_dir_read_name(batteryDirectory))) {
-        if (battery_name[0] != '.'&&strncmp(battery_name, "BAT", 3)==0) {
+        if (battery_name[0] != '.') {
             /* find the battery in our list */
             for( l = b->batteries; l; l = l->next )
             {

-- 
Meelis Roos (mr...@linux.ee)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to