Toshiba laptop battery is drained while shut down

Bug #110784 reported by Deema
124
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Linux
Invalid
High
linux (Ubuntu)
Won't Fix
High
Stefan Bader
linux-2.6.26 (Debian)
Fix Released
Unknown

Bug Description

After shutting down the laptop, the battery still slowly drains, going from 100% to 70% overnight. And, no, this is not sleep mode. This has been confirmed by other people with Toshiba models such as M115, M100 and maybe others. No such problem in Windows. This is in Edgy, Feisty, and Hardy as well as Jaunty.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

I was about to report the same thing; mine is a Toshiba Equium A100-306. It does appear to switch off fully (screen fully black, no disc sounds, onlight goes off), but there is obviously something still eating power (I think about a 50% drain over night; totally flat left in hibernate for 5 days).
I've included a section of syslog that looks suspicous to me; note the bit about USB (I've not got any USB devices plugged in); (Is it normal there there is the remenants of the logs from the shutdown (Apr 22) finding their way into the logs on the 28th when it woke up?)

Apr 22 20:37:33 davros kernel: [30193.409128] CPU 1 is now offline
Apr 22 20:37:33 davros kernel: [30193.409135] SMP alternatives: switching to UP code
Apr 28 11:44:51 davros kernel: [30193.412154] CPU1 is down
Apr 28 11:44:51 davros kernel: [30193.412159] Stopping tasks ... done.
Apr 28 11:44:51 davros kernel: [30193.489681] Shrinking memory... ^H-^H\^H|^H/^H-^H\^Hdone (70978 pages freed)
Apr 28 11:44:51 davros kernel: [30194.157860] Freed 283912 kbytes in 0.56 seconds (506.98 MB/s)
Apr 28 11:44:51 davros kernel: [30194.157863] Suspending console(s)
Apr 28 11:44:51 davros kernel: [30194.157879] platform bluetooth: freeze
Apr 28 11:44:51 davros kernel: [30194.157886] iTCO_wdt iTCO_wdt: freeze
Apr 28 11:44:51 davros kernel: [30194.157889] sr 1:0:0:0: freeze
Apr 28 11:44:51 davros kernel: [30194.157925] sd 0:0:0:0: freeze
Apr 28 11:44:51 davros kernel: [30194.157940] usbdev5.1_ep81: PM: suspend 0->1, parent 5-0:1.0 already 2
Apr 28 11:44:51 davros kernel: [30194.157943] hub 5-0:1.0: PM: suspend 2-->1
Apr 28 11:44:51 davros kernel: [30194.157946] hub 5-0:1.0: PM: suspend 2->1, parent usb5 already 2
Apr 28 11:44:51 davros kernel: [30194.157948] usbdev5.1_ep00: PM: suspend 0->1, parent usb5 already 2
Apr 28 11:44:51 davros kernel: [30194.157951] usb usb5: PM: suspend 2-->1

There are a bunch more of these.

Other possibly relevant syslogs:

Apr 28 11:44:51 davros kernel: [30194.966807] ohci1394 0000:07:06.1: freeze
Apr 28 11:44:51 davros kernel: [30194.966810] ohci1394 does not fully support suspend and resume yet
Apr 28 11:44:51 davros kernel: [30194.966815] ieee1394: hpsb_bus_reset called while bus reset already in progress

