From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b3pre) Gecko/2008010314 Fedora/1.9-0.beta2.6.fc9 Minefield/3.0b3pre
Description of problem:
/proc/acpi/battery and its subdirectories and such do not exist. gnome-power-manager is unable to determine the battery runtime remaining, and is unable to show an accurate battery percentage when on battery.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. ls /proc/acpi
2. notice lack of batter
3. use gnome-power-manager applet and notice lack of discharge or accurate runtime
/proc/acpi/battery does not exist, gnome-power-manager cannot show runtime or battery charge
/proc/acpi/battery/BAT0/... with battery information, including charge state. gnome-power-manager showing useful information.
This is a regression relative to Fedora 8; kernel kernel-22.214.171.124-85.fc8 found the battery without a problem.
There is some sort of communication happening, because the power remaining just
went from 96% to 79% with no intermediate steps. (after running on battery for
maybe an hour). Still not sure exactly what's going on.
As yet another followup, it's back to saying 96% on a laptop that's been running
off battery for 90 minutes. (the X61s is efficient, but it's not *that* good).
The same problem with current rawhide:
$ ls -l /proc/acpi/*bat*
ls: cannot access /proc/acpi/*bat*: No such file or directory
Maybe problem in kernel config (CONFIG_ACPI_PROCFS_POWER)?
$ cat config-2.6.24-0.150.rc7.git4.fc9 |grep ACPI|grep PROCFS
# CONFIG_ACPI_PROCFS_POWER is not set
With kernel-2.6.24-0.155.rc7.git6.fc9 I can now see the battery in /proc/acpi,
though gnome-power-manager shows two batteries (minor issue compared to no
/proc/acpi/battery/BAT0 only shows one battery
Yeah, the same problem. I have 2 batteries, but battery monitor shows 4...
Seems some procfs-ACPI vs. HAL problem.
But also seems this bug is unread by kernel maintainers? ;)
$ lshal |grep battery.charge_level.last_full
battery.charge_level.last_full = 89640 (0x15e28) (int)
battery.charge_level.last_full = 37910 (0x9416) (int)
battery.charge_level.last_full = 37910 (0x9416) (int) # THIS IS DUPE
battery.charge_level.last_full = 89640 (0x15e28) (int) # THIS IS DUPE
With kernel kernel-2.6.24-0.150.rc7.git4.fc9, /proc/acpi/battery/* was absent
but lshal listed 2 batteries (it was right for my computer)
still the same problem
four batteries found instead of real two
126.96.36.199-31.fc9 plus current rawhide finds exactly one battery correctly.
Denis, are you seeing this too? (I'd like a second before marking this as resolved)
Batteries is ok with kernel-2.6.25-0.93.rc4.fc9.i686
Seems fixed. Please close the bug.
Seems the problem wasn't in kernel.
Now I back to older 2.6.24 kernel and all is ok.
Maybe somethings in HAL was fixed.