ThinkPad T14 AMD Gen5: Battery drain during sleep on Fedora 40 (original) (raw)

September 11, 2024, 7:09pm 1

I bought two new ThinkPads T14 AMD Gen5 for my girlfriend and me for university. My gf uses the KDE Spin and I use the Sway Spin of Fedora 40 and we both have the issue that if we just close the laptop and put it to sleep the battery is drained to 0% the next morning.

I tried a couple of things from this forum and other resources, but they did not work and I am mostly confused.

I already figured out that my system is not capable of the normal S3 deep sleep but it supports S4 and S5

❯ sudo dmesg |grep "ACPI: PM: (supports"
[    0.278545] ACPI: PM: (supports S0 S4 S5)
❯ cat /sys/power/mem_sleep
[s2idle]

The following link is the result of running fpaste --sysinfo --printonly|wl-copy

If anyone knows what else I could try please let me know. I told my gf fedora is the best sytem she could possibly have on her laptop before installing it. Now we are shutting down and powering on our computers a few times a day to even get though it on battery .

boredsquirrel (boredsquirrel) September 11, 2024, 7:17pm 2

Yes, I lose about 20% battery over like 3-4h of sleeping.

This is a weak point in Fedora Linux, finding a solution would be great.

renekuhn (René Kuhn) September 11, 2024, 7:27pm 3

Do you think other non Fedora based Distros do not have this Problem to this extent ?
I wasn’t sure if it’s a Linux or a Fedora Problem. If its better on something else I will migrate my girlfriend’s Laptop to whatever is better for now.

Who is working in this Area in the Fedora Project?

mattdm (Matthew Miller) September 11, 2024, 7:43pm 4

@mpearson might have some thoughts.

bovender (Daniel Kraus) September 11, 2024, 7:45pm 5

I have no issues with battery drain during sleep/suspend on my P14s Gen 5 with F40 KDE (Intel CPU + Nvidia GPU). Unfortunately, I can’t really provide useful tips how to make it work for you – just wanted to let you know that it “should” be fine. Could it be that it is something specific to AMD? And I guess you have double- and triple checked that the laptops really go to sleep when the lid is closed, i.e. the LED in the Thinkpad logo is pulsating slowly?

mpearson (Mark Pearson) September 11, 2024, 9:24pm 6

Two things:

If neither of the above work - try running the AMD sleep test tool ( AMD s2idle tester) and share the results.

Mark

renekuhn (René Kuhn) September 12, 2024, 8:22am 7

thank you @mpearson . I disabled the wired Ethernet port and downgraded to kernel 6.9 now . I will report back if the issue is gone

`fpaste --sysinfo-short --printonly |wl-copy`

* OS Release (lsb_release -ds):
     "Fedora Linux 40 (Sway)"
     
* CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
     sed -re 's/^ +//' ):
     12  AMD Ryzen 5 PRO 8540U w/ Radeon 740M Graphics
     
* 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Kernel (uname -r):
     6.9.12-200.fc40.x86_64
     
* Kernel cmdline (cat /proc/cmdline):
     BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.9.12-200.fc40.x86_64 root=UUID=3fd03487-4cc0-4edd-958d-34348f8a8eff ro rootflags=subvol=root rd.luks.uuid=luks-638f89a2-ecff-4bd1-a385-23f570017500 rhgb quiet
     
* Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon|lxdm-session|awesome|phosh|sway|Hyperland)' ):
     sway
     swaybg
     swayidle
     swaymsg
     
* Desktop(s) Installed (ls -m /usr/share/{xsessions,wayland-sessions}/ | sed 's/\.desktop//g' ):
     /usr/share/wayland-sessions/:
     plasma, sway
     
     /usr/share/xsessions/:
     
* Session Type (env | grep 'XDG_SESSION_TYPE' | sed 's/.*=//' ):
     wayland
     
* Memory usage (free -hm):
                    total        used        free      shared  buff/cache   available
     Mem:            14Gi       1.4Gi        12Gi        15Mi       1.2Gi        12Gi
     Swap:          8.0Gi          0B       8.0Gi
     