(This is Feisty in 64 bit mode on a Core2 with Intel chipset; I haven't tried any other OS on it).

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Just a confirmation; I'm talking about Hibernation - the original reporter is possibly talking about a full shutdown?

Dave

Revision history for this message
Andrew Charles (andrew-charles) wrote :

I experience this issue on my Toshiba M110, the battery continues to drain after either a shutdown or a hibernate.

Let me know about any information I could provide to help resolve this.

Revision history for this message
Gian Luca Rossetti (glrossetti) wrote :

Same issue here on hibernation with Feisty on a Vaio VGN-S2XP, but I've found a workaround that seems to work. First I've changed HIBERNATE_MODE=shutdown (/etc/default/acpi-support) to HIBERNATE_MODE=platform (this value reduced energy drain while the system is hibernated). To completely solve the problem I had to deactivate WiFi and Bluetooth before hibernating using the hardware switch that controls both.

I've noticed that Usb is still powered when the system is hibernated, and the internal Bluetooth is attached to the Usb bus. Moreover during hibernation process I have to remove modules usbhid uhci_hcd ehci_hcd (using "MODULES=" in /etc/default/acpi-support) in order to avoid some error messages about Usb.

I've tried video=radeonfb:force_sleep in /boot/grub/menu.lst and radeonfb force_sleep=1 in /etc/modules with no success.

Revision history for this message
Gian Luca Rossetti (glrossetti) wrote :

No way, it doesn't work. The notebook still drains energy while hibernated. The only way is to remove and reconnect the battery. Strange. Nothing happens with Windows Xp/Vista.

Revision history for this message
MonJovi (moncalibuso) wrote :

I've been experiencing the same problem with my Toshiba Satellite A105-S4384. Battery drains to about 70% overnight even while shut down. Running Ubuntu Feisty Fawn.

Revision history for this message
ophion (ophion) wrote :

I am having the same problem on an M55-S3314 under Feisty.

Revision history for this message
finlay (finlay-catalyst) wrote :

I am having the same problem.

It seems to drain the battery even when I have completely shut down.

I have a Toshiba Satellite M110

Revision history for this message
Iván Campaña (ivan-campana) wrote :

I have experienced the same problem but with a Compaq laptop, it eated up all the battery during the night. I will try the platform mode for acpi and also I will give a shot the wireless shutdown.

Revision history for this message
sprint (stautzenberger) wrote :

I searched the net trying to find a similar problem with my Toshiba Satellite A105-S2201. I use Slackware 12 and the battery always drained after shutdown. I had to remove the battery whenever I stored the laptop for more than a day or so. After reading the above messages, I disabled the acpid. Now there is no more battery discharge.

Revision history for this message
Iván Campaña (ivan-campana) wrote :

Forgot to comment that after shutting down the wireless before powering off the laptop the draining dissapeared, every time I forget to shutdown the wifi it keeps draining, so I suposse it is like if it keeps trying to send signals even withouth the O.S.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Still happens on my A100-306 on Hardy.

Revision history for this message
sprint (stautzenberger) wrote : Re: [Bug 110784] Re: Toshiba laptop battery is drained while shut down
  • unnamed Edit (1020 bytes, text/html; charset="utf-8")
Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

I found this bug in Kernel 2.6.25-2 available in Debian and report to bugs.debian and bugzilla.kernel, but I'm talking alone:
http://bugzilla.kernel.org/show_bug.cgi?id=10797

Best regards,
Renato S. Yamane

Revision history for this message
BlackStar (gronne) wrote :

Still happening to me also in Ubuntu 8.04 (i386) with my Toshiba M115-S3094. Every 6 months I check to see if this has been fixed in the new Ubuntu releases since 6.10 and I keep having to go back to Windows because of it. Seems like a pretty fundamental requirement to go unresolved for so long.

Revision history for this message
KM (cleankm) wrote :

Same as BlackStar Wrote. I am using the M115-S3094 and the issue still exists in the 8.04 Ubuntu Release. I wish there was an easier solution, but I have to just keep it on the charger. I found out that if I put the computer in standby mode, it drains the battery less then if it were "shutdown".

description: updated
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → High
Changed in linux:
status: Unknown → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi guys,

This seems like a rather nasty bug that needs to be addressed. The kernel team is actively working on the upcoming Intrepid Ibex 8.10 release which has a 2.6.26 based kernel. Would someone be willing to test the latest Alpha for the Intrepid Ibex 8.10. More information regarding the latest Alpha can be found at - http://www.ubuntu.com/testing . Assuming the issue still exists, per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.

* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback as we try to get this resolved.

Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Cord (cordvarty) wrote :

My battery is also draining while it is shutdown. At first I thought it was using a large percentage of the battery to startup the laptop; however, tonight I can home with my laptop and started it up after being off for six hours and it was at 86% even though I never used it. I'm using a MacBook with only Ubuntu 8.0.4 installed on the hard drive.

Revision history for this message
glrossetti (rossetti-gl) wrote :

I've come to the conclusion that it's an hardware problem. In case of Sony Vaio there are many reports (like http://club.vaio.sony.co.uk/clubvaio/gb/en/forum/viewthread?thread=43230&offset=0 or http://forum.notebookreview.com/showthread.php?t=282258 ), and the new kernel didn't change anything. Probably an hardware short is draining the battery.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

If you read Renato's report above he says it works fine for him in Windows; so that's not a hardware problem; and this machine has exhibited this since day one; that first sony link you refer to has people saying that killing Daemons under windows sorts it out for them.

Revision history for this message
DeBuger (elwinwhitton) wrote :

Possible solution:

Remove the battery when NOT IN USE this won't fix the problem permanently but will/should work for a while.

Also try seeing if there is any dust in-between the battery and the battery connector.
I also advice you to check you to check your power settings.

Just curious how old are these laptops?

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

As I said before: This is not a hardware problem!
This laptop have dual-boot, If I poweroff by Windows XP, the battery charge don´t change!

Best regards,
Renato S. Yamane

Revision history for this message
Cord (cordvarty) wrote :

I agree with Renato S. Yamane. I installed Mac OS X back on my laptop for testing and had no problems. My MacBook is 19 months old. The battery is also still good; it keeps 100% of it's charge and has only been drains completely 67 cycles.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Still seems to be happening on Intrepid (2.6.27-4); it was at about 94% this morning after about 10 hours off.

Revision history for this message
Adrian (aswinoga) wrote :

I've got a Toshiba M110 and with previous Ubuntu releases the battery was draining approx 30% overnight. I'm now running Intrepid (2.6.27-6) and it appears now to be only 4-5% (this is however after starting the laptop on only battery).

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Can someone use "git bisect" to find what commited introduce this bug in Kernel?
http://kerneltrap.org/node/11753

I think that it happening in 2.6.22, so is necessary use bisect in 2.6.21 and 2.6.22

I really don't have time enough to do this.

Best regards,
Renato

Revision history for this message
Stefan Bader (smb) wrote :

Could someone try to add suspicious drivers to be removed on suspend. Since pm-suspend is used, the right place would be a file in /etc/pm/config.d/ which contains the line:

SUSPEND_MODULES="<module> <...>"

This should hopefully lead to a specific driver to look after.

Changed in linux:
assignee: ubuntu-kernel-team → stefan-bader-canonical
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

* Stefan Bader (<email address hidden>) wrote:
> Could someone try to add suspicious drivers to be removed on suspend.
> Since pm-suspend is used, the right place would be a file in
> /etc/pm/config.d/ which contains the line:
>
> SUSPEND_MODULES="<module> <...>"
>
> This should hopefully lead to a specific driver to look after.

If I modify that file and then go into hibernate is that enough
to test that or do I need to restart anything in between?

Is there anything that isn't safe to add to the list? I guess
I have to leave all disc stuff in there - but can probably remove
any networking stuff; what about USB - can those be added to that
list safely?

Dave

>
> --
> Toshiba laptop battery is drained while shut down
> https://bugs.launchpad.net/bugs/110784
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in The Linux Kernel: Confirmed
> Status in ???linux??? source package in Ubuntu: Incomplete
>
> Bug description:
> After shutting down the laptop, the battery still slowly drains, going from 100% to 70% overnight. And, no, this is not sleep mode. This has been confirmed by other people with Toshiba models such as M115, M100 and maybe others. No such problem in Windows. This is in Edgy, Feisty, and Hardy.
--
 -----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org |_______/

Revision history for this message
Stefan Bader (smb) wrote :

Hi Dave, you just add it to the list, no restart required. If you are interested in knowing what is going on, you could modify /usr/lib/pm-utils/functions (_rmmod) to echo the module unloaded.
USB should be safe but ultimately it would be good to corner the smallest set of modules that would help. So try some combinations.

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

FYI,
This problem is not only with "suspend", but in "poweroff" too.

Steps to reproduce:
- Power-on your laptop with Kernel >=2.6.22
- Power-off and wait ~10h.
- See that battery charge is changed to ~94%

If you power-on (by Windows) and power-off (by Windows), the battery charge is not changed.

If you power-on your laptop with *minimum* modules loaded (init=/bin/bash boot parameter), the same problem appear.
http://bugzilla.kernel.org/show_bug.cgi?id=10797#c4

If you power-on your laptop and FORCE shutdown (holding power button by 5sec), this problem DON´T appear.

Best regards,
Renato

Revision history for this message
Cord (cordvarty) wrote :

I completely cleared my MacBook hard drive and installed Ubuntu on it a few months ago and had the same battery drain problem after shutting down Ubuntu. About a month ago I installed Mac OS X 10.5 back onto my MacBook and to this day my laptop continues to drain it's battery. You would think after I format the hard drive and install a new OS the problem would go away.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi Stefan (and others),
  As per your suggestion, last night I put the following an /etc/pm/config.d/01daveg:

PM_DEBUG="true"
SUSPEND_MODULES="rfcomm bnep l2cap sco bluetooth vboxdrv iwl3945 rfkill tifm_7xx
1 sdhci_pci sdhci pcmcia joydev yenta_socket parport_pc iTCO_wdt iTCO_vendor_sup
port ohci1394"

and put it in hibernate.

Almost exactly 12hours later the battery is at 97.2% (that's coming out of hibernate with it on PSU so I guess it
gets a little charge in a minute but not much); now I think that's a lot better than what it was (my initial report above suggests I was getting nearer to 50% when I initially reported this).

I only have a couple of shots at this test a week; and we have another one tonight - so do I trying adding more and get closer to 100% or do I try and cut down that list ? Suggestions welcome.

Dave

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

So for last night I added i915 snd_hda_intel e100 psmouse serio_raw ehi_hcd uhci_hcd

and this morning after about 11 hours hibernating it was at 95% :-(

It looks like I mistyped ehci as ehi so I'll fix that; also adding e100 was a BAD idea; I couldn't get
ether working on resume - I had to do a reboot to fix it. (The symptom was a rather
worrying warning about e100 corrupt nvram - but that sorted itself out on a reboot).

There aren't many other modules I think I can remove, so I'm not sure how to get anything better than that.

Still, I'll leave it to hibernate and see how much if anything is left by next Friday evening.
One other thought is this laptop has a bunch of multimedia buttons that is controlled by a micro somewhere that rumour has it also does LCD brightness and the like, but no one knows how to control - you have to wonder if it is that maybe.

Dave

Revision history for this message
fecson (fecson) wrote :

Hello to everybody, i have same problem :

 Toshiba Satellite A100-036
 on shut down after 12 hours ot drain 7% from battery

 To Fix this problem i switch off WiFi from the button ot my laptop and after couple of days testing it's fine , no drain at all

regards

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Switching off my IPW2200 don't fix this problem.
Anyone is using Debian Kernel 2.6.26-8?
In first time, I think this problem is fixed, but I'll finish my last test today night (wait more 8h) to check if the problem is not related with omnibook driver and/or lid.

Best regards,
Renato S. Yamane

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

After 24h in poweroff I see that this problem is fixed in Debian Lenny with Kernel 2.6.26-8 (hal is 0.5.11-3).
Can someone test?

Best regards,
Renato S. Yamane

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

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 Ubuntu Kernel?

Best regards,
Renato S. Yamane

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

* Renato S. Yamane (<email address hidden>) wrote:
> 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 Ubuntu Kernel?

Well it seems to; with that list of modules I previously said I've had
the best results so far I've seen on Ubuntu; I left it from Sunday
evening until midday Saturday and on restart it was at 72% - not great
but that's a hell of a lot better than when it was dropping to 70%
or less overnight.
(This is 2.6.27-7.12 on Intrepid).

I haven't gone back and tried taking out the module list with
the latest kernel.

Renato: Have you compared the configuration of the debian kernel
to the Ubuntu one is there anything in the debian changelog that looks
promising?

Dave
--
 -----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org |_______/

Changed in linux:
status: Confirmed → In Progress
Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Hi Dr. David!

I think this is a good investigation:

* Fix ACPI EC GPE storm detection. (closes: Debian Bug 494546).
Read this message from Fabio in LKML:
<http://lkml.org/lkml/2008/7/19/17>

Regards,
Renato

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Patch attached.

Changed in linux:
status: In Progress → Fix Released
Changed in linux:
status: Fix Released → Confirmed
Revision history for this message
KM (cleankm) wrote :

All,

Thank you for the patch. One question though: Are there going to be plans on adding this into a kernel build or are we going to have to patch it every time? Thanks,

--Kirill Morozov

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

I think that is very hard see this patch in Ubuntu Kernel if nobody test it!

Best regards,
Renato

Revision history for this message
Stefan Bader (smb) wrote :
Revision history for this message
Stefan Bader (smb) wrote :

But it seems the upstream bug has been re-opened after testing with that patch.

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

This patch fix this problem (battery is drained while *shutdown*), but not yet in Suspend/Hibernate mode.

I think that 2.6.22 is OK, so is necessary check if 2.6.23 is NOT OK to do a bisect between this 2 releases and find the commited that introduce this bug.

I don't have my Toshiba Laptop anymore to test it, so we need help to do this.

Regards,
Renato S. Yamane

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

* Renato S. Yamane (<email address hidden>) wrote:
> This patch fix this problem (battery is drained while *shutdown*), but
> not yet in Suspend/Hibernate mode.
>
> I think that 2.6.22 is OK, so is necessary check if 2.6.23 is NOT OK to
> do a bisect between this 2 releases and find the commited that introduce
> this bug.
>
> I don't have my Toshiba Laptop anymore to test it, so we need help to do
> this.

I should be able to help on this; but you only get a couple of shots a
week (normally at the weekend).

Dave
--
 -----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org |_______/

Changed in linux-2.6.26:
status: Unknown → Fix Released
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

As of 2.6.27-9 we're not doing too badly; down to 84% from a Sunday evening hibernated to Saturday midday - I reckon that means it's draining at the rate of less than mA. Could that be self discharge or something really still powered up?

Dave

Revision history for this message
Stefan Bader (smb) wrote :

How does this stand at the moment? Has someone tried the current Intrepid kernel from -proposed (-13.29)? Also could you do some checks?

- What happens if you hibernate, pull out the battery for afew minutes then replace it and wait?
- When hibernated, can you plug in a wired cable and check whether there is link activity (could this be some
  wake on lan issue)?

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

I change from Toshiba to Lenovo laptops, so I can't test now because this bug never happening in Lenovo.

@Dave, do you have Windows in dual-boot with Linux?
If yes, can you poweroff your laptop from Windows (and not from Linux), to see if battery is drained too?

@Stefan, this is not WOL issue. I did some tests in the past.

Patch is in mainline of 2.6.28-rc1:
http://bugzilla.kernel.org/show_bug.cgi?id=10724

Regards,
Renato S. Yamane

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hi,
  OK - well I've just put the -13.29 on - but we'll have to wait for next week to find out how we do.
(it was at 74% coming out of hibernate this morning; that's between 9pm last Sunday and about 11.30 this Saturday).

Or would you prefer I try on Jaunty - I keep thinking about upgrading to the Jaunty stream.

Dave

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

OK, so from Sunday ~9.30 till today (Tuesday) 7pm it's at 89.3% - so it's still going with that kernel. I might try taking the battery out when I hibernate it tonight.

Dave

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

1) Your test was did with what Kernel version?

2) Did you try poweroff/hibernate your laptop from Microsoft Windows as I commented in Comment #50 (two replys below)?

3) Did you try poweroff instead hibernate?

Regards,
Renato

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Kernel is: 2.6.27-13-generic #1 SMP Thu Feb 26 07:31:49 UTC 2009 x86_64 GNU/Linux
from the 27-13.29 packages Stefan suggested.

I don't have Windows.

Not tried poweroff; for tonights hibernate I'm going to try taking the battery out after hibernation as per Stefan's
suggestion.

I don't see any ether link when in hibernation.

Dave

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

OK, I'm going to bow out of this one.

My laptop goes down to about 75% after 6 days in hibernate or shutdown; - so I think there was a fix in probably at the 2.6.27 transition ago that made the difference where it didn't lose most of it overnight and didn't end up flat in the middle of the week, but then I guess the rest of the difference might just be my laptop - and in the mean time my laptop is now 2 years old so it could be battery age now.

Dave

Changed in linux:
status: Confirmed → Invalid
Revision history for this message
karl (karloss--yahoo) wrote :

I have the same problem on Toshiba NB100 running Ubuntu remix hardy. The battery drains while the netbook is completely shut down. It takes around 5 days for the battery to be flat while shutdown.

So how to I run the patch posted by renato. I am new to linux so excuse my ignorance about these matters.

It is annoying and carrying around a loose battery is not fun at all.

thank you for all your help.

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

We need do a git-bisect between 2.6.22 and 2.6.23, otherwise Kernel Developers can't do anything.
I don't have this laptop anymore, so I can't do this.

Documentation about git-bisect can be founded here:
http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html

Read "Basic bisect commands: start, bad, good"

Here is other good doc:
http://kerneltrap.org/node/11753

Regards,
Renato

Revision history for this message
Stefan Bader (smb) wrote :

I am closing this bug now for several reasons. First, there does not seem to be much activity anymore. The behavior seems acceptable with newer kernels. But for Hardy it would be just too intrusive and risky to try to backport the newer code in general. The patch Renato pointed out already is more than could be done for a stable update. Although the problem i very annoying, it is not critical enough to take the risk. This is sadly the truth. If someone can pinpoint a single change by bisecting, maybe. Still that would depend on the change and what effects might get introduced by reverting that.
So those who have to or want to stay with Hardy, a few generic thoughts. Try to find out whether unloading certain modules helps to reduce the drain. Guess this is simpler to test using hibernation as the pm-tools have support for that. If a certain set of modules is found, this could be used to write a init script to be run on shutdown.
Check whether "cat /proc/acpi/wakeup" has entries for S5 (though I do not think there are). Should there be one enabled it can be turned of by calling "echo '<device> disabled' >/proc/acpi/wakeup" as root.
There might also be the RTC being kept active (in theory to cause the system to be woken at a certain date/time). I have not been able to test this but heard that you could get it properly disabled by setting the alarm to go off manually.
Final note: even as I close this now, I someone still got that issue with Jaunty (or whatever the current release is) please reopen the bug saying so.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
viewfrom102 (viewfrom102) wrote :

I still have the problem with Jaunty on an Tosh NB100 (came with 8.04 OEM remix installed which also displays the same behaviour).

System shutdown -> Battery drains to around 10% in less than 48 hrs.

I'm still testing to see if it is an Ubuntu or BIOS thing though, because I notice that a lot of the previous posts are from people without access to a full BIOS dialogue....

Seemingly relevant BIOS on my NB100 (defaults from Toshiba) were:

Wake-on LAN [Enabled]
Critical Battery Wake-up [Enabled]
Wake-on Keyboard [Disabled]

Plus
USB Sleep and Charge [Enabled (Mode1)]

This last one is interesting as the documentation says it should enable you to charge USB devices when the PC is *asleep*, but it also does it when the PC is *shutdown*, suggesting that some power is being diverted to USB all the time. When off the mains but *asleep*, the documented (and expected) behaviour is to charge the device and drain the battery - but not when *shutdown*. However I guess that with nothing connected and the functionality remaining active even if shutdown it will cause a slow (but faster than acceptable) drain.

I have since turned off the wake from LAN option and the Sleep and Charge so we'll wait and see. It would be a shame to have to re-enable Sleep and Charge each time I want to use it - but that would seem to be a hardware issue not an O/S one.

Revision history for this message
viewfrom102 (viewfrom102) wrote :

I'm thinking/confirming its now only hardware related....

With "Wake-on LAN" and "USB Sleep and Charge" both [Disabled] drain over the weekend was a mere 2%.

Sorry folks still having problems, but it looks (to me at least) that Jaunty + BIOS settings = acceptable battery drain while shut down.

@karl
You may find that simply changing the BIOS, but staying on Hardy helps on your NB100.....

Revision history for this message
Iyeru (iyeru42) wrote :

Ubuntu 9.04 (Netbook Remix) has this problem on a Toshiba NB205 (Sable Brown) Netbook apparently. Wake on LAN doesn't help if it's disabled, still drains 10% of battery life in less than 10 hours when full shut down is used.

Changed in linux (Ubuntu):
status: Won't Fix → Confirmed
Revision history for this message
Iyeru (iyeru42) wrote :

Just disabled USB Sleep and Charge, left the battery in after shutting down fully, and it still lost about 9% of battery power within about 7-8 hours.

Iyeru (iyeru42)
description: updated
Revision history for this message
Iyeru (iyeru42) wrote :

According to Debian, it is fixed in linux kernel 2.6.26-7, but Ubuntu uses an even newer kernel than that after updating it (2.6.28-generic) so could it have been regressed?

Revision history for this message
filipegatti (gatti) wrote :

Still having this problem on Toshiba NB200 with Ubuntu Netbook Remix.

Linux version 2.6.28-15-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

I don't have a Toshiba Laptop anymore.
Can someone install a Debian Linux Kernel and check if the problem still happening?

i686:
http://ftp.us.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.26-2-686_2.6.26-19_i386.deb

amd64:
http://ftp.us.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.26-2-amd64_2.6.26-19_amd64.deb

Revision history for this message
Iyeru (iyeru42) wrote :

@Renato: I can't even get Debian to boot from USB, how can I test it?

See attachment for my dmesg.

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

@Iyery: You already have Ubuntu installed, right?
Boot using Ubuntu and Just download the Debian kernel and install it with:

$wget http://ftp.us.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.26-2-686_2.6.26-19_i386.deb
#dpkg -i linux-image-2.6.26-2-686_2.6.26-19_i386.deb

After installation, reboot the machine and use Debian Kernel (choose it in Grub/Lilo).
Shutdown the machine and wait 10h to see if the battery is drained.

Remember: You need shutdown the machine using Debian kernel!

Revision history for this message
Iyeru (iyeru42) wrote :

After installing and trying to boot to that kernel in Ubuntu, all I get is a blank screen. Sorry.

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Maye is necessary change something in /boot/grub/menu.lst
Can you attach it here?

Are you using a "standard" video driver? Or a compiled nvidia driver?

Revision history for this message
Iyeru (iyeru42) wrote :

I'm using a standard Video Driver for my Intel 945GME Graphics.

Here is my menu.lst

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Try remove "splash" from Debian Kernel line listed on menu.lst

Revision history for this message
Iyeru (iyeru42) wrote :

After I remove splash, it gets stuck on:

kinit: No resume image, doing normal boot...

Revision history for this message
bushnoh (bushnoh) wrote :

Problem occurs for me using Toshiba NB200-10g using kernel 2.6.28.

With Wake on LAN and Wake on Keyboard disabled, battery charge dropped from 19.4% to 6.0% over 8 hours.

Revision history for this message
Renato S. Yamane (renatoyamane) wrote :

Can somebody compile by yourself a vanilla Kernel?
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.7.tar.bz2

And check if this problem still exist on it?

Revision history for this message
laptop battery (mybatterybase) wrote :

Are you want to change your toshiba laptop battery??
please let me know which item you want.

Revision history for this message
laptop battery (myshuqian) wrote :

thanks for sharing it,but how can i make my laptop battery longer??

Revision history for this message
RivalComp (rival) wrote :

It's the same here with a Toshiba Portege R100 and Karmic Koala 9.10. I noticed that after normal shut down (not hibernation) Ethernet port remained active. I have two LEDs on it, and link LED remains on. I have dual boot: Windows XP shuts down everything normally. I have to remove the batteries or start XP and shut it down after using Ubuntu. Karmic and previous releases have several problems with this laptop (some resolved, some unresolved), so I have to use XP (without a problem). But my hope dies last... :)

Revision history for this message
Stefan Bader (smb) wrote :

In the case of "just" a link staying active, the problem might be simpler
to "solve": with a good BIOS there would be an option to enable or disable
wake on lan. Though most newer devices seem to come with terribly crippled
versions. So another option is to use "sudo ethtool -s eth0 wol d" to
disable it before shutdown. Should be sort of simple to automate that if
successful.
Other parts of the hardware might be left powered on without knowledge of
the chipsets which is likely NDA.

Revision history for this message
dusanmal (dusanmal) wrote :

Problem exists on Toshiba Satellite 5105-S607 under Karmic Koala 9.10. On dual boot system and brand new battery Windows side shuts down properly and there is no measurable battery drain when machine is OFF for a week. Shutdown (to OFF not hibernation) from Linux side drains battery completely in approximately 3 days.
As for "BIOS solution" this particular model (and many similar) do not allow user BIOS meddling. All what one can do is pick up boot device, no other settings are manageable.
I think that this type of problem should be fixed in kernel.

Revision history for this message
coldReactive (coldreactive) wrote :

Also, for those having this issue, do you have SSDs in your netbook/laptop?

If so, then it's your problem. SSDs still take power when the computer is off.

Revision history for this message
RivalComp (rival) wrote :

I'm not using SSD. I bet any of us with this problem doesn't use SSD. My Toshiba Portege R100 is an old Pentium M 1GHz with IDE interface. As you could read before: my Ethernet link is active (connectivity LED is lit). I don't know what other components might be active...

Revision history for this message
John Logan (john-loganfamily) wrote :

I am using ubuntu 9.10 on kernel 2.6.31-20-generic on a toshiba nb200-10g and can confirm a discharge overnight of around 10%.

Revision history for this message
Samuli Seppänen (samuli-seppanen) wrote :

I've experienced this exact same problem on Ubuntu 9.04 and 9.10 running on the first version of Macbook (1,1). I finally did some testing to get real test results. The battery is roughly 50% of the original capacity to start with:

design capacity: 50200 mWh
last full capacity: 27090 mWh

This problem is caused by the "platform" (ACPI) poweroff mode used (by default) during hibernation. Switching to "shutdown" mode solves the problem:

- in "platform" mode the battery is drained by ~13% in ~12 hours
- in "shutdown" mode the battery is not drained at all in ~12 hours

To fix this issue, I added a new script to /etc/pm/sleep.d and made it executable:

#!/bin/sh

# /etc/pm/sleep.d/51local

case "$1" in
        hibernate|suspend)
                # Switch to "poweroff" mode (instead of "platform")
                #
                # Adapted from
                #
                # https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume
                echo shutdown > /sys/power/disk
                ;;
        thaw|resume)
                # Do nothing
                ;;
        *) exit $NA
                ;;
