Which Linux distro are you using?
Arch
Which release version?
Updated today
Which kernel are you using?
6.13.5-arch1-1
Which BIOS version are you using?
03.05
Which Framework Laptop 16 model are you using? (AMD Ryzen™ 7040 Series)
AMD Ryzen 7 7840HS w/ Radeon 780M Graphics
Hi,
Lately suspend hasn’t been working properly. Overnight the battery runs very low or completely out. When I open the laptop, it resumes very quickly as if it wasn’t suspended. Look at the logs with journalctl -b | grep -i suspend
I see:
kernel: amd_pmc AMDI0009:00: Last suspend didn't reach deepest state
In /sys/power/mem_sleep
:
[s2idle]
uptime -s
shows the last time I rebooted, not the last time it resumed from suspend.
The kernel message is suspicious but I’m not sure what to do about it.
Triage with amd_s2idle.py - kernel/git/superm1/amd-debug-tools.git - Debug tools for AMD zen systems
Post the report to gist if you don’t have conclusions from script.
If it’s a kernel regression please bisect.
1 Like
It says I have a tainted kernel due to virtualbox-host-modules-arch. Uninstalled and will see if the problem persists.
After reboot I ran the script.
Results
This part is worrisome:
2025-03-08 10:44:42,819 INFO: 🔋 Battery BAT1 lost 3000 µAh (0.06%) [Average rate: 1.06A]
[edit]
2025-03-08 10:44:42,814 DEBUG: evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 0000000055a561af
2025-03-08 10:44:42,814 DEBUG: evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 0000000055a561af
2025-03-08 10:44:42,814 DEBUG: evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 0000000055a561af
2025-03-08 10:44:42,814 DEBUG: evmisc-0132 ev_queue_notify_reques: Dispatching Notify on [UBTC] (Device) Value 0x80 (Status Change) Node 0000000055a561af
Try suspending with nothing plugged into the ports. See if that helps you.
Same result (Average rate: 1.1A). I see only two evmisc-0132 ev_queue_notify_reques
lines now. What do they mean?
I’ll need to see what they’re notifying to tell you what they mean.
Make sure you run a long enough cycle - some of the hardware needs enough time to settle.
I gave it 30 seconds with two runs. The second time did not reach hardware sleep state.
Results
Where is the report that failed to get hardware sleep state? The one you shared seems to have reached it.