* ZRAM usage (zramctl --output-all):
     NAME       DISKSIZE DATA COMPR ALGORITHM STREAMS ZERO-PAGES TOTAL MEM-LIMIT MEM-USED MIGRATED MOUNTPOINT
     /dev/zram0       8G   4K   80B lzo-rle        12          0   12K        0B      12K       0B [SWAP]
     
* block devices (lsblk -o NAME,FSTYPE,SIZE,FSUSE%,MOUNTPOINT,UUID,MIN-IO,SCHED,DISC-GRAN,MODEL):
     NAME                                          FSTYPE        SIZE FSUSE% MOUNTPOINT UUID                                 MIN-IO SCHED DISC-GRAN MODEL
     zram0                                                         8G        [SWAP]                                            4096              4K 
     nvme0n1                                                   476.9G                                                           512 none       512B WD PC SN740 SDDQNQD-512G-1201
     ├─nvme0n1p1                                   vfat          600M    14% /boot/efi  57D2-1179                               512 none       512B 
     ├─nvme0n1p2                                   ext4            1G    42% /boot      ad61419e-c20b-4166-8bbf-3917b4e06ab9    512 none       512B 
     └─nvme0n1p3                                   crypto_LUKS 475.4G                   638f89a2-ecff-4bd1-a385-23f570017500    512 none       512B 
       └─luks-638f89a2-ecff-4bd1-a385-23f570017500 btrfs       475.3G     2% /home      3fd03487-4cc0-4edd-958d-34348f8a8eff    512            512B 
     
* PCI devices (lspci -nn):
     00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e8] (rev 01)
     00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e9] (rev 01)
     00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea] (rev 01)
     00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea] (rev 01)
     00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ee] (rev 01)
     00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ee] (rev 01)
     00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea] (rev 01)
     00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14ef] (rev 01)
     00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea] (rev 01)
     00:04.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 19h USB4/Thunderbolt PCIe tunnel [1022:14ef] (rev 01)
     00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ea] (rev 01)
     00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
     00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
     00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14eb]
     00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71)
     00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
     00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12f8]
     00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12f9]
     00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12fa]
     00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12fb]
     00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12fc]
     00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12fd]
     00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12fe]
     00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:12ff]
     01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
     02:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN770 / PC SN740 256GB / PC SN560 (DRAM-less) NVMe SSD [15b7:5017] (rev 01)
     c3:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix4 [1002:1901] (rev d1)
     c3:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
     c3:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h (Model 74h) CCP/PSP 3.0 Device [1022:15c7]
     c3:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15bb]
     c3:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15bd]
     c3:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 63)
     c3:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
     c4:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ec]
     c5:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device [1022:14ec]
     c5:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c2]
     c5:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15c3]
     c5:00.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Phoenix USB4/Thunderbolt NHI controller #1 [1022:15c4]
     c5:00.6 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Phoenix USB4/Thunderbolt NHI controller #2 [1022:15c5]
     
* USB devices (lsusb):
     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
     Bus 001 Device 003: ID 27c6:6594 Shenzhen Goodix Technology Co.,Ltd. Goodix USB2.0 MISC
     Bus 001 Device 004: ID 0489:e0fc Foxconn / Hon Hai 
     Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 003 Device 002: ID 04f2:b805 Chicony Electronics Co., Ltd Integrated Camera
     Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     
* PCI Video Card (lspci |  grep -i -E 'vga' | cut -b1-7 | xargs -i lspci -vnnks {} | grep -v "<access denied>"):
     c3:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix4 [1002:1901] (rev d1) (prog-if 00 [VGA controller])
         Subsystem: Lenovo Device [17aa:50ee]
         Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 14
         Memory at 2800000000 (64-bit, prefetchable) [size=256M]
         Memory at 90000000 (64-bit, prefetchable) [size=2M]
         I/O ports at 1000 [size=256]
         Memory at 90500000 (32-bit, non-prefetchable) [size=512K]
         Kernel driver in use: amdgpu
         Kernel modules: amdgpu
     
     
* GL Support (glxinfo -B | grep -E "OpenGL version|OpenGL renderer"):
     OpenGL renderer string: AMD Radeon Graphics (radeonsi, gfx1103_r2, LLVM 18.1.6, DRM 3.57, 6.9.12-200.fc40.x86_64)
     OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.7
     
