Suspend doesn't reach deepest state, battery usage high

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.

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]