Bugzilla – Bug 116445
battery status cannot be displayed
Last modified: 2007-06-05 09:57:45 UTC
"cat /proc/acpi/battery/BAT1/status" works well, but powersave does not detect the remaining capacity of the battery properly. This is caused by hald-addon-acpi, which does not initialize properly at boot. Shutting down powersaved, then stopping (or, if it hangs, killing) hald and restarting hald and powersaved in the end solves the problem until the next reboot. Test system: FSC Amilo PRo 801, Intel 915GM (centrino) chipset, Pentium M 1.73 GHz, 60 GB SATA HDD, 512 MB RAM
Holger, looks at first sight like a HAL bug, but powersaved might be faulty, too.
It is a hal-bug that hal-acpi-addon does not wait for the acpid-socket to come up or to reconnect. We already discussed this issue (with Danny, Timo) and time is working on a patch.
I've just submitted a fixed hal package to mbuild: trail-thoenig-14 Alex: Please install this package on your RC1 and report if it fixes the bug.
Reassigning to me.
Reconnection to ACPI event source is working. We still face a race at init time which lets powersave fail to detect the battery through HAL.
Alex: Please test mbuild from f10-dkukawka-45 and report if everything is working as expected.
Tests were successful. Danny submitted a new package to autobuild. Closing.