We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems kernel 5.3 changed the default for s2ram to be s2idle, which drains the battery.
To recover the past behaviour, it seems suspend should do
printf deep > /sys/power/mem_sleep
right before it does
printf mem >/sys/power/state
See: https://www.reddit.com/r/voidlinux/comments/drm4nj/severe_battery_drain_in_sleep/ and https://www.kernel.org/doc/html/v5.3/admin-guide/pm/sleep-states.html#basic-sysfs-interfaces-for-system-suspend-and-hibernation
The text was updated successfully, but these errors were encountered:
I think this is not the right diagnosis, I have machines with 5.3.4 which default to [deep].
[deep]
However, it seems to be a Dell XPS issue, e.g. https://bugzilla.kernel.org/show_bug.cgi?id=199689 orhttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/1808957
Sorry, something went wrong.
Recommended fix on these machines is to boot with mem_sleep_default=deep.
mem_sleep_default=deep
Thanks a bunch! Fixed this issue on my early 2020 HP EliteBook x360 1030
No branches or pull requests
It seems kernel 5.3 changed the default for s2ram to be s2idle, which drains the battery.
To recover the past behaviour, it seems suspend should do
right before it does
See: https://www.reddit.com/r/voidlinux/comments/drm4nj/severe_battery_drain_in_sleep/
and
https://www.kernel.org/doc/html/v5.3/admin-guide/pm/sleep-states.html#basic-sysfs-interfaces-for-system-suspend-and-hibernation
The text was updated successfully, but these errors were encountered: