Bug 5318

Summary: bad battery status on asus laptop
Product: ACPI Reporter: Jiri Slaby (jirislaby)
Component: Power-BatteryAssignee: acpi_power-battery
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.12 2.6.13 Subsystem:
Regression: --- Bisected commit-id:
Attachments: diff of `cat state info'

Description Jiri Slaby 2005-09-27 10:12:28 UTC
Most recent kernel where this bug did not occur:
2.6.11.x
Problem Description:
2.6.11 and older kernel worked fine, battery status was OK. Now, in latest
kernels, there are bad data in /proc/acpi/battery/BAT0/ and it oscilates -- I
have 320 hours remaining, 65 hours, 14, 320, 65 and so on in my window
manager... (the remaining capacity is variable in `state' file).

I will attach diff between state and info in both kernels (2.6.11.7 and 2.6.13)

I use ec_burst in latest kernels, because without it, acpi is not working.
Comment 1 Jiri Slaby 2005-09-27 10:21:49 UTC
Created attachment 6166 [details]
diff of `cat state info'

diff between cat state info in 2.6.11.7 and 2.6.13
Comment 2 Luming Yu 2005-09-27 20:16:58 UTC
Please describe laptop model. 
 
Please try linux-2.6.14-rc1 with ec_burst=1. 
try last patch at bug 4980 and boot with ec_burst=1. 
If it doesn't work, please boot kernel with acpi debug option enabled, and 
post dmesg, as well as acpidump output. 
 
Thanks 
 
Comment 3 Jiri Slaby 2005-09-28 02:14:10 UTC
Yes, the patch helped.