Welcome to our peer-to-peer forums, where owners help owners. Need help now? Visit eSupport here.

English Community

Linux Operating SystemsOther Linux Discussions
All Forum Topics
Options

29 Posts

09-08-2020

Germany

29 Signins

180 Page Views

  • Posts: 29
  • Registered: ‎09-08-2020
  • Location: Germany
  • Views: 180
  • Message 1 of 206

T14 AMD battery drain in standby (Linux)

2020-09-08, 9:51 AM

Hi,

 

I'm a recent owner of a T14 (20UES00L00, Ryzen 7 Pro 4750U, 32 GB RAM, 1 TB SSD) that runs 

Fedora 32.

 

I'm mostly satisfied with the Linux experience so far, but there is one issue that is extremely

annoying and spoils all the fun from using this otherwise great machine:

 

During the standby the battery looses roughly 1.5-2.5% of charge per hour. This means that if I put 

the machine into standby in the evening and then wake it up next morning in the office, the battery

load goes from say 92% to 70% or so. With my battery charge thresholds (start at 75%, stop at 92%)

this means that the cycle count of the battery increases rapidly, even though I hardly use the machine

without a charger.

 

I've been using Linux on ThinkPads for almost a decade (Z61m, T60, X200, X201, X230, T460p, X250)

an it's the first time that I'm encountering this sort of behavior.

 

To be more precise, 

 

  • I'm running the kernel 5.8.4-200.fc32.x86_64, but also the more recent 5.9 rc3 

(5.9.0-0.rc3.20200902git9c7d619be5a0.1.fc34) doesn't improve anything in this respect. 

  • I have TLP installed.
  • The standby itself works flawlessly, i.e. there are no issues whatsoever when putting the T14 to sleep and waking it up.
  • The latest BIOS version R1BET36W(1.05) is already installed
  • In BIOS I have Config -> Power -> Sleep = Linux to have the proper S3
  • Furthermore, in BIOS under Security -> I/O Port Access I disabled Smart Card Slot and Fingerprint Reader since I never use them

 

Given that this model is supposed to get a Ubuntu and RHEL certification soon, I really hope that this issue can be fixed

kernel-wise or firmware-wise. If there is something I can try to fix this, I'd be glad to do so.

 

 

 

 

 

Reply
Options

909 Posts

05-14-2020

United States of America

363 Signins

4505 Page Views

  • Posts: 909
  • Registered: ‎05-14-2020
  • Location: United States of America
  • Views: 4505
  • Message 2 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-09, 15:27 PM

Hello,

 

The various Linux flavors have various power management programs available.  Under Fedora and Gnome desktop, the default power management system is upower.  If a user installs additional power management programs such as tlp, then there is confusion, you set tlp for low power mode, but upower is still set for high power usage and it is the default, so the machine continues to use high power status.

 

My advice is to uninstall tlp.  Then study the man pages for upower and UPower. They will reference additional documentation.   (Enter "  man upower  " within a terminal window.  Caps are significant of course.)  To learn even more about power management features within fedora, search the fedora docs here:   https://docs.fedoraproject.org/en-US/docs/

 

If you choose to use tlp, uninstall upower.  You should only have one power management package installed.

 

For me, if I want to be certain the battery will be the same state of charge at re-start, I issue the shutdown command....  I am constantly confused by "suspend"  "hibernate"  "fast boot" and so forth.

 

Sincerely,

Usedtoberich

Reply
Options

29 Posts

09-08-2020

Germany

29 Signins

180 Page Views

  • Posts: 29
  • Registered: ‎09-08-2020
  • Location: Germany
  • Views: 180
  • Message 3 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-09, 16:38 PM

Hi,

 

thanks for your reply, but I'm afraid that it is unrelated to my problem. Over the years I've been using tlp on Fedora 

without fiddling with upower on several machines (X230, T460p, X250, Dell 5480) without experiencing any issues

with the battery drain in standby. T14 is my first ThinkPad that has this sort of problems. 

 

It is understood that the battery will slightly discharge while in standby, but not to -20% withing a night. So I'm still

hoping for a Lenovo tech person ( MarkRHPearson?) to comment on this.

Reply
Options

4 Posts

12-07-2019

Germany

15 Signins

167 Page Views

  • Posts: 4
  • Registered: ‎12-07-2019
  • Location: Germany
  • Views: 167
  • Message 4 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-10, 6:20 AM

@Usedtoberich: Hi, 

 

i have to tell you that you are completely wrong here. upower's homepage says: 

 

UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. 

 

upowerd doesn't touch kernel performance settings and device specific power saving as TLP does. So afaik both tools do not interfere.

 

ps. I'm TLP's author.

--- Open source enthusiast, author of TLP --- https://linrunner.de/tlp
Reply
Options