* PCI Audio devices (lspci |  grep -i -E 'audio' | cut -b1-7 | xargs -i lspci -vnnks {} | grep -v "<access denied>"):
     c3:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
         Subsystem: Lenovo Device [17aa:50ee]
         Flags: bus master, fast devsel, latency 0, IRQ 86, IOMMU group 15
         Memory at 905c8000 (32-bit, non-prefetchable) [size=16K]
         Kernel driver in use: snd_hda_intel
         Kernel modules: snd_hda_intel
     
     c3:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 63)
         Subsystem: Lenovo Device [17aa:50ee]
         Flags: bus master, fast devsel, latency 0, IRQ 85, IOMMU group 19
         Memory at 90580000 (32-bit, non-prefetchable) [size=256K]
         Memory at 2810000000 (64-bit, prefetchable) [size=8M]
         Kernel driver in use: snd_pci_ps
         Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63
     
     c3:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
         Subsystem: Lenovo Device [17aa:50ee]
         Flags: bus master, fast devsel, latency 0, IRQ 87, IOMMU group 20
         Memory at 905c0000 (32-bit, non-prefetchable) [size=32K]
         Kernel driver in use: snd_hda_intel
         Kernel modules: snd_hda_intel
     
     
* Audio devices (cat /proc/asound/cards):
      0 [Generic        ]: HDA-Intel - HD-Audio Generic
                           HD-Audio Generic at 0x905c8000 irq 86
      1 [Generic_1      ]: HDA-Intel - HD-Audio Generic
                           HD-Audio Generic at 0x905c0000 irq 87
      2 [acp63          ]: acp63 - acp63
                           LENOVO-21MDS00D00-ThinkPadT14Gen5
     
* User audio services (systemctl --user --no-pager status wireplumber pipewire* | sed "s/$(hostname)/ahost/"):
     ● wireplumber.service - Multimedia Service Session Manager
          Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
         Drop-In: /usr/lib/systemd/user/service.d
                  └─10-timeout-abort.conf
          Active: active (running) since Thu 2024-09-12 10🔞13 CEST; 18s ago
        Main PID: 1892 (wireplumber)
           Tasks: 6 (limit: 17466)
          Memory: 9.6M (peak: 10.7M)
             CPU: 173ms
          CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
                  └─1892 /usr/bin/wireplumber
     
     Sep 12 10🔞13 ahost systemd[1734]: Started wireplumber.service - Multimedia Service Session Manager.
     Sep 12 10🔞13 ahost wireplumber[1892]: wp-device: SPA handle 'api.alsa.acp.device' could not be loaded; is it installed?
     Sep 12 10🔞13 ahost wireplumber[1892]: s-monitors: Failed to create 'api.alsa.acp.device' device
     Sep 12 10🔞13 ahost wireplumber[1892]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
     Sep 12 10🔞13 ahost wireplumber[1892]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
     
     ● pipewire-pulse.service - PipeWire PulseAudio
          Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: disabled)
         Drop-In: /usr/lib/systemd/user/service.d
                  └─10-timeout-abort.conf
          Active: active (running) since Thu 2024-09-12 10🔞13 CEST; 18s ago
     TriggeredBy: ● pipewire-pulse.socket
        Main PID: 1988 (pipewire-pulse)
           Tasks: 3 (limit: 17466)
          Memory: 2.4M (peak: 2.6M)
             CPU: 25ms
          CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
                  └─1988 /usr/bin/pipewire-pulse
     
     Sep 12 10🔞13 ahost systemd[1734]: Started pipewire-pulse.service - PipeWire PulseAudio.
     
     ● pipewire-pulse.socket - PipeWire PulseAudio
          Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
          Active: active (running) since Thu 2024-09-12 10🔞11 CEST; 19s ago
        Triggers: ● pipewire-pulse.service
          Listen: /run/user/1000/pulse/native (Stream)
          CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket
     
     Sep 12 10🔞11 ahost systemd[1734]: Listening on pipewire-pulse.socket - PipeWire PulseAudio.
     
     ● pipewire.service - PipeWire Multimedia Service
          Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)
         Drop-In: /usr/lib/systemd/user/pipewire.service.d
                  └─00-uresourced.conf
                  /usr/lib/systemd/user/service.d
                  └─10-timeout-abort.conf
          Active: active (running) since Thu 2024-09-12 10🔞13 CEST; 18s ago
     TriggeredBy: ● pipewire.socket
        Main PID: 1890 (pipewire)
           Tasks: 3 (limit: 17466)
          Memory: 5.3M (peak: 5.5M)
             CPU: 49ms
          CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
                  └─1890 /usr/bin/pipewire
     
     Sep 12 10🔞13 ahost systemd[1734]: Started pipewire.service - PipeWire Multimedia Service.
     
     ● pipewire.socket - PipeWire Multimedia System Sockets
          Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
          Active: active (running) since Thu 2024-09-12 10🔞11 CEST; 19s ago
        Triggers: ● pipewire.service
          Listen: /run/user/1000/pipewire-0 (Stream)
                  /run/user/1000/pipewire-0-manager (Stream)
          CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket
     
     Sep 12 10🔞11 ahost systemd[1734]: Listening on pipewire.socket - PipeWire Multimedia System Sockets.
     
