Laptop wakes up instantly from sleep

My laptop (Lenovo Yoga 14s APU8) will not stay suspended. Trying to suspend the system makes the screen go dark for about 2 seconds, and then it wakes up right away. This problem has persisted through Fedora 40,41, and 42.

Current System Specs:

myname@fedora:~$ neofetch
            .',;::::;,'.                myname@fedora 
        .';:cccccccccccc:;,.            -------------- 
     .;cccccccccccccccccccccc;.         OS: Fedora Linux 42 (KDE Plasma Desktop Edition) x86_64 
   .:cccccccccccccccccccccccccc:.       Host: 83AA YogaAir 14s APU8 
 .;ccccccccccccc;.:dddl:.;ccccccc;.     Kernel: 6.15.7-200.fc42.x86_64 
.:ccccccccccccc;OWMKOOXMWd;ccccccc:.    Uptime: 10 mins 
.:ccccccccccccc;KMMc;cc;xMMc:ccccccc:.   Packages: 2305 (rpm) 
,cccccccccccccc;MMM.;cc;;WW::cccccccc,   Shell: bash 5.2.37 
:cccccccccccccc;MMM.;cccccccccccccccc:   Resolution: 2944x1840 
:ccccccc;oxOOOo;MMM0OOk.;cccccccccccc:   DE: Plasma 6.4.3 
cccccc:0MMKxdd:;MMMkddc.;cccccccccccc;   WM: kwin 
ccccc:XM0';cccc;MMM.;cccccccccccccccc'   Theme: Breeze [GTK2/3] 
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;    Icons: breeze [GTK2/3] 
ccccc;0MNc.ccc.xMMd:ccccccccccccccc;     Terminal: konsole 
cccccc;dNMWXXXWM0::cccccccccccccc:,      CPU: AMD Ryzen 7 7840S (16) @ 5.134GHz 
cccccccc;.:odl:.;cccccccccccccc:,.       GPU: AMD ATI c3:00.0 Phoenix1 
:cccccccccccccccccccccccccccc:'.         Memory: 4366MiB / 27817MiB 
.:cccccccccccccccccccccc:;,..
 '::cccccccccccccc::;,.                                         
                                                                

I’ve already tried running amd-s2idle test, which showed that the laptop is not reaching hardware sleep. Here’s the report:

How long should suspend cycles last (seconds) (default 10)? 
How long to wait in between suspend cycles (seconds) (default 4)? 
How many suspend cycles to run (default 1)? 
What format to output the report in (html, txt, md, stdout)? 
πŸ’» AMD Ryzen 7 7840S with Radeon 780M Graphics (family 19 model 74)
πŸ’» LENOVO 83AA (YogaAir 14s APU8)
🐧 Fedora Linux 42 (KDE Plasma Desktop Edition)
🐧 Kernel 6.15.7-200.fc42.x86_64
πŸ”‹ Battery BAT0 (SMP L22M4PF7) is operating at 95.86% of design
βœ… ASPM policy set to 'default'
βœ… GPIO driver `pinctrl_amd` available
βœ… PMC driver `amd_pmc` loaded (Program 0 Firmware 76.87.0)
βœ… USB3 driver `xhci_hcd` bound to 0000:c3:00.3, 0000:c3:00.4, 0000:c5:00.3, 0000:c5:00.4
βœ… USB4 driver `thunderbolt` bound to 0000:c5:00.5, 0000:c5:00.6
βœ… System is configured for s2idle
βœ… GPU driver `amdgpu` bound to 0000:c3:00.0
βœ… PC6 and CC6 enabled
βœ… SMT enabled
βœ… ACPI FADT supports Low-power S0 idle
βœ… LPS0 _DSM enabled
βœ… WLAN driver `mt7921e` bound to 0000:01:00.0
πŸ—£ Started at 2025-07-23 20:09:18.604000 (cycle finish expected @ 2025-07-23 20:09:32.743741)
πŸ—£ Results from last s2idle cycle
Summary                        
╒═════════════════════╀════════════╀══════════════════╀═════════════════╀═════════════════╀════════════════════╀════════════╀══════════════════╕
β”‚ Start Time          β”‚ Duration   β”‚ Hardware Sleep   β”‚ Battery Start   β”‚ Battery Delta   β”‚ Battery Ave Rate   β”‚   Wake Pin β”‚ Wake Interrupt   β”‚
β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•ͺ════════════β•ͺ══════════════════β•ͺ═════════════════β•ͺ═════════════════β•ͺ════════════════════β•ͺ════════════β•ͺ══════════════════║
β”‚ 2025-07-23 20:09:18 β”‚ 0:00:04    β”‚ 0.00%            β”‚ 71.68%          β”‚ 0.04%           β”‚ 20.83W             β”‚          8 β”‚                  β”‚
β•˜β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•§β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•›
 Did not reach hardware sleep state
πŸ’€ Notify devices ['NVME'] found during suspend
The system was programmed to sleep for 0:00:10, but woke up prematurely after 0 days 00:00:04. This typically happens when the system was woken up from a non-timer based source. If you didn't intentionally wake it up, then there may be a kernel or firmware bug.

I’ve also tried disabling NVME as a wakeup device (basically running random commands that ChatGPT tells me to), but to no avail.

Any help would be much appreceated.

I am now having the same issue. Did you ever find a solution?

Does this problem occur with S3 suspend (deep sleep) too?

Can be set by adding mem_sleep_default=deep to GRUB_CMDLINE_LINUX_DEFAULT, for example, verify with cat /sys/power/mem_sleep after booting.

s2idle is known to cause issues in some cases.

My solution was to disable the Foolproof Fn Ctrl in the bios.