Run the following command to check the suspend mode:
If the output looks like this:
It means that very inefficient suspend mode is active (drains battery from 100% to 0 in 9 hours).
To enable "deep" mode, edit file /etc/default/grub and append "mem_sleep_default=deep" to GRUB_CMDLINE_LINUX:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet mem_sleep_default=deep"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
Apply changes:
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Restart your laptop and verify changes:
$ cat /sys/power/mem_sleep
s2idle [deep]
No comments:
Post a Comment