esac

Revision history for this message
timb_nz (timbnz) wrote :

I'm getting the same problem on my laptop when I tell it to shut down.
Not quite 10% discharge overnight, but it's losing power overnight
Tooshiba Laptop - new in January.
Ubuntu 9.10

Revision history for this message
Vanzippee (vanzippee) wrote :

May be a related issue on a Toshiba U300 is went into hibernate unplugged. When it was woke up the battery was about 10%, it was plugged in and it said it was charging. After a couple of minutes it shut down automatically, upon restart the battery was down to under 2%. So after the hibernation it did not start to charge even though it was plugged in and registered it was plugged in. After the restart it charged the battery fine, so it seems like after the hibernation there was a problem with the power management that stopped the battery from getting a charge, after a restart the system was able to correctly operate. Is there some sort of mechanism that prevents overcharging that is mistakenly kicking in?

OS: Ubuntu 9.10 Netbook edition
Computer: Toshiba U300 Satellite

Revision history for this message
John Logan (john-loganfamily) wrote :

i noticed something odd on my toshiba nb200-10g ubuntu lucid kernel 2.6.34-020634rc1-generic. It would seem that far less power is being drained when in hibernate compared to a shutdown.

Revision history for this message
jake (jake-12357) wrote :

The same bug also affect me with a laptop HP G62-120 EL with ubuntu lucid 64bit
after the shutdown during the night the battery go from 100% to about 80%, in windows the battery remain 100%