* PCI Network devices (lspci |  grep -i -E 'net' | cut -b1-7 | xargs -i lspci -vnnks {} | grep -v "<access denied>"):
     01:00.0 Network controller [0280]: Qualcomm Technologies, Inc WCN785x Wi-Fi 7(802.11be) 320MHz 2x2 [FastConnect 7800] [17cb:1107] (rev 01)
         Subsystem: Lenovo Device [17aa:e0e6]
         Flags: bus master, fast devsel, latency 0, IRQ 105, IOMMU group 12
         Memory at 90600000 (64-bit, non-prefetchable) [size=2M]
         Kernel driver in use: ath12k_pci
         Kernel modules: ath12k
     
     
* Network status (ip -br addr | awk '{print <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mn>1</mn><mi mathvariant="normal">&quot;</mi><mi mathvariant="normal">&quot;</mi></mrow><annotation encoding="application/x-tex">1&quot; &quot; </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6944em;"></span><span class="mord">1&quot;&quot;</span></span></span></span>2}' | column -t):
     lo      UNKNOWN
     wlp1s0  UP

prgaftdrk (Akshay) September 13, 2024, 11:22am 8

Currently having the same issue on my ThinkPad T14 Gen 5 (AMD). Battery takes a dive by 10% under 30-40 minutes of putting the system to sleep. I’ve downgraded the kernel from 6.10 to 6.9, disabled Ethernet in BIOS – still no dice.

s2idle tester report

renekuhn (René Kuhn) September 14, 2024, 9:08am 9

I am in the same situation as @prgaftdrk .

Downgrading to the 6.9 Kernel and disabling Ethernet did not help.

This is the report generated by s2idle tester on my machine

I guess I broke something on my system with my experiments.

This is the report of s2idle tester on my gf’s machine with the newest kernel

The CLI outputs on her machine says

The system hasn't been configured for Modern Standby in BIOS setup
AMD systems must be configured for Modern Standby in BIOS setup
for s2idle to function properly in Linux.
On some OEM systems this is referred to as 'Windows' sleep mode.
If the BIOS is configured for S3 and you manually select s2idle
in /sys/power/mem_sleep, the system will not enter the deepest hardware state.

But I cannot find a seeting like this in BIOS

@mpearson what are some steps that I can take to troubleshoot this futher and learn whats going on here ?

For now I will research why I get the ❌ Failed to suspend error and what I did wrong there…

Do you think I should setup my system from scratch and reinstall a fresh OS ?

marko3209 (Mark Schlegel) September 14, 2024, 9:48am 10

prgaftdrk (Akshay) September 16, 2024, 3:07am 11

@renekuhn For the past few weeks, I’ve been trying out couple of 6.10.x kernels that were in the testing phase but neither one of them helped. Today, I installed the latest v6.10.10-200 kernel (it’s currently in testing) and put my system to sleep for 2-3 hours. When I’d woken up the system, battery didn’t drop a single percent. I’m gonna test it out some more and see if it remains consistent. You might wanna give it a try yourself if you’re interested. Installation is pretty straight forward.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-7a9026ca00

