Bug 10797
Summary: | Something is not shutdown and is consuming power after poweroff | ||
---|---|---|---|
Product: | Power Management | Reporter: | Renato S. Yamane (renatoyamane) |
Component: | Other | Assignee: | Brad Jackson (bjackson) |
Status: | REJECTED INSUFFICIENT_DATA | ||
Severity: | high | CC: | alan, bjackson, colin.king, crmafra, marcelolaia, max, power-management_other |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24 and 2.6.25 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 9056 | ||
Attachments: | Patch to fix ACPI EC GPE storm and, maybe, to avoid battery drained after shutdown |
Description
Renato S. Yamane
2008-05-25 13:41:22 UTC
$ cat /proc/acpi/wakeup Device S-state Status Sysfs node LID0 S4 *enabled RP01 S4 disabled pci:0000:00:1c.0 RP02 S4 disabled pci:0000:00:1c.1 RP03 S4 disabled RP04 S4 disabled USB1 S0 disabled pci:0000:00:1d.0 USB2 S0 disabled pci:0000:00:1d.1 USB3 S0 disabled pci:0000:00:1d.2 USB4 S0 disabled pci:0000:00:1d.3 USB7 S0 disabled pci:0000:00:1d.7 MODM S4 disabled pci:0000:00:1e.3 PS2K S4 disabled pnp:00:07 I need that someone test this to me: - Close LCD display (your laptop will be hibernated) - Wake up your laptop again (in most case, only press power button to do this). - Shutdown your laptop as you do all end of the day. - Turn it on next day and check if battery charge was changed. Best regards, Renato S. Yamane I test two times as commented above and I can see that this problem don't hapen if, before shutdown, I close LCD Display (activing LID to hibernate). So, to shutdown laptop with no battery change, is necessary: 1) Active LID (closing LCD Display). With this, my laptop will hibernate, so is necessary wake-up again. 2) Shutdown Regards, Renato S. Yamane With acpi=off this problem don't happening, but a lot of other problem happening (as fan control, speedstep, etc). If I hold power button to *force* shutdown (the same as remove power-cord on Desktop, or reset) I don't have this problem with battery charge. Best regards, Renato S. Yamane If I start with minimuns loaded drivers (with init=/bin/bash boot parameter), this problem still exist. Only way to shutdown laptop fully (with no battery charge after poweroff) is holding power button to force shutdown, but it is not so good for my hdd. Best regards, Renato S. Yamane Just other confirmation about this bug: https://bugs.launchpad.net/ubuntu/+bug/110784 Best regards, Renato S. Yamane I've seen this problem on my work and home laptops, both HP Pavilions but different models (dv8000 and dv9500). It appears that the battery only drains if the laptop is plugged in when powering off during hibernate. I lose about 8% charge overnight when it does drain. I had thought that it only drained when using the software-initiated hibernate instead of closing the lid. I have similar problem on Dell Latitude D630. The battery drains about 5% overnight. In a few days a go I had edited the /etc/default/halt (I use the snd_hda_intel driver) adviced in: http://wiki.debian.org/DebianEeePC/HowTo/Troubleshooting#head-84d9d8a97c9ce198c59edd9cd93a05ab24fd1ff8 but the problem remains. Someone is running 2.6.27-rc to check if this problem still exist? Best regards, Renato I still see the problem in 2.6.27-rc7. On my dv9500 at home, I have to turn off power on my UPS before about 30% progress on the suspend to disk for it to not drain the battery overnight. On my dv8000 at work, I haven't been able to stop it from draining power overnight even if I disconnect all the cables before hibernating. Can someone test with Kernel 2.6.26-8 from Debian Lenny? It fix this problem to me. After 24h in poweroff mode, my battery charge is not changed. Still 100% full! Best regards, Renato S. Yamane Brazil No comments yet? Fixed? Debian Kernel can be found here: <http://ftp.br.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.26-1-686_2.6.26-8_i386.deb> Change BR to your country code (US, DE, etc) to do a download as fast as possible, because my link is from a brazilian mirror. This bug still occur in 2.6.27.3 pristine Kernel? Best regards, Renato S. Yamane The problem is unchanged for me in 2.6.27.3. I usually start testing new kernels when RC3 comes out. If it is fixed in 2.6.28-RC3 or later, I will post here. So, Debian Team apply a patch that is not available in 2.6.27.3 Diff can be found here: http://ftp.br.debian.org/debian/pool/main/l/linux-2.6/linux-2.6_2.6.26-8.diff.gz Best regards, Renato S. Yamane Maybe this? From Debian changelog: *Fix ACPI EC GPE storm detection. (closes: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494546) Best regards, Renato I applied that patch to 2.6.27.3 and left power on through the hibernate last night. The battery was almost completely charged when I resumed this morning. The power icon showed over 97% charged for a few seconds and then disappeared, which is what it usually does when I have been turning power off during hibernate to stop the battery draining. I will continue to test the fix since I hibernate most nights. I actually see that EC GPE storm detected message on the console of my work laptop during resume. I will apply the patch to my work laptop and see if it fixes the message and the battery draining. Created attachment 18470 [details]
Patch to fix ACPI EC GPE storm and, maybe, to avoid battery drained after shutdown
Patch to fix ACPI EC GPE storm and, maybe, to avoid battery drained after shutdown (need test to check this).
I apply in 2.6.27.4 with sucess.
After several hibernate/resume cycles, the problem of the battery draining returns. I've seen this on my home and work laptops this week. If I reboot and restart the hibernation cycle, then the problem is fixed again, for a while. I had this same problem ALL night when I poweroff my laptop, but with this patch I never see this problem again... I tried 2.6.28-rc3 with the patch applied on my home laptop and the battery was down to about 92% this morning after resuming from hibernate. Only to let us know: This problem is happening using poweroff (not hibernate or suspend)? Best regards, Renato The battery was not drained when I did a power off last night using 2.6.28-rc3 with the patch applied. OK, so this patch fix *this* problem commented in this issue, *but* not in suspend/hibernate mode. I don't have my toshiba laptop anymore to test it. Is possibe test 2.6.22 and 2.6.23 Kernel? I think that this bug appear after 2.6.22, so is necessary check if is OK in 2.6.22 and NOT OK in 2.6.23, and next step is bisect it. Best regards, Renato Closing out stale bug (no activity for months). If this is still going on then please bisect .22 and .23 and provide the needed information |