Revision history for this message
Sheldon T. Hall (shel-artell) wrote :

I have had this problem on my Toshiba Portege R-100 with both Ubuntu 9.04 and Puppy Linux 4.3.1, but not under Windows XP. The machine is currently running Puppy Linux 4.3.1 (a derivative of the Debian/Ubuntu core).

Based on some comments above, I did a little testing and I found that the machine's Ethernet port was powered up even when the machine had been shut down by the Linux shutdown procedure. The R-100 uses an Intel Ethernet card, and Linux uses the "e100" LKM for this card.

Unloading the e100 module (with modprobe -r) before shutting down reduces the battery drain from 2% per hour to 0.2% per hour when the machine is off.

-Shel

Revision history for this message
Johannes Mockenhaupt (mockenh-deactivatedaccount) wrote :

Sheldon, that's quite interesting. I did the same test with a Thinkpad X300 which uses the e1000e module for ethernet. Instead of draining the battery about 80% in 3 days, the battery lost only 3%. Finally, a solution - at least for me, hopefully this will be helpful to others too.

Revision history for this message
David Tarrant (dtarrant) wrote :

Hi folks,

I had this problem on my new Toshiba NB200-10G; BIOS v1.2; Ubuntu 9.10 NBR (dual booted with XP)

When I disabled Sleep&Charge from BIOS Setup, the setting would always revert to enabled.

