You are not logged in.
Hey all,
I have a Lenovo Yoga 7i Gen 9 (14iml9) and I've been trying to activate the S3 sleep mode because the laptop drains fast when in standby (3% every hour instead than 0.3).
It is a very well known problem as the S3 state is not advertised in this laptop and this cannot be changed in the BIOS (https://bbs.archlinux.org/viewtopic.php?id=234913)
~ cat /sys/power/mem_sleep
[s2idle]
ACPI: PM: (supports S0 S4 S5)
I tried to follow the official wiki (https://wiki.archlinux.org/title/Lenovo_Yoga_7i) which is for previous generations of the same model.
After installing the latest version of acpica I disassembled
cat /sys/firmware/acpi/tables/DSDT > dsdt.dat
iasl -d dsdt.dat
This already gave me some warning "There were 211 external control methods found during disassembly, but only 467 were resolved".
I tried to compile previous version of acpica (from 2020) to see if this would resolve the warnings, but couldn't get past some obscure compilation issues so I'm still using the latest acpica.
Then I modified the decompiled dsl file to set
Name (SS3, One)
as explained in the wiki.
I had to comment many lines in the dsl file to compile again because I was getting some compilation errors about the PS0X methods. No idea if that is a problem or not...
After succesfully compiling I copied the aml file to /boot and added an entry to /etc/Grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
acpi /dsdt.aml
then regenerate the grub.cfg file and restarted.
However, when restarting I still see only the S0, S4, S5 states being advertised (without S3). If I try to follow the first steps again it seems that the dump dsdt.dat is still the old version as it has not been affected by my modification.
I'm wondering if my patch is not being correctly applied? Or maybe I'm doing something wrong?
Offline
It's possible the new Intel Core Ultra CPU your device has no longer allows for S3 sleep, but information is scarce. I do know that on Raptor Lake H/HX processors it's still possible depending on your motherboard, so this could be the difference.
I know S3 would be much better—Modern Standby is one of the worst ideas Microsoft has ever had, and I despise it becoming the new standard—but I'd look into figuring out how to get S0ix to drain less power if you can't figure out S3. Among other things, definitely make sure the network adapter and Bluetooth are turning off during standby.
Offline
It's possible the new Intel Core Ultra CPU your device has no longer allows for S3 sleep, but information is scarce. I do know that on Raptor Lake H/HX processors it's still possible depending on your motherboard, so this could be the difference.
I know S3 would be much better—Modern Standby is one of the worst ideas Microsoft has ever had, and I despise it becoming the new standard—but I'd look into figuring out how to get S0ix to drain less power if you can't figure out S3. Among other things, definitely make sure the network adapter and Bluetooth are turning off during standby.
Yep, I think this is the problem.
I eventually got around the issue and managed to at least make the laptop advertise S3 but if I try to activate it then the laptop just freezes when going to sleep and I have to force shut down....
I have the feeling it has something to do with the combination of CPU and GPU used in these new processors.
For the moment I'd strongly advise against buying these laptops to everyone if you're planning to use them with Linux.
Windows seems to work slighlty better with sleep.
Offline