subins2000 (Subin) September 16, 2024, 7:14am 12

I can confirm the same issue on Debian based distros as well. This reddit post had one major tip that helped slow down the battery drain, setting the kernel parameter acpi.ec_no_wakeup=1. I saw that someone sent a patch to Linux Kernel to do the same, [PATCH] ACPI: EC: Use ec_no_wakeup on ThinkPad T14 Gen 5 - Yutaro Ohno

Same discussion in ArchLinux: [SOLVED] Thinkpad T14 Gen 5 AMD consumes too much power in sleep mode / Laptop Issues / Arch Linux Forums

bovender (Daniel Kraus) September 16, 2024, 8:14am 13

FWIW real-life data: I accidentally left my fully (95%) charged, suspended P14s Gen 5 (Intel+Nvidia) in my boss’ office on Friday and recovered it right now – battery charge dropped from 95% to 20% within those ~70 hours.

huscape (hu) September 17, 2024, 6:12am 14

I maybe had a similar problem at the end of the last year( English Community-Lenovo Community ). Thank God I bought my ThinkPad P16s Gen 2 AMD online and was able to return it to the dealer. Lenovo did not provide any useful help to my queries. I then bought a Lenovo ThinkPad T16 Gen 2 with 13th Gen Intel® Core™ i7 and everything worked fine.

mpearson (Mark Pearson) September 17, 2024, 2:23pm 15

FW update, that should fix this issue, has been delayed by a couple of weeks. Expected end of September now.

estonian276 (Estonian) September 17, 2024, 5:53pm 16

Same issue with Intel. Nothing happens when I close the lid and selecting ‘Suspend’ just locks the screen. Tested on Fedora 40 and 41 Beta.

mpearson (Mark Pearson) September 17, 2024, 6:34pm 17

Hi!
That will be a different issue - and we’ve completed certification on that platform (unlike the AMD version) so there’s something else going on.
Rather than add noise to the AMD thread with a bunch of Intel related debug, can you create a new thread please? Or post a ticket on the Lenovo forums (English Community-Lenovo Community).
Note - recommend running the Intel S0ix test tool to check the logs from that: Intel S0ix tester

subins2000 (Subin) September 24, 2024, 12:50pm 18

Hi Mark, I just realized you’re the same person who replied in the kernel mail thread.

if this is an issue in the Lenovo FW I would rather fix it there instead of introducing a quirk into the kernel that might later need to be removed. This platform is getting full Linux support.

Where is the place where firmware (I assume FW is firmware) discussions happen? I would like to monitor the progress and see what else happens there :slight_smile:

Thank you for your work,
Subin

mpearson (Mark Pearson) September 24, 2024, 6:45pm 19

Hmmm - interestingly I don’t have a main public ticket that I’m pointing to for this issue.
It was originally found during our certification process and the internal ticket is LO-3089…but I appreciate that’s not super useful :slight_smile:

I’ve added this forum thread to the internal ticket so I should remember to update here when the FW is released…fingers crossed.
Our forums also have these two threads that are for the issue:
https://forums.lenovo.com/t5/Other-Linux-Discussions/Huge-battery-drain-in-sleep-ThinkPad-P14s-Gen-5-AMD/m-p/5317029
https://forums.lenovo.com/t5/Other-Linux-Discussions/P14s-Gen-5-AMD-Linux-wakes-from-suspend-whenever-the-lid-is-closed/m-p/5325846

subins2000 (Subin) September 25, 2024, 10:32am 20

Thank you so much! Finally I get to talk with the right person :slight_smile: I had contacted Lenovo India support team, they were kind of clueless but I had sent them the link to this thread and other threads complaining as well.

This is the first time I’m exploring sleep state on Linux, and that brought to me S0 Modern Standby vs S3 (https://www.youtube.com/watch?v=OHKKcd3sx2c). I’d like to ask the question: does the hardware of this machine (ThinkPad T14 AMD Gen5) actually still support S3 sleep but it’s just that BIOS has it hidden/deprecated? Would it be technically possible to bring S3 back?

I come from a M1 macbook and the battery saving it has on sleep is just wow, I believe only S3 sleep can come close to that level of battery saving on sleep mode.