xfce4-power-manager ignores systemd-inhibit

Bug #2035004 reported by Mikko Rantalainen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xfce4-power-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

xfce4-power-manager ignores sleep blocking by systemd-inhibit and puts system to S3 sleep even though I have a process running launched with

$ systemd-inhibit --what "idle:sleep:handle-suspend-key" --mode block mycommand arguments

My config:

$ xfconf-query -c xfce4-power-manager -l -v
/xfce4-power-manager/battery-button-action 1
/xfce4-power-manager/blank-on-ac 9
/xfce4-power-manager/dpms-on-ac-off 11
/xfce4-power-manager/general-notification true
/xfce4-power-manager/hibernate-button-action 1
/xfce4-power-manager/inactivity-on-ac 15
/xfce4-power-manager/lock-screen-suspend-hibernate true
/xfce4-power-manager/power-button-action 1
/xfce4-power-manager/presentation-mode false
/xfce4-power-manager/show-panel-label 1
/xfce4-power-manager/show-presentation-indicator true
/xfce4-power-manager/show-tray-icon false
/xfce4-power-manager/sleep-button-action 1

$ systemd-inhibit --list --no-pager

lists my process with
COMM systemd-inhibit
WHAT sleep:idle:handle-suspend-key
MODE block

and still xfce4-power-manager puts the system to S3 sleep!

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xfce4-power-manager 4.16.0-1
ProcVersionSignature: Ubuntu 6.2.0-1009.9~22.04.1-lowlatency 6.2.13
Uname: Linux 6.2.0-1009-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Sat Sep 9 19:18:39 2023
EcryptfsInUse: Yes
InstallationDate: Installed on 2019-01-05 (1707 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: xfce4-power-manager
UpgradeStatus: Upgraded to jammy on 2023-08-11 (29 days ago)
modified.conffile..etc.init.d.apport: [modified]
mtime.conffile..etc.init.d.apport: 2022-05-19T12:50:20.029158

Revision history for this message
Mikko Rantalainen (mira) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xfce4-power-manager (Ubuntu):
status: New → Confirmed
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.