Failure to Suspend With Laptop Lid Closure After Upgrade to 22.04

Bug #1986477 reported by Carl Greco
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Dell XPS-15 9550 Laptop lid closure does not result in transition to Suspend mode following upgrade from 20.04 to 22.04. Screen remains on and hard disk does not spin down. If Suspend is enforced from the Power Off/Log Out option, disk remains on.
Attempted the following:
1. Edit the file /etc/systemd/logind.conf to uncomment the lines HandleLidSwitch=suspend, HandleLidSwithExternalPower=suspend, and HandleLidSwitchDocked=ignore. Did not result in Suspend mode when lid was closed.
2. Activated Standby Timeout Settings and set time to 5 minutes for the hard disk. The disk remained on.
Both gnome-power-manager and pm-utils are installed. Using X.Org X server

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.13
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sun Aug 14 12:03:55 2022
InstallationDate: Installed on 2018-06-01 (1535 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to jammy on 2022-08-12 (2 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
Carl Greco (carl-greco) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

(you've filed this issue as being related to the upgrade process itself, ie. ubuntu-release-upgrader, which had completed it's job the moment you'd rebooted & logged into your machine.. suspend should not be done during the upgrade cycle... instead your issue appears to be post-upgrade - thus package change)

affects: ubuntu-release-upgrader (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Carl Greco (carl-greco) wrote :

Suspend mode now activated with laptop lid closure following these change and a power down reboot.

Disks App - activated the Standby Timeout Setting

Uncommented the following lines in /etc/systemd/logind.conf

HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=ignore

Revision history for this message
Carl Greco (carl-greco) wrote :

Suspend mode is not activated when laptop lid closed or when "Suspend" was selected from "Power Off/Log Out".

Revision history for this message
Carl Greco (carl-greco) wrote :

Reinstalling Ubuntu 22.04.1 and all the updates did not fix this issue. The laptop will go into suspend mode the first time the lid is closed after booting; however, it will not suspend on subsequent attempts. This suspend bug did not occur in Ubuntu 20.04.

Revision history for this message
Carl Greco (carl-greco) wrote :

Is my only option to fall back to 20.04?

Revision history for this message
Carl Greco (carl-greco) wrote :

Suspend was not routinely working. Appeared to be a brmcfmac issue. Please see attached tail from dmesg. I have created the file in /usr/lib/systemd/system-sleep/10-brcmfmac.sh from a comment by tobek in https://askubuntu.com/questions/935672/ubuntu-16-04-on-dell-xps-suspend-occasionally-fails

So far suspend has worked 3 of 3 attempts!

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.