419 Posts

07-22-2019

Canada

353 Signins

3706 Page Views

  • Posts: 419
  • Registered: ‎07-22-2019
  • Location: Canada
  • Views: 3706
  • Message 5 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-10, 13:26 PM

Hi @srgLoop 

 

I'll look into it. 

 

As you note - we're still doing the HW enablement and Ubuntu cert on the T14 AMD; it hasn't been through e-certification yet either - so it's quite possible there are still pieces in there that aren't right. 

 

On the T14 Intel I know the card reader and touchscreen (if you have that option) are preventing reaching the lower power states and are being worked on - but you've already taken care of the card reader so it's likely not that.

 

Thanks for all the details - very helpful.

 

Thanks

Mark

Reply
Options

29 Posts

09-08-2020

Germany

29 Signins

180 Page Views

  • Posts: 29
  • Registered: ‎09-08-2020
  • Location: Germany
  • Views: 180
  • Message 6 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-10, 18:43 PM

@MarkRHPearson 

 

Many thanks for picking this up.

 

I don't have a touchscreen, but there is actually one detail that I forgot to mention:

 

Since I bought the laptop with educational discount without the SSD (there are such options

in Germany), I equipped it with two NVMe SSDs on my own. These are

  • Samsung SSD 970 EVO Plus 1TB in the main M.2 2280 slot
  • SK Hynix BC501 256 GB in the WWAN Slot

 

I already had the EVO running in my previous machine (Dell Latitude 5480) where it didn't cause

any battery drain. I bought the SK Hynix on eBay shortly after I got the laptop, 

but it actually even has a Lenovo FRU (01LX208) so I'd expect it to work flawlessly.

 

The extra 16 GB RAM module is Crucial 16GB DDR4-3200 Dual Rank (CT16G4SFD832A), just in case it 

is of relevance.

Reply
Options

1 Posts

09-10-2020

United States of America

1 Signins

20 Page Views

  • Posts: 1
  • Registered: ‎09-10-2020
  • Location: United States of America
  • Views: 20
  • Message 7 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-10, 22:22 PM

For what it's worth, I'm seeing the same behavior on Windows 10 (Build 2004). I have the Ryzen 4650U, and it drains about 1.4% per hour while in sleep mode. I was noticing this on S0 sleep mode, as well as when I changed it to S3 sleep mode in the BIOS. I have the same set up as the original poster, Samsung EVO 970 drive, 16GB crucial add-in memory.

Reply
Options

29 Posts

09-08-2020

Germany

29 Signins

180 Page Views

  • Posts: 29
  • Registered: ‎09-08-2020
  • Location: Germany
  • Views: 180
  • Message 8 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-14, 10:00 AM

Nothing has changed after updating the BIOS to version 1.09 (11 Sep 2020).

Also the newer kernel version 5.9.0-0.rc4.5.fc34.x86_64 doesn't bring any improvements.

 

By the way, there is actually another annoying bug regarding the lid sensor:

 

  • When I close the lid nothing happens (despite of the Gnome configuration to suspend on lid close). 
  • However, if open the lid after that, the machine will indeed suspend
  • And if I now close the lid, T14 wakes up from suspend

 

So it seems that the lid sensor readings are misinterpreted by the kernel. Probably also something worth

looking at for the certification.

Reply
Options

909 Posts

05-14-2020

United States of America

363 Signins

4505 Page Views

  • Posts: 909
  • Registered: ‎05-14-2020
  • Location: United States of America
  • Views: 4505
  • Message 9 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-14, 15:46 PM

@linrunner Hi,

 

I have been comparing the web pages for upower and tlp, and found that tlp has lots more capability published to provide command line control of power management features than upower.  Especially in projecting user defined configuration instructions compared to simply reporting what the settings are, which is how my installation of upower and Gnome power manager GUI screens are set up.  

 

My Fedora installation is basically as provided by default within the downloaded installation I made a couple of years ago.   I'd like to explore changing the Gnome Powermanager GUI screen to using tlp commands instead of upower.  What web page / forum should I search to find how to do that?

 

Sincerely,

Usedtoberich

 

 

Reply
Options

29 Posts

09-08-2020

Germany

29 Signins

180 Page Views

  • Posts: 29
  • Registered: ‎09-08-2020
  • Location: Germany
  • Views: 180
  • Message 10 of 206

Re:T14 AMD battery drain in standby (Linux)

2020-09-26, 12:09 PM

So can you guys at Lenovo at least reproduce the issue?

One can also find people on reddit mentioning the battery drain with T14 AMD e.g. here


https://www.reddit.com/r/thinkpad/comments/ixz172/thinkpad_e14_gen2_amd_4700u_linux_works_including/

 

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete

X

No, I don’t want to share ideas Yes, I agree to these terms