I then found a tip on an OpenSolaris thread which recommended using the Toshiba Sleep&Charge utility from within XP. This utility appears to control Sleep&Charge for both mains and battery situations, ie more elaborate that BIOS setup options. So I disabled Sleep&Charge using the Toshiba utility and my battery drain problem is now solved.

Unfortunately there seems to be no Linux version of the Toshiba utility.

I hope my experience may help someone else.

tags: added: cherry-pick
Revision history for this message
Sheldon T. Hall (shel-artell) wrote :

Some additional information that might help ...

On the above-mentioned Toshiba Portege R100, under Puppy Linux 4.3.1 (a Debian/Ubuntu derivative), using the e100 driver module for its Intel Ethernet card...

1. The Linux program "ethtool" reports that Wake-On-Lan ("WOL") is active on the Ethernet card, even when the machine's BIOS reports that WOL is disabled.

2. Unloading the e100 driver module when the machine is in use, but not using wired Ethernet, results in a small, but noticeable, improvement in battery life.

If I can do anything (besides root from the sidelines) to help resolve this issue, holler.

-Shel

Revision history for this message
Sheldon T. Hall (shel-artell) wrote :

Bah, I should have added ...

This is with the 2.26.30.5 kernel.

Looking at the e100 modules with "strings" shows something that looks like a version number ...

