You are not logged in.

#1 2025-03-21 09:33:27

Orcam
Member
Registered: 2022-05-20
Posts: 2

Trying to get s2idle working due to high idle battery drain T14 Gen 2

I'm struggling to fix the issues with s2idle here. I managed to run amd_s2idle.py in order to debug the idle issues I have been facing but I am unsure how to proceed. This is the output of the script.

? LENOVO (ThinkPad T14 Gen 2a)
? Arch Linux
? Kernel 6.13.7-arch1-1
? Battery BAT0 (SMP 5B10W13906) is operating at 106.40% of design
Checking prerequisites for s2idle
✅ Logs are provided via systemd
✅ AMD Ryzen 7 PRO 5850U with Radeon Graphics (family 19 model 50)
✅ ASPM policy set to 'default'
✅ SMT enabled
✅ LPS0 _DSM enabled
❌ ACPI FADT doesn't support Low-power S0 idle
❌ PMC driver `amd_pmc` did not bind to any ACPI device
❌ USB3 controller for 0000:06:00.0 not using `xhci_hcd` driver
✅ WLAN driver `rtw89_8852ae` bound to 0000:03:00.0
✅ GPU driver `amdgpu` bound to 0000:07:00.0
❌ System isn't configured for s2idle in firmware setup
✅ GPIO driver `pinctrl_amd` available

How should I go about fixing these issues? I can't seem to find much about this online?

Your system does not meet s2idle prerequisites!
Explanations for your system
? The kernel didn't emit a message that low power idle was supported
        Low power idle is a bit documented in the FADT to indicate that
        low power idle is supported.
        Only newer kernels support emitting this message, so if you run on
        an older kernel you may get a false negative.
        When launched as root this script will try to directly introspect the
        ACPI tables to confirm this.
? AMD-PMC driver is missing
        The amd-pmc driver is required for the kernel to instruct the
        soc to enter the hardware sleep state.
        Be sure that you have enabled CONFIG_AMD_PMC in your kernel.

        If CONFIG_AMD_PMC is enabled but the amd-pmc driver isn't loading
        then you may have found a bug and should report it.
? xhci_hcd driver is missing
        The xhci_hcd driver is required for the USB3 controllers included
        with the SOC to enter the proper power states.
        Be sure that you have enabled CONFIG_XHCI_PCI in your kernel.

? 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.

Offline

#2 2025-03-21 15:48:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,720

Re: Trying to get s2idle working due to high idle battery drain T14 Gen 2

I'm struggling to fix the issues with s2idle here.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855 - also see https://en.wikipedia.org/wiki/XY_problem and http://www.catb.org/~esr/faqs/smart-questions.html


cat /sys/power/mem_sleep

but primarily elaborate on what's not working how.

Offline

Board footer

Powered by FluxBB