News for hackers. Stuff that matters.
Re:Do not leave XPS laptop in any sleep/hibernate/standby mo... by oliv3r on Friday September 24, 2021 @04:41PM (#28647550)
As I understood it, it's an ACPI configuration, more or less 'forced' by Microsoft, to ensure this cool new S0 is the default. See [0] [1] and [2]. The fix/work-around is to tell the kernel to not do that, and just use traditional S3 sleep.

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...

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.