If your laptop has issues with sleep mode, you can try the following solutions by adjusting the GRUB configuration:
These fixes help mitigate issues such as:
✅ Immediate wake-up after suspension.
✅ Excessive battery drain while in sleep mode.
✅ Overheating during suspension.
1. Open GRUB Configuration
Run the command:sudo nano /etc/default/grub |
2. Edit the GRUB Line:
Find the following line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Recommended FIX (Option 1):
Add the parameter inside the quotes, for example:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi.ec_no_wakeup=1" |
Alternative FIX (Option 2):
Add the parameter inside the quotes, for example:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep" |
3. Save and Exit
After making the changes, press `Ctrl + X` to exit, then `Y` to save, and `Enter` to confirm.
If Option 1 does not work for you, you can combine `"mem_sleep_default=deep"` and `"acpi.ec_no_wakeup=1"` and follow the remaining steps. For example:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi.ec_no_wakeup=1 mem_sleep_default=deep" |
4. Update GRUB
Run the command:
sudo update-grub |
5. Reboot
Finally, restart the system with:
sudo reboot |