Bug 390511

Summary: double battery detection with 2.6.24
Product: [Fedora] Fedora Reporter: Jeremy Katz <katzj>
Component: halAssignee: David Zeuthen <davidz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: cra, davej, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-04 18:10:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235706    

Description Jeremy Katz 2007-11-19 15:19:25 UTC
With 2.6.24 kernels, laptop batteries get detected twice -- once as the ACPI
battery device (/org/freedesktop/Hal/devices/acpi_BAT0) and once as a computer
power supply (/org/freedesktop/Hal/devices/computer_power_supply_0).  The latter
seems to be due to the bits under the new /sys/class/power_supply

Comment 1 David Zeuthen 2007-11-19 16:06:29 UTC
This is an interesting bug; is rawhide tracking 2.6.24 just yet? What hardware?
I'll probably do a hal release soon; would be good to have a fix for
this before f7 and f8 is rebased (hence why I'm cc'ing davej)...

Comment 2 Jeremy Katz 2007-11-19 16:24:48 UTC
Yep, rawhide got to 2.6.24-rc Friday-ish.  Just rebooted this morning for the
first time since updating the kernel.  And this is on my HP laptop.  Have a live
image underway and will be able to see if it happens generically across laptops
later today

Comment 3 Charles R. Anderson 2008-02-08 00:13:06 UTC
Same double-battery issue happens on IBM ThinkPad T42p and also a Lenovo
ThinkPad T61, both running latest rawhide / F9Alpha release.

Comment 4 Matthias Clasen 2008-02-21 21:01:15 UTC
With 2.6.25, I'm seeing triple batteries ! 

Comment 5 Matthias Clasen 2008-03-04 18:10:08 UTC
Should be fixed in tomorrows rawhide