diff -Nru xfce4-battery-plugin-0.5.0-old/panel-plugin/libacpi.c xfce4-battery-plugin-0.5.0/panel-plugin/libacpi.c --- xfce4-battery-plugin-0.5.0-old/panel-plugin/libacpi.c 2007-04-29 15:08:23.670477251 +0000 +++ xfce4-battery-plugin-0.5.0/panel-plugin/libacpi.c 2007-04-29 15:17:23.213224040 +0000 @@ -207,10 +207,10 @@ #ifdef __linux__ FILE *acpi; - if (!(acpi = fopen ("/proc/acpi/info", "r"))) + if ( (!(acpi = fopen ("/proc/acpi/info", "r"))) && (!(acpi = fopen ("/sys/module/acpi/parameters/acpica_version", "r"))) ) { #ifdef DEBUG - printf("DBG:no acpi: /proc/acpi/info not found!\n"); + printf("DBG:no acpi: /proc/acpi/info and /sys/module/acpi/parameters/acpica_version not found!\n"); #endif return 1; }