Re:Do not leave XPS laptop in any sleep/hibernate/standby mo...
by broknbottle on Saturday September 25, 2021 @12:58PM
(#28654557)
S3 is no longer available on newer XPS notebooks (e.g. 9310). S0ix works fine with Linux but I've found it typically requires tweaking and testing.
dmesg | grep ACPI | grep supports [ 0.193967] ACPI: (supports S0 S4 S5)
sudo cat /sys/power/mem_sleep [s2idle]
https://01.org/blogs/qwang59/2018/how-achieve-s0ix-states-li...
https://01.org/blogs/rzhang/2015/best-practice-debug-linux-s...
Re:Do not leave XPS laptop in any sleep/hibernate/standby mo...
by MertsA on Saturday September 25, 2021 @04:31AM
(#28651533)
Dell has "fixed" that problem by disabling S3 sleep on certain laptops. Not even kidding, the ACPI tables don't have S3 sleep as an option and it's not even some matter of OSI string trickery either.
Adding `mem_sleep_default=deep` to your kernel cmdline should fix it. Been doing this on my XPS13 for 3 years now and it's fine.
[0] https://bugzilla.kernel.org/show_bug.cgi?id=199689
[1] https://www.dell.com/community/XPS/XPS-13-9370-battery-drain...
[2] https://www.reddit.com/r/Dell/comments/8b6eci/xp_13_9370_bat...