After a fresh Ubuntu 20.04 installation, the suspend is not "deep" but it is "idle".
Deep is very important, otherwise the laptop/notebook might overheight if you put it into a sleeve or bag while suspended. Which happening to my notebook.
How to reproduce:
1) install Ubuntu 20.04 on a notebook/laptop
2) suspend via lid close or suspend button or gnome shell system menu
3) wake up from suspend and type
sudo journalctl | grep "PM: suspend" | tail -2
4) find the message "PM: suspend entry (s2idle)"
How to fix the issue:
1) sudo nano /etc/default/grub
2) Replace the line
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
with
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep"
3) recreate grub with
sudo grub-mkconfig -o /boot/grub/grub.cfg
4) reboot
5) suspend via lid close or suspend button or gnome shell system menu
6) wake up from suspend and run
sudo journalctl | grep "PM: suspend" | tail -2
7) find the message "PM: suspend entry (deep)"
This fixes your suspend and makes your laptop go into deep sleep, which greatly increases suspended battery uptime and greatly decreases the heat the notebook creates.
After a fresh Ubuntu 20.04 installation, the suspend is not "deep" but it is "idle".
Deep is very important, otherwise the laptop/notebook might overheight if you put it into a sleeve or bag while suspended. Which happening to my notebook.
How to reproduce:
1) install Ubuntu 20.04 on a notebook/laptop
2) suspend via lid close or suspend button or gnome shell system menu
3) wake up from suspend and type
sudo journalctl | grep "PM: suspend" | tail -2
4) find the message "PM: suspend entry (s2idle)"
How to fix the issue:
1) sudo nano /etc/default/grub LINUX_DEFAULT= "quiet splash" LINUX_DEFAULT= "quiet splash mem_sleep_ default= deep"
2) Replace the line
GRUB_CMDLINE_
with
GRUB_CMDLINE_
3) recreate grub with
sudo grub-mkconfig -o /boot/grub/grub.cfg
4) reboot
5) suspend via lid close or suspend button or gnome shell system menu
6) wake up from suspend and run
sudo journalctl | grep "PM: suspend" | tail -2
7) find the message "PM: suspend entry (deep)"
This fixes your suspend and makes your laptop go into deep sleep, which greatly increases suspended battery uptime and greatly decreases the heat the notebook creates.
ProblemType: Bug ature: Ubuntu 5.4.0-37.41-generic 5.4.41 esult: skip 256color DIR=<set>
DistroRelease: Ubuntu 20.04
Package: grub2 (not installed)
ProcVersionSign
Uname: Linux 5.4.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 25 09:14:57 2020
InstallationDate: Installed on 2020-06-23 (1 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)