You are not logged in.

#1 2017-10-31 13:47:14

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Extreme battery drain in standby - Lenovo P51

Dear all,

I am struggling with the battery drain of my Lenovo P51 while it is in standby.
I already disabled wake on lan for the ethernet-interface. The wirelesslan interface does not seem to support WOL.
I also disabled wake on thunderbird in bios.
If the notebook is in standby the battery is completely discharged one or two days later.

Do you have any suggestions what I could do against this?

Thanks in advance!

Offline

#2 2017-10-31 14:06:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,360

Re: Extreme battery drain in standby - Lenovo P51

By standby, I assume we are talking about suspend to RAM, or "Sleeping" as opposed to suspend to disk, or "Hibernating".

Two days battery life while suspended to RAM does dot seem all that bad.  Remember, in this state, the processor need to wake up every few milliseconds to perform a refresh cycle.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2017-11-01 18:12:55

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

Thanks ewaller for your response!

Yes, you are right: I ment suspend to RAM, sorry for my inaccurate description.
As far as I know, suspending to RAM only needs the stay under power or am I wrong in this point?
Refresh-cycles should be done by the memory unit itself (?)

Two days battery life is admitted not that wrong, but with a battery life of 7 hours with enabled display, WLAN, etc. this is far about 10% of the usual power consumption.

Offline

#4 2017-11-02 18:18:17

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 75

Re: Extreme battery drain in standby - Lenovo P51

My experiences with various Lenovo Thinkpads (i.e., X200s, X220, X250, T440s) is that ~0.6-1% of battery charge is consumed per hour the laptop is in suspend. Could you report what the % drop per hour is from an overnight (~8 hr) supend cycle is?

Last edited by halocaridina (2017-11-02 18:19:35)


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#5 2017-11-02 18:22:17

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

According to my experience this might be anywhere between 15% and 25% during one night.

This is quite a lot I suppose.

I flashed a bios update today in the morning. If this changes anything concerning this issue, I will let you know it :-)

Offline

#6 2017-11-03 00:32:34

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,104

Re: Extreme battery drain in standby - Lenovo P51

halocaridina wrote:

My experiences with various Lenovo Thinkpads (i.e., X200s, X220, X250, T440s) is that ~0.6-1% of battery charge is consumed per hour the laptop is in suspend. Could you report what the % drop per hour is from an overnight (~8 hr) supend cycle is?

That doesn't make sense. It must depend on the current capacity of the battery, just as the percentage used for any other purpose depends on that capacity. And that will vary wildly depending on the original battery capacity and how much capacity it has lost. (Most dispiritingly, I haven't finished configuring a new Thinkpad and the battery already has a lower capacity than its design.)


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2017-11-03 14:52:51

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 75

Re: Extreme battery drain in standby - Lenovo P51

@Magician Merlin,

A drop of 15-25% overnight is unusually high. One suggestion might be to disable all components in the UEFI (a.k.a. BIOS) under Security -> I/O  Port Access and see if the rate changes. If it does, you should be able to ID the component(s) responsible by enabling each one individually and monitoring the discharge rate in suspend.  Also turn off "Always on USB" (or similarly named option for charging via the special USB port on the machine) in the UEFI to see if that makes a difference. Lastly, disconnect any items connected via USB to see if those might be the source of the battery drain.

@cfr,

