← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2121888] [NEW] no automatic suspend after systemd-inhibit command

 

Public bug reported:

## What I expected to happen:

I expected the system to automatically suspend after a long-running
systemd-inhibit command finished.

## What actually happened:

After the long-running systemd-inhibit command finished, the display
stayed dimmed, showing my desktop for hours beyond the automatic suspend
delay. When I eventually came back to my laptop and touched the
trackpad, the display backlight became fully bright again, and after the
15-minute delay it finally did suspend.

## Steps to reproduce:

1. Have automatic suspend delay set to 15 minutes.
2. Open a Terminal window and type `systemd-inhibit sleep 1000`.
3. Wait a little over 15 minutes until the command finishes.

It seems if the command finishes *before* the automatic suspend delay
then the system does suspend normally, but if it finishes after then the
system remains awake.

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: gnome-power-manager 43.0-3
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep  2 19:55:56 2025
InstallationDate: Installed on 2022-12-09 (998 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
ProcEnviron:
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 SHELL=/usr/bin/zsh
 XDG_RUNTIME_DIR=<set>
SourcePackage: gnome-power-manager
UpgradeStatus: Upgraded to plucky on 2025-05-14 (111 days ago)

** Affects: gnome-power-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug plucky

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-power-manager in
Ubuntu.
https://bugs.launchpad.net/bugs/2121888

Title:
  no automatic suspend after systemd-inhibit command

Status in gnome-power-manager package in Ubuntu:
  New

Bug description:
  ## What I expected to happen:

  I expected the system to automatically suspend after a long-running
  systemd-inhibit command finished.

  ## What actually happened:

  After the long-running systemd-inhibit command finished, the display
  stayed dimmed, showing my desktop for hours beyond the automatic
  suspend delay. When I eventually came back to my laptop and touched
  the trackpad, the display backlight became fully bright again, and
  after the 15-minute delay it finally did suspend.

  ## Steps to reproduce:

  1. Have automatic suspend delay set to 15 minutes.
  2. Open a Terminal window and type `systemd-inhibit sleep 1000`.
  3. Wait a little over 15 minutes until the command finishes.

  It seems if the command finishes *before* the automatic suspend delay
  then the system does suspend normally, but if it finishes after then
  the system remains awake.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: gnome-power-manager 43.0-3
  ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
  Uname: Linux 6.14.0-15-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.32.0-0ubuntu5
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Sep  2 19:55:56 2025
  InstallationDate: Installed on 2022-12-09 (998 days ago)
  InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
  ProcEnviron:
   LANG=en_GB.UTF-8
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   SHELL=/usr/bin/zsh
   XDG_RUNTIME_DIR=<set>
  SourcePackage: gnome-power-manager
  UpgradeStatus: Upgraded to plucky on 2025-05-14 (111 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/2121888/+subscriptions



Follow ups