Bug 116445

Summary: battery status cannot be displayed
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Alexander Schaefer <aschaefer>
Component: Mobile DevicesAssignee: Timo Hoenig <thoenig>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: behlert, dkukawka
Version: RC 1   
Target Milestone: ---   
Hardware: i386   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexander Schaefer 2005-09-12 09:48:16 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
Comment 1 Stefan Behlert 2005-09-12 10:15:13 UTC
Holger, looks at first sight like a HAL bug, but powersaved might be faulty, 
too. 
Comment 2 Holger Macht 2005-09-12 10:19:15 UTC
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.
Comment 3 Timo Hoenig 2005-09-12 11:36:10 UTC
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.
Comment 4 Timo Hoenig 2005-09-12 11:36:37 UTC
Reassigning to me.
Comment 5 Timo Hoenig 2005-09-12 12:33:27 UTC
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.
Comment 6 Timo Hoenig 2005-09-12 13:21:26 UTC
Alex: Please test mbuild from f10-dkukawka-45 and report if everything is working as expected.
Comment 7 Timo Hoenig 2005-09-12 13:31:30 UTC
Tests were successful.

Danny submitted a new package to autobuild.

Closing.