What I noted is based on my experience with those four particular machines but could vary depending on the contexts that you noted (though I would say that its a fairly consistent experience across various makes and models of laptops I've had over the years).

Here are some data (my X220 was on AC when the measurements were taken but on battery and in suspend with lid closed during the intervening time (date stamps to the far right in the output)):

 --> % sudo tlp-stat --battery                                                                                                                                                                 [Thu 02 Nov 2017 10:16:04 PM PDT]
--- TLP 1.0 --------------------------------------------

+++ ThinkPad Battery Features
tp-smapi   = active
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer               = LGC
/sys/devices/platform/smapi/BAT0/model                      = 45N1029
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2013-01-22
/sys/devices/platform/smapi/BAT0/first_use_date             = 2017-09-12
/sys/devices/platform/smapi/BAT0/cycle_count                =     10
/sys/devices/platform/smapi/BAT0/temperature                =     27 [°C]
/sys/devices/platform/smapi/BAT0/design_capacity            =  93240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  93230 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  92010 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     99 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time    = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now                  =      0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg                  =      0 [mW]
/sys/devices/platform/smapi/BAT0/state                      = idle

tpacpi-bat.BAT0.startThreshold                              =     45 [%]
tpacpi-bat.BAT0.stopThreshold                               =     80 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   98.7 [%]
Capacity                                                    =  100.0 [%]
 --> % sudo tlp-stat --battery                                                                                                                                                                 [Fri 03 Nov 2017 07:15:34 AM PDT]
--- TLP 1.0 --------------------------------------------

+++ ThinkPad Battery Features
tp-smapi   = active
tpacpi-bat = active

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer               = LGC
/sys/devices/platform/smapi/BAT0/model                      = 45N1029
/sys/devices/platform/smapi/BAT0/manufacture_date           = 2013-01-22
/sys/devices/platform/smapi/BAT0/first_use_date             = 2017-09-12
/sys/devices/platform/smapi/BAT0/cycle_count                =     10
/sys/devices/platform/smapi/BAT0/temperature                =     25 [°C]
/sys/devices/platform/smapi/BAT0/design_capacity            =  93240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity         =  93230 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity         =  85380 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent          =     92 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time    = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now                  =      0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg                  =      0 [mW]
/sys/devices/platform/smapi/BAT0/state                      = idle

tpacpi-bat.BAT0.startThreshold                              =     45 [%]
tpacpi-bat.BAT0.stopThreshold                               =     80 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   91.6 [%]
Capacity                                                    =  100.0 [%]

An ~7% drop in ~9 hrs of being in suspend on battery. Battery is an OEM one from Lenovo that is "old" but "new" (see dates above) that I recently puchased for a good price (note that I charged it past the set stopThreshold of 85% since I was going to be traveling, which is when the machine was in this particular suspend cycle).


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#8 2017-11-03 15:17:51

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

Thanks for your answers!

@halocaridina
I already disabled "always on USB" this had no effect.
I will try your tip with the I/O-Ports when I have some time for that.

I will also have an eye on any changes that may come due to the bios update.

Unfortuanately debugging this issue is quite time-consuming :-(

Offline

#9 2017-11-03 20:03:01

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,786

Re: Extreme battery drain in standby - Lenovo P51

Since debugging this is time-consuming, have you ever considered to hibernate the machine?
I mean... albeit not ideal, suspending it for short periods isn't *that* big deal.

Offline

#10 2017-11-03 20:21:54

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

Since debugging this is time-consuming, have you ever considered to hibernate the machine?

Yes I did :-/ actually I hibernate it currently, when I do not use it for multiple hours. Nevertheless it would be great to be able to suspend it because I do not want to think about how to suspend each time I interrupt my work...

Offline

#11 2017-11-07 18:10:17

DougL
Member
Registered: 2015-12-12
Posts: 3

Re: Extreme battery drain in standby - Lenovo P51

FWIW - I ran a quick check on my P51 with 32 GB RAM and measured a loss of battery power of 7790 mWh over a 13 hr. 50 minute standby. This works out to roughly 560 mWh of drain per hour. Assuming drain stays constant (not sure that's the case as the battery discharges), it should last for 5 days in standby going from a full 90000 mWh charge to 20%.  Capacity dropped from a start at 79% down to 70% (9% change) after almost 14 hours. I used tlp-stat -b to monitor battery condition before and after suspend.

I'm not doing anything special here -- pretty standard Arch install, using the nouveau graphics driver installed per the Wiki.

           ...Doug

Offline

#12 2017-11-07 18:18:12

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

@DougL

thanks for this information!
I do not have any ideas anymore...

I also installed a standard Arch and observed the power-loss of battary from the first day.

I also testet it after the bios update but the battery capacity still drops about 25 within 7 hours. :-(

After these problems i configured tlp a little and deactivated WOL and so on, but this should not make it worse, I think.

I am not sure whether to leave this thread open or to close it desperately...

Offline

#13 2017-11-08 23:37:38

DougL
Member
Registered: 2015-12-12
Posts: 3

Re: Extreme battery drain in standby - Lenovo P51

Obviously something is not shutting down. Which graphics driver are you using? Nouveau seems to work better for me.

Have you installed the intel-ucode package? That could be affecting things. I also have the acpi_call package installed. There is intel firmware too that should be installed with Arch, but you may want to check /usr/lib/firmware/intel and /usr/lib/firmware/i915 to make sure you have the latest versions.

Not sure if it would make a difference in standby, but a package search also showed I've got powerdevil, tlp, and upower installed.  I didn't see anything installed via systemctl at runtime that would impact power use in standby.

I don't think it is an issue with the P51 itself, as my unit isn't dropping power that fast. It might be interesting suspending it from a live-USB to see if there is any difference.

That's about all I can suggest. Good luck!

       ...Doug

Last edited by DougL (2017-11-08 23:38:42)

Offline

#14 2017-11-09 01:51:17

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,104

Re: Extreme battery drain in standby - Lenovo P51

Can we please see some data from *your* machine? What's in the journal? Are you sure that the machine is sleeping through the night? It does go to sleep and it isn't night walking or waking from nightmares? Right now, we don't know anything of what it is doing. For all we know, it could just be something stopping it sleeping in the first place.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#15 2017-11-10 17:35:10

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

@DougL
I currently use the nvidia driver and  have installed intel-ucode. I also intalled acpi_call. The foleders /usr/lib/firware/intel and i915 exist,  too. Powerdevil, tlp and upower are also installed and up to date.

The live-USB-Idea sounds quite good! I will give it a try :-)


@cfr
I think it should be sleeping. At least the indicator-led blinks slowly if i suspend.

Here you can find my output of dmesg:

https://ptpb.pw/mNon

This is another output which contains information about a short sleeping-period:

url: https://ptpb.pw/ZBXs

Is journalctl more useful?

Last edited by Magician Merlin (2017-11-10 17:53:36)

Offline

#16 2017-11-10 23:39:22

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,104

Re: Extreme battery drain in standby - Lenovo P51

Have you checked out this?

[ 1224.871998] ahci 0000:00:17.0: port does not support device sleep

Is journalctl more useful?

I don't say it is more useful, but it is slightly different and makes the timings of things easier to read (for me anyway). Also, it is clearer (again, to me) what is sending which messages.

It would be nice to know if anything is written to the journal while the machine is supposed to be sleeping, for example. Probably not, but why don't you just look?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#17 2017-11-16 08:00:49

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

@DougL: I tried your suggestion to suspend from a live-usb. Unfortunately without success: I suspended from an Xubuntu and the battery again dropped by about 30% within 9 hours.

@cfr: I pasted my journal here:
https://ptpb.pw/Slha
It seems to be quite normal to me, since nothing is written to the journal during the suspending period, but maybe you'll find something conspicuous.

Offline

#18 2017-11-16 17:36:59

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,104

Re: Extreme battery drain in standby - Lenovo P51

Magician Merlin wrote:

@cfr: I pasted my journal here:
https://ptpb.pw/Slha
It seems to be quite normal to me, since nothing is written to the journal during the suspending period, but maybe you'll find something conspicuous.

Well, there are several complaints there. One was also in the dmesg output you posted earlier and mentioned above.

Nov 15 23:41:04 ThinkPad kernel: ahci 0000:00:17.0: port does not support device sleep

Also,

Nov 16 08:35:02 ThinkPad kernel: psmouse serio2: Failed to disable mouse on synaptics-pt/serio0
Nov 15 23:41:04 ThinkPad systemd[1]: Failed to start Lock X session using slock for user sleep.

I'm not sure any of these are related.

Why do you have pstate disabled? That probably doesn't help your overall battery drain, at least while awake. I don't know if it might affect drain while asleep.

You seem to be running a lot of things related to different DEs: lxqt/kde, xfce/gnome etc. Is this expected?

But if it happens with a live distro, too, then I guess it is unlikely to be due to a configuration issue. You could compare the journal in that case and see if e.g. the ahci complaint occurs there, too.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#19 2017-11-18 11:54:39

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

cfr wrote:
Magician Merlin wrote:

@cfr: I pasted my journal here:
https://ptpb.pw/Slha
It seems to be quite normal to me, since nothing is written to the journal during the suspending period, but maybe you'll find something conspicuous.

Well, there are several complaints there. One was also in the dmesg output you posted earlier and mentioned above.

Nov 15 23:41:04 ThinkPad kernel: ahci 0000:00:17.0: port does not support device sleep

Also,

Nov 16 08:35:02 ThinkPad kernel: psmouse serio2: Failed to disable mouse on synaptics-pt/serio0
Nov 15 23:41:04 ThinkPad systemd[1]: Failed to start Lock X session using slock for user sleep.

I'm not sure any of these are related.

Thanks for looking through it!

cfr wrote:

Why do you have pstate disabled? That probably doesn't help your overall battery drain, at least while awake. I don't know if it might affect drain while asleep.

Hm... good question. I do not remember anymore. I will enable it again :-)


cfr wrote:

You seem to be running a lot of things related to different DEs: lxqt/kde, xfce/gnome etc. Is this expected?

LxQt and KDE applications are expected. The others admittedly not really


cfr wrote:

But if it happens with a live distro, too, then I guess it is unlikely to be due to a configuration issue. You could compare the journal in that case and see if e.g. the ahci complaint occurs there, too.

I will do this as soon as I will have time for that.

@DougL:

Do you find such information in your journal, too?
Especially the ahci 0000:00:17.0 and the psmouse serio2 thing?

And another question: Which version of P51 do you have? I have got a P51 with I have an intel core i7 7700HQ and nvidia graphics Quadro M1200.

Offline

#20 2019-01-31 22:46:26

okram
Member
Registered: 2019-01-24
Posts: 2

Re: Extreme battery drain in standby - Lenovo P51

Was this issue ever resolved?

I have had my P51 for almost 2 years. Recently, I had to switch to the proprietary nvidia driver to drive some external monitors over cables that somehow seem to mutilate the monitor's EDID. Since then I have the enormous battery drain when suspending to RAM. For example, from full to 21% remaining over 16 hours suspended to RAM.

Offline

#21 2019-02-01 20:02:34

Magician Merlin
Member
Registered: 2017-05-16
Posts: 21

Re: Extreme battery drain in standby - Lenovo P51

okram wrote:

Was this issue ever resolved?

Unfortunately this issue is still not resolved (at least for me).
As I wrote earlier I use the nvidia driver, too.
I still cannot rally suspend my notebook for a long time without charging.

But thank you for your post! It helps to localize the problem.
It seems to be the nvidia driver...

Offline

Board footer

Powered by FluxBB