version=3.5.24-k2-NAPI

-Shel

Revision history for this message
lophiomys (lophiomys) wrote :

Same on a Thinkpad T42p. Battery is drained after shutdown in Kubuntu Lucid Lynx 10.04 all updates.

hal@T42pUXGA:~$ uname -a
Linux T42pUXGA 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux

Revision history for this message
Allen Choong (allen-choong) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Reclosing per Stefan's thoughts on this issue. If you are experiencing a similar issue, please file a new bug with 'ubuntu-bug linux so that we can get clear environment information for your particular hardware.

~JFo

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
John Logan (john-loganfamily) wrote :

I had a similar issue on a Toshiba NB200-10G. I traced it to the built in network port. If I disabled the LAN port and just used the WIFI then no battery drain issue occurred overnight.

Changed in linux:
importance: Unknown → High
Revision history for this message
David Tarrant (dtarrant) wrote :

I am keen to learn if this problem was ever resolved in later kernels. The reason is that I would like to wipe winXP from my netbook, but I am concerned the battery drain problem may return.

I quote from my previous post of 2010-06-02:

"I had this problem on my new Toshiba NB200-10G; BIOS v1.2; Ubuntu 9.10 NBR (dual booted with XP)

When I disabled Sleep&Charge from BIOS Setup, the setting would always revert to enabled.

