I have to agree with most commenters there - since AMD decided to remove S3 the suspend performance on my AMD framework 13 laptop is just … bad … it loses 3% of its battery per hour (amd-s2idle isn’t flagging any issues).
Considering that I’m on a 55Wh battery, which already degraded over years to 80%, and I keep my battery charged up to 80% to extends its life, it means a “fully” charged laptop doesn’t survive staying suspended even a day.
All the while, my M4 Pro can stay suspended for weeks in a row without losing much battery. I’ve been using hibernate to counter that, but it just meant I’m picking up the framework laptop a lot less, as it takes at least a minute to boot it back up (and kernel regressions have made resume from hibernate a lottery game of “will it boot or freeze” requiring a hard shut down).
Wondering if there are any plans from AMD or Framework to either resurrect S3 or somehow fix S0idle so that it’s actually usable?
I think one of the causes of problems with S2IDLE is that it causes problems unless all attached devices support it. They also have to support it without any bugs.
Combine with this the fact that users are going to want workarounds if devices have bugs, but the FW13/16 don’t have workarounds. E.g. you cannot force power off on a particular usb port, if you know that device stays awake during suspend, but you don’t want it to stay awake.
At least on the 13 it should be at least kind of possible. the fancy power muxes there should be able to turn off power to the port but they are behind the pd controller so we can’t really touch them.
I think one of the causes of problems with S2IDLE is that it causes problems unless all attached devices support it. They also have to support it without any bugs.
Agreed, that’s why I’ve moved to all usb-c ports (which kind of defeats the purpose, but oh well..), so that they’re pass through, and there’s nothing connected to them when the device is suspended. The other factors that remain are:
Wifi card
RAM
SSD
Before I upgraded to 7840u, my 11th gen FW13 could last suspended in S3 for days in a row (it was never amazing, but not this bad…)
I mentioned in the post that amd_s2idle isn’t flagging anything and 99% of time is spent in the right state according to it. Are you on a 7040 system and getting 0.5% per hour ?
Yes, the Sodimm ddr5 memory is pretty power hungry and I have 96gb ram, however it wasn’t much better when I had only one stick with 48gb ram, the Intel 11th gen motherboard had ddr4 32gb and would last a lot longer with s3.
I suspect it’s a combination of ram and ssd that isn’t put in a proper sleep state. Additionally the 3% is a relative measure, my battery has degraded from 55Wh to 42Wh or so, so my drop of 3% is equivalent to someone losing 2% on a fresh 61Wh battery.
It’s worth noting that my main complaint isn’t about wanting to get 2days worth of idle time instead of a day - it’s wanting two weeks and more, full knowing that it’s not feasible with the current AMD gen of hardware.
I enabled powerprofilesctl power-saver mode last night before going to sleep and put my laptop to suspend. In the morning, I found only 5% was lost (~3Wh) (usually it was about 10% as per my last message), so it’s close to 0.5-0.6%/h.
Of course, I have 61Wh battery (linux reports 63) and if you have 80% on your 55, that’s 44Wh. Percentages will be higher, for comparison, we should use Wh.
Will have to play around with that more to be more certain, it’s just so slow since you can test once per day. 7640u. 32Gb of 4800Mhz RAM.