Bug 513790

Summary: Suspend session: sleep does not occur after a period of inactivity
Product: [Applications] systemsettings Reporter: Graham Perrin <grahamperrin>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: minor CC: kde, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: https://linux-hardware.org/?probe=eb5b1afe9c
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot: System Settings: Power Management

Description Graham Perrin 2025-12-25 00:56:30 UTC
Created attachment 187956 [details]
Screenshot: System Settings: Power Management

SUMMARY

Sleep does not occur when expected, after a period of inactivity.

Sleep does occur in response to closing the lid of the laptop, 
or in response to sudo systemctl suspend


STEPS TO REPRODUCE

1. on AC power

2. prefer sleep after one minute of inactivity

3. prefer sleep when the laptop lid is closed, even when an external monitor is connected

4. apply

5. do nothing for more than one minute


OBSERVED RESULT

6. nothing (the OS does not sleep)


EXPECTED RESULT

6. sleep.


SOFTWARE/OS VERSIONS

Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-4710MQ CPU @ 2.50GHz
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor 1: Quadro K1100M
Graphics Processor 2: Intel® HD Graphics 4600
Manufacturer: Hewlett-Packard
Product Name: HP ZBook 17 G2
System Version: A3009DD10203


ADDITIONAL INFORMATION

Encrypted root-on-ZFS (originally installed with Ubuntu 25.04). 

The ZBook is currently docked, with one display on DisplayPort connected to the HP dock. 

Before I began experimenting with settings: a mobile hard disk drive was connected to the dock. USB. This drive contains a ZFS pool that was imported (lsof output below). Exporting the pool did not alter the effect of waiting more than one minute for OS sleep to occur.

mowa219-gjp4:~# lsof /media/t1000/
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
mowa219-gjp4:~# lsof /media/t1000/
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
mowa219-gjp4:~# lsof /media/t1000/
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
mowa219-gjp4:~# zpool export Transcend
mowa219-gjp4:~# 

----

grahamperrin@mowa219-gjp4 ~> date ; sudo systemctl suspend
Thu Dec 25 00:20:25 GMT 2025
[sudo: authenticate] Password: 
grahamperrin@mowa219-gjp4 ~> sudo hw-probe -all -upload
Probe for hardware ... 
WARNING: Make sure 'block-devices' interface is connected to verify SMART attributes of your drives:

    sudo snap connect hw-probe:block-devices :block-devices
Ok
Reading logs ... Ok
Uploaded to DB, Thank you!

Probe URL: https://linux-hardware.org/?probe=eb5b1afe9c
grahamperrin@mowa219-gjp4 ~>
Comment 1 Graham Perrin 2025-12-27 07:10:12 UTC
No longer reproducible, and changes do take effect when applied, so: 

* I wonder what the problem was on Christmas Day (25th December). 

Today: 

grahamperrin@mowa219-gjp4 ~> journalctl --grep='shutdown' --since="yesterday"
Dec 27 05:26:45 mowa219-gjp4 systemd[6057]: Reached target shutdown.target - Shutdown.
Dec 27 05:26:49 mowa219-gjp4 dbus-daemon[4607]: [session uid=1000 pid=4607 pidfd=5] Activating service name='org.kde.Shutdown' requested by ':1.44' (uid=1000 pid=5098 comm="/usr/bin/plasmashell --no-respawn" la>
Dec 27 05:26:49 mowa219-gjp4 dbus-daemon[4607]: [session uid=1000 pid=4607 pidfd=5] Successfully activated service 'org.kde.Shutdown'
Dec 27 05:26:50 mowa219-gjp4 systemd[1]: snapd.system-shutdown.service - Ubuntu core (all-snaps) system shutdown helper setup service was skipped because no trigger condition checks were met.
Dec 27 05:26:50 mowa219-gjp4 systemd[1]: Stopping wtmpdb-update-boot.service - Write boot and shutdown times into wtmpdb...
Dec 27 05:26:50 mowa219-gjp4 systemd[1]: Stopped wtmpdb-update-boot.service - Write boot and shutdown times into wtmpdb.
-- Boot 7fd3d0490a2f4d43950f9a0d738d66d2 --
Dec 27 05:28:10 mowa219-gjp4 systemd[1]: Starting wtmpdb-update-boot.service - Write boot and shutdown times into wtmpdb...
Dec 27 05:28:11 mowa219-gjp4 systemd[1]: Finished wtmpdb-update-boot.service - Write boot and shutdown times into wtmpdb.
Dec 27 05:28:13 mowa219-gjp4 systemd[1]: Started unattended-upgrades.service - Unattended Upgrades Shutdown.
grahamperrin@mowa219-gjp4 ~> 

----

grahamperrin@mowa219-gjp4 ~> journalctl --grep='suspend' --since="2025-12-27 05:00"
-- Boot 7fd3d0490a2f4d43950f9a0d738d66d2 --
Dec 27 05:50:11 mowa219-gjp4 systemd-logind[3427]: The system will suspend now!
Dec 27 05:50:11 mowa219-gjp4 ModemManager[3844]: <msg> [sleep-monitor-systemd] system is about to suspend
Dec 27 05:50:12 mowa219-gjp4 systemd[1]: Starting systemd-suspend.service - System Suspend...
Dec 27 05:50:12 mowa219-gjp4 systemd-sleep[14940]: Performing sleep operation 'suspend'...
Dec 27 05:50:12 mowa219-gjp4 kernel: PM: suspend entry (deep)
Dec 27 06:03:09 mowa219-gjp4 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 27 06:03:09 mowa219-gjp4 systemd-sleep[14940]: System returned from sleep operation 'suspend'.
Dec 27 06:03:09 mowa219-gjp4 kernel: PM: suspend exit
Dec 27 06:03:11 mowa219-gjp4 systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 27 06:03:11 mowa219-gjp4 systemd[1]: Finished systemd-suspend.service - System Suspend.
Dec 27 06:03:11 mowa219-gjp4 systemd[1]: Reached target suspend.target - Suspend.
Dec 27 06:03:11 mowa219-gjp4 systemd-logind[3427]: Operation 'suspend' finished.
Dec 27 06:03:11 mowa219-gjp4 systemd[1]: Stopped target suspend.target - Suspend.
Dec 27 06:06:15 mowa219-gjp4 systemd-logind[3427]: The system will suspend now!
Dec 27 06:06:15 mowa219-gjp4 ModemManager[3844]: <msg> [sleep-monitor-systemd] system is about to suspend
Dec 27 06:06:16 mowa219-gjp4 systemd[1]: Starting systemd-suspend.service - System Suspend...
Dec 27 06:06:16 mowa219-gjp4 systemd-sleep[16071]: Performing sleep operation 'suspend'...
Dec 27 06:06:16 mowa219-gjp4 kernel: PM: suspend entry (deep)
Dec 27 06:07:09 mowa219-gjp4 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 27 06:07:09 mowa219-gjp4 systemd-sleep[16071]: System returned from sleep operation 'suspend'.
Dec 27 06:07:09 mowa219-gjp4 kernel: PM: suspend exit
Dec 27 06:07:11 mowa219-gjp4 systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 27 06:07:11 mowa219-gjp4 systemd[1]: Finished systemd-suspend.service - System Suspend.
Dec 27 06:07:11 mowa219-gjp4 systemd[1]: Reached target suspend.target - Suspend.
Dec 27 06:07:11 mowa219-gjp4 systemd-logind[3427]: Operation 'suspend' finished.
Dec 27 06:07:11 mowa219-gjp4 systemd[1]: Stopped target suspend.target - Suspend.
Dec 27 06:08:49 mowa219-gjp4 systemd-logind[3427]: The system will suspend now!
Dec 27 06:08:49 mowa219-gjp4 ModemManager[3844]: <msg> [sleep-monitor-systemd] system is about to suspend
Dec 27 06:08:50 mowa219-gjp4 systemd[1]: Starting systemd-suspend.service - System Suspend...
Dec 27 06:08:50 mowa219-gjp4 systemd-sleep[16841]: Performing sleep operation 'suspend'...
Dec 27 06:08:50 mowa219-gjp4 kernel: PM: suspend entry (deep)
Dec 27 06:14:13 mowa219-gjp4 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 27 06:14:13 mowa219-gjp4 systemd-sleep[16841]: System returned from sleep operation 'suspend'.
Dec 27 06:14:13 mowa219-gjp4 kernel: PM: suspend exit
Dec 27 06:14:15 mowa219-gjp4 systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 27 06:14:15 mowa219-gjp4 systemd[1]: Finished systemd-suspend.service - System Suspend.
Dec 27 06:14:15 mowa219-gjp4 systemd[1]: Reached target suspend.target - Suspend.
Dec 27 06:14:15 mowa219-gjp4 systemd-logind[3427]: Operation 'suspend' finished.
Dec 27 06:14:15 mowa219-gjp4 systemd[1]: Stopped target suspend.target - Suspend.
Dec 27 06:42:13 mowa219-gjp4 systemd-logind[3427]: The system will suspend now!
Dec 27 06:42:13 mowa219-gjp4 ModemManager[3844]: <msg> [sleep-monitor-systemd] system is about to suspend
Dec 27 06:42:13 mowa219-gjp4 systemd[1]: Starting systemd-suspend.service - System Suspend...
Dec 27 06:42:14 mowa219-gjp4 systemd-sleep[27120]: Performing sleep operation 'suspend'...
Dec 27 06:42:14 mowa219-gjp4 kernel: PM: suspend entry (deep)
Dec 27 06:42:22 mowa219-gjp4 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 27 06:42:22 mowa219-gjp4 kernel: PM: suspend exit
Dec 27 06:42:22 mowa219-gjp4 systemd-sleep[27120]: System returned from sleep operation 'suspend'.
Dec 27 06:42:24 mowa219-gjp4 systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 27 06:42:24 mowa219-gjp4 systemd[1]: Finished systemd-suspend.service - System Suspend.
Dec 27 06:42:24 mowa219-gjp4 systemd[1]: Reached target suspend.target - Suspend.
Dec 27 06:42:24 mowa219-gjp4 systemd-logind[3427]: Operation 'suspend' finished.
Dec 27 06:42:24 mowa219-gjp4 systemd[1]: Stopped target suspend.target - Suspend.
Dec 27 06:51:41 mowa219-gjp4 systemd-logind[3427]: The system will suspend now!
Dec 27 06:51:41 mowa219-gjp4 ModemManager[3844]: <msg> [sleep-monitor-systemd] system is about to suspend
Dec 27 06:51:42 mowa219-gjp4 systemd[1]: Starting systemd-suspend.service - System Suspend...
Dec 27 06:51:42 mowa219-gjp4 systemd-sleep[29738]: Performing sleep operation 'suspend'...
Dec 27 06:51:42 mowa219-gjp4 kernel: PM: suspend entry (deep)
Dec 27 06:52:56 mowa219-gjp4 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Dec 27 06:52:56 mowa219-gjp4 systemd-sleep[29738]: System returned from sleep operation 'suspend'.
Dec 27 06:52:56 mowa219-gjp4 kernel: PM: suspend exit
Dec 27 06:52:58 mowa219-gjp4 systemd[1]: systemd-suspend.service: Deactivated successfully.
Dec 27 06:52:58 mowa219-gjp4 systemd[1]: Finished systemd-suspend.service - System Suspend.
Dec 27 06:52:58 mowa219-gjp4 systemd[1]: Reached target suspend.target - Suspend.
Dec 27 06:52:58 mowa219-gjp4 systemd[1]: Stopped target suspend.target - Suspend.
Dec 27 06:52:58 mowa219-gjp4 systemd-logind[3427]: Operation 'suspend' finished.
grahamperrin@mowa219-gjp4 ~>