5 ms·
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
by oliv3r 5y ago
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 https://bugzilla.kernel.org/show_bug.cgi?id=199689
[1] https://www.dell.com/community/XPS/XPS-13-9370-battery-drain-in-sleep-mode/td-p/6098095 https://www.dell.com/community/XPS/XPS-13-9370-battery-drain...
[2] https://www.reddit.com/r/Dell/comments/8b6eci/xp_13_9370_battery_drain_while_suspended/ https://www.reddit.com/r/Dell/comments/8b6eci/xp_13_9370_bat...
- MertsA 5y agoDell 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.
- broknbottle 5y agoS3 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-linux https://01.org/blogs/qwang59/2018/how-achieve-s0ix-states-li... https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues https://01.org/blogs/rzhang/2015/best-practice-debug-linux-s...