I then found a tip on an OpenSolaris thread which recommended using the Toshiba Sleep&Charge utility from within XP. This utility appears to control Sleep&Charge for both mains and battery situations, ie more elaborate that BIOS setup options. So I disabled Sleep&Charge using the Toshiba utility and my battery drain problem is now solved.

Unfortunately there seems to be no Linux version of the Toshiba utility."

This workaround using XP to access the Toshiba Sleep&Charge utility was persistent. Once Sleep&Charge was disabled, it stayed disabled and I've never needed to use XP subsequently.

I've since upgraded to Ubuntu 10.04 LTS Netbook Remix and this setup performs impeccably.

However XP still occupies a large fraction of my disk and it would be nice to eliminate it, but I am concerned that I would then have no access to the Toshiba Sleep&Charge utility and that if Sleep&Charge somehow became enabled again, the battery drain problem might re-appear.

If this happened, I'd be stuck with no way to disable Sleep&Charge again as I'd be unable to use the Toshiba Sleep&Charge utility which can only be accessed from XP.

Sorry, if this is long-winded, but I am trying to be clear.

It would be music to my ears if any gurus could confirm that the kernel has been fixed and that there are no problems with Ubuntu 12.04 LTS.

David

Revision history for this message
Sheldon T. Hall (shel-artell) wrote :

David Tarrant wrote, inter alia...

> I am keen to learn if this problem was ever resolved in later kernels.
> The reason is that I would like to wipe winXP from my
> netbook, but I am concerned the battery drain problem may return.
>
> I quote from my previous post of 2010-06-02:
>
> "I had this problem on my new Toshiba NB200-10G; BIOS v1.2;
> Ubuntu 9.10 NBR (dual booted with XP)
[snippage]

I found that unloading the appropriate driver on my Toshiba R-100 (Puppy Linux 4.2) cured the problem.

So, I had little scripts that, for example, unloaded the Ethernet driver when I connected via WiFi, as part of going into suspend mode (and reloaded it when emerging from sleep mode), and as part of shutting down.

This solved it for me, and, since I'm still running the same 2006-era kernel, I don't know if it's been fixed at the system level in later versions.

-Shel

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.