Battery discharge during hibernation

View: New views
17 Messages — Rating Filter:   Alert me  

Battery discharge during hibernation

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, all,

I have a ThinkPad T400 and I am using pm-hibernate with the script for
stopping one of the CPU cores.

Last night I hibernated my computer and the batter was 82% charged. I
plugged out the AC. Today when I turned it on again it was 75% charged.
And that is not the first time I face this issue.

Is it possible during hibernation the battery to be discharged? Does
anyone have the same issue?

Best regards,
Anton Katsarov


signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Micha Feigin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 09 Mar 2009 18:43:57 +0200
Anton Katsarov <anton@...> wrote:

> Hi, all,
>
> I have a ThinkPad T400 and I am using pm-hibernate with the script for
> stopping one of the CPU cores.
>
> Last night I hibernated my computer and the batter was 82% charged. I
> plugged out the AC. Today when I turned it on again it was 75% charged.
> And that is not the first time I face this issue.
>

If it's hibernation and not suspend to ram then the battery does not discharge.
But, waking up takes quite a bit of battery and it's also a question of when
you unpluged your battery. Battery charge is also not exact and heat/load can
affect measurements. On my mp it can turn on at 12% and after 5 minutes it goes
up to 70%

> Is it possible during hibernation the battery to be discharged? Does
> anyone have the same issue?
>
> Best regards,
> Anton Katsarov
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Battery discharge during hibernation

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В 22:57 +0200 на 09.03.2009 (пн), Micha Feigin написа:

> If it's hibernation and not suspend to ram then the battery does not discharge.

It is hibernation. I run pm-hibernate

> But, waking up takes quite a bit of battery and it's also a question of when
> you unpluged your battery.

During waking up it was on AC so it shouldn't discharge.

>  Battery charge is also not exact and heat/load can
> affect measurements. On my mp it can turn on at 12% and after 5 minutes it goes
> up to 70%

I've tested it with halt and when halting there is no change in the
battery charge. Only when hibernating.

--
Антон Кацаров
anton@...
http://www.katsarov.org/
Ако не отговарям на писмата Ви: http://6lyokavitza.org/mail


signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Michael Karcher-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Montag, den 09.03.2009, 23:22 +0200 schrieb Anton Katsarov:
> >  Battery charge is also not exact and heat/load can
> > affect measurements. On my mp it can turn on at 12% and after 5 minutes it goes
> > up to 70%
> I've tested it with halt and when halting there is no change in the
> battery charge. Only when hibernating.
Is Wake-On-LAN only active with hibernate, and not with soft-off?

Regards,
  Michael Karcher


signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В 22:55 +0100 на 09.03.2009 (пн), Michael Karcher написа:
> Is Wake-On-LAN only active with hibernate, and not with soft-off?

How can I check that? The Wale-On-LAN option in the BIOS is Disabled.



signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Damien Challet-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 10 March 2009 11.19:00 Anton Katsarov wrote:
> В 22:55 +0100 на 09.03.2009 (пн), Michael Karcher написа:
> > Is Wake-On-LAN only active with hibernate, and not with soft-off?
>
> How can I check that? The Wale-On-LAN option in the BIOS is Disabled.

ethtool eth0


--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

[OT] Re: Battery discharge during hibernation

by Yves-Alexis Perez-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mar, 2009-03-10 at 12:19 +0200, Anton Katsarov wrote:
> How can I check that? The Wale-On-LAN option in the BIOS is Disabled.

If you have a wale in your LAN that's why you lose some power. Wales can
be really hungry, even when sleeping.

Cheers,
--
Yves-Alexis

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [OT] Re: Battery discharge during hibernation

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В 11:40 +0100 на 10.03.2009 (вт), Yves-Alexis Perez написа:
> ou have a wale in your LAN that's why you lose some power. Wales can
> be really hungry, even when sleeping.

I forgot to notice that the Network cable was plugged off and computer
in the bag :-)


signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В 11:36 +0100 на 10.03.2009 (вт), Damien Challet написа:
> ethtool eth0

I just did:

sudo  ethtool -s eth0 wol d

and here is the output of ethtool eth0:

Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 2
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbag
        Wake-on: d
        Current message level: 0x00000001 (1)
        Link detected: yes




signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Holger Levsen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Dienstag, 10. März 2009, Anton Katsarov wrote:
> I just did:
>
> sudo  ethtool -s eth0 wol d
>
> and here is the output of ethtool eth0:
[...]

and now do "man ethtool" :-)


regards,
        Holger


signature.asc (196 bytes) Download Attachment

Re: Battery discharge during hibernation

by Micha Feigin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 09 Mar 2009 22:55:47 +0100
Michael Karcher <karcher@...> wrote:

> Am Montag, den 09.03.2009, 23:22 +0200 schrieb Anton Katsarov:
> > >  Battery charge is also not exact and heat/load can
> > > affect measurements. On my mp it can turn on at 12% and after 5 minutes it goes
> > > up to 70%
> > I've tested it with halt and when halting there is no change in the
> > battery charge. Only when hibernating.
> Is Wake-On-LAN only active with hibernate, and not with soft-off?
>
> Regards,
>   Michael Karcher

What hibernation method are you using? It's probably using hibernate mode
(forgot the correct name, mode 4) instead of a full off. Two things you can
test, one is whether there are any lights on and two, try connecting a lan cable and
see if the sync lights turn on differently when off or hibernating)
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: [OT] Re: Battery discharge during hibernation

by Chris Schumann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yves-Alexis Perez wrote:
> On mar, 2009-03-10 at 12:19 +0200, Anton Katsarov wrote:
>> How can I check that? The Wale-On-LAN option in the BIOS is Disabled.
>
> If you have a wale in your LAN that's why you lose some power. Wales can
> be really hungry, even when sleeping.

No silly, those are WHALES.

Wales are the ridges in corduroy...
or a horizontal strengthening timber...
or a painted stripe that simulates a deck...
or a ridge on the side of a ship.

Any of which would be bad in your LAN, but I'm not sure they would drain
energy.

Chris

--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Battery discharge during hibernation

by Bugzilla from tom111@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anton Katsarov wrote:

> Hi, all,
>
> I have a ThinkPad T400 and I am using pm-hibernate with the script for
> stopping one of the CPU cores.
>
> Last night I hibernated my computer and the batter was 82% charged. I
> plugged out the AC. Today when I turned it on again it was 75% charged.
> And that is not the first time I face this issue.
>
> Is it possible during hibernation the battery to be discharged? Does
> anyone have the same issue?
Hi,

I had the same problem and people started to call me a crazy paranoid...
But it was not related to Wake on LAN. On my X61s

echo “shutdown” > /sys/power/disk

solved the problem. You have to repeat this step after every reboot (or
was it after every sleep even.) So you should place a hook in your
hibernate tools and boot process.

Somehow, if this is set to 'platform' I think the RAM will stay on to
make a hybrid sleep mode known from Apple's laptops. The computer does
suspend to RAM and Disk at the same time to come up very fast, but not
crash if running out of battery during sleep.

hope to help
Tom

>
> Best regards,
> Anton Katsarov


--
Thomas Kahle

The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?



signature.asc (268 bytes) Download Attachment

Re: Battery discharge during hibernation

by Micha Feigin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Mar 2009 16:27:21 +0100
Thomas Kahle <tom111@...> wrote:

> Anton Katsarov wrote:
> > Hi, all,
> >
> > I have a ThinkPad T400 and I am using pm-hibernate with the script for
> > stopping one of the CPU cores.
> >
> > Last night I hibernated my computer and the batter was 82% charged. I
> > plugged out the AC. Today when I turned it on again it was 75% charged.
> > And that is not the first time I face this issue.
> >
> > Is it possible during hibernation the battery to be discharged? Does
> > anyone have the same issue?
>
> Hi,
>
> I had the same problem and people started to call me a crazy paranoid...
> But it was not related to Wake on LAN. On my X61s
>
> echo “shutdown” > /sys/power/disk
>
> solved the problem. You have to repeat this step after every reboot (or
> was it after every sleep even.) So you should place a hook in your
> hibernate tools and boot process.
>
> Somehow, if this is set to 'platform' I think the RAM will stay on to
> make a hybrid sleep mode known from Apple's laptops. The computer does
> suspend to RAM and Disk at the same time to come up very fast, but not
> crash if running out of battery during sleep.
>

As far as I understand the documentation platform is acpi s4. s5 is a complete
shutdown without the system knowing that it is going into suspend. s4 is some
bios supported suspend. should probably be nicer on the system on wake up.
Don't know the exact specifics though.

Another thing that may be staying on BTW except the lan is usb power. I have
some bios options regarding usb power when the machine is off, don't remember
the specifics, but maybe you enabled keeping the usb powered up. Try connecting
something that powers from the usb (not sure if an optical mouse is enough or
whether an mp3 that charges from the usb or seemilar junk is needed)

> hope to help
> Tom
>
> >
> > Best regards,
> > Anton Katsarov
>
>
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Battery discharge during hibernation

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В 16:27 +0100 на 10.03.2009 (вт), Thomas Kahle написа:

> Anton Katsarov wrote:
> > Hi, all,
> >
> > I have a ThinkPad T400 and I am using pm-hibernate with the script for
> > stopping one of the CPU cores.
> >
> > Last night I hibernated my computer and the batter was 82% charged. I
> > plugged out the AC. Today when I turned it on again it was 75% charged.
> > And that is not the first time I face this issue.
> >
> > Is it possible during hibernation the battery to be discharged? Does
> > anyone have the same issue?
>
> Hi,
>
> I had the same problem and people started to call me a crazy paranoid...
> But it was not related to Wake on LAN. On my X61s
>
> echo “shutdown” > /sys/power/disk
>
> solved the problem. You have to repeat this step after every reboot (or
> was it after every sleep even.) So you should place a hook in your
> hibernate tools and boot process.
>
> Somehow, if this is set to 'platform' I think the RAM will stay on to
> make a hybrid sleep mode known from Apple's laptops. The computer does
> suspend to RAM and Disk at the same time to come up very fast, but not
> crash if running out of battery during sleep.
>
> hope to help
> Tom
That sound reasonable to me. I'll test it tonight.

Thanks a lot.



signature.asc (204 bytes) Download Attachment

Re: Battery discharge during hibernation

by Henrique de Moraes Holschuh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 10 Mar 2009, Micha Feigin wrote:
> Another thing that may be staying on BTW except the lan is usb power. I have

It will stay on alright if it depends on the OS to be turned off. USB power
management is still struggling to reach mainline, and ACPI power resource
management is downright broken right now (so everything just stays ON).  Not
to mention that nothing turns off PCI devices after they have been turned
on...

--
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
The linux-thinkpad mailing list home page is at:
http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

Re: Battery discharge during hibernation [SOLVED]

by Anton Katsarov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В 16:27 +0100 на 10.03.2009 (вт), Thomas Kahle написа:
> echo “shutdown” > /sys/power/disk

I can confirm this solved the issue.

Thanks again.


signature.asc (204 bytes) Download Attachment