Last active
January 3, 2024 22:00
-
-
Save afirth/8ab37f9a672e1f57388e189a5b7cf219 to your computer and use it in GitHub Desktop.
ubuntu fix deep sleep (change from s2idle)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check deep is not selected and also available | |
cat /sys/power/mem_sleep | |
# temp set | |
sudo su - | |
root@:~# echo "deep" > /sys/power/mem_sleep | |
exit | |
# test | |
systemctl suspend -i | |
# verify | |
journalctl -g suspend --reverse | |
# permaset in grub | |
sudo su - | |
root@:~# vi /etc/default/grub | |
# edit for GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep" | |
root@:~# exit | |
sudo grub-mkconfig -o /boot/grub/grub.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment