Suspend is not deep

Bug #1885085 reported by Frederik Feichtmeier
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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 over heat (!) if you put it into a sleeve or bag while suspended. Which happened 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.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: grub2 (not installed)
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Uname: Linux 5.4.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
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-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Frederik Feichtmeier (feichtmeier) wrote :
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Pianon (alberto-o) wrote :

Same problem (and same solution, working) on my Clevo L141CU with Ubuntu 20.04

Revision history for this message
Alberto Pianon (alberto-o) wrote :

just one footnote, to check I used the command:

sudo journalctl -n 1000 | grep "PM: suspend" | tail -2

otherwise it takes ages to complete

Revision history for this message
fabianbur (fabianbur) wrote :

Same problem and same solution in my ASUS Laptop X513EQ.

Ubuntu 20.04
Kernel: 5.4 - 5.6 - 5.8 - 5.10

affects: grub2 (Ubuntu) → linux (Ubuntu)
Revision history for this message
Bhaskar Chawla (bhaskarchawla90) wrote :

I have the same problem but this solution does not work for me. Suspend remains at [s2idle] even after editing the grub file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.