What sleep modes are supported by framework 13 with Ryzen 300 series CPU?

Hello,

I would like to find out what suspend modes (s2idle,shallow, deep, hibernate) are available on Framework 13 laptop with Ryzen 300 series CPU?

My laptop does go to sleep using, it appears, s2idle so there is no problem there. What I want to find out whether more power efficient modes are supported and if so whether there are some guides on configuring them.

I am using Fedora 42. The current kernel is 6.15.8-200. Bios is 03.04. Framework laptop AMD Ryzen AI 300 Series

Thanks

It’s likely that’s not merely s2idle but instead suspend-to-RAM aka deep sleep.

Did you configure a swap partition bigger than your installed RAM? If you did, you should be able to use Suspend-to-RAM (aka deep) and Hibernate. If you don’t have swap space to store the RAM contents when powered down, you won’t have Hibernate.

You’ve said Fedora, so I assume Gnome which I don’t know about the location in the Settings to prefer Suspend-to-RAM or Hibernate.

K3n.

s2idle is the correct and most efficient mode for runtime suspend. If you are concerned on high power consumption you can install amd-debug-tools from pypi and it well check a bunch of things for you.

Also double check framework documentation on what cards to use in what slots to make sure you don’t shoot yourself in the foot.

Lastly if you want even lower consumption in exchange for longer startupb latency you can use hibernate or even suspend then hibernate. There is nothing Framework specific about this. Fedora documentation or an LLM can help you set it up.

I was under impression that suspend-to-RAM does not requires swap. So to clarify – am I wrong, does suspend-to-RAM require swap? If so, does it have to be a swap partition or can it be a swap file?

(If relevant, my /sys/power/mem_sleep has only one entry, [s2idle].)

You aren’t wrong, Suspend-to-RAM does not need swap. I think the logic of my words says ‘if no swap, you only get Suspend-to-RAM’.

(And thanks to Mario for his efforts optimising power use on AMD, I now understand better about s2idle and I’m less likely to curse Modern Standby as a blight on laptop batteries.)

K3n.

Sure! And you can still curse it on Windows. It’s too fragile there and that’s why it gets such a bad rap! :angry:

At least we got it solid on Linux now.

1 Like

Just to clarify:

It’s normal that my /system/power/mem_sleep has only one entry, [s2idle], but that is good enough and it’s gives me the best power savings short of configuring hibernation. Is this correct?

And thanks for your work.

Correct!

One more question: I just checked the sleep mode and the laptop did sleep but it was using almost 4%/hour. Is this normal or are there some configuration steps that could reduce sleep power consumption?

For reference, I have usb-c modules in all expansion slots.

I think that sounds high. I would check whether it woke up during that cycle at all. You can run the script for hours at a time, and it should only wake up once from single event typically. You could also try turning off internal things using USB (like webcam or BT controller) to see if that influences.