Description of problem: Battery applet does not show the right battery status but always shows "Battery: 0% Low" even if the battery is fully charged. This happen with acpi. I state in advance that acpi works in fact the right status of the battery is fully readable in /proc/acpi/battery/0/status Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. load acpi modules 2. open X 3. See the applet Actual results: "Battery: 0% Low" Expected results: != "Battery: 0% Low" Additional info:
gnome-applets in rawhide is newer now, fwiw
And the /proc dir has been rearranged so battstat can't find anything on my machine at least. [root@localhost kmaraas]# ls /proc/acpi alarm button embedded_controller fadt power_resource asus dsdt event info sleep This is what I have. No "battery" nor "ac_adapter". I don't think battstat is looking for any others. This is the rawhide gnome-applets and kernel.
*** Bug 86351 has been marked as a duplicate of this bug. ***
kjartan: Was this with gnome-applets 2.3.6?
Sorry, loading the relevant kernel modules gives me /proc/ac_adapter etc, but I still don't get any battery info from the applet. It shows the red exclamation mark. This is gnome-applets-2.3.7-1: [root@localhost root]# ls /proc/acpi ac_adapter battery embedded_controller info sleep alarm button event power_resource thermal_zone asus dsdt fadt processor [root@localhost root]# Please tell me what you need to know about the proc files if anything.
I think this is not a bug. In reply to comment #5, loading module "battery" would fix the problem. In reply to first comment, it has been an old ACPI code in kernel (which has been shipped in RH9). The new ACPI code export the data in /proc/acpi/battery/BAT1, which is where battstat-applet looks for. Can be closed IMO. BTW, there is a patch pending in GNOME bugzilla that adds time estimataion to this applet. I have patches against Rawhide SRPMS if anyone is interested here to include them in Rawhide. Here is the GNOME bugzilla report: http://bugzilla.gnome.org/show_bug.cgi?id=125585
Yeah. This can definitely be closed. There's a new gnome-applets out today that will fix some problems with event handling over the last release so ACPI should be working just fine with battstat now.
Cool, closing now