Bug 502972 - Expose HibernateDelaySec in /etc/systemd/sleep.conf in KDE Power Management settings UI
Summary: Expose HibernateDelaySec in /etc/systemd/sleep.conf in KDE Power Management...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: 6.3.4
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-18 16:33 UTC by Marian Klein
Modified: 2025-04-18 17:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Klein 2025-04-18 16:33:30 UTC
SUMMARY

There is no UI option to configure the hibernate timeout after suspend (suspend-then-hibernate behavior) in Power Management settings.
When selecting "Standby then Hibernate" in power profiles, there is currently no UI option to control the time delay before hibernation starts. This delay is controlled via HibernateDelaySec in /etc/systemd/sleep.conf. Since the initial suspend timeout is already configurable in the UI, the hibernate delay should be too — for consistency and usability.

STEPS TO REPRODUCE

    Open System Settings → Power Management

    Set "When inactive" to Sleep

    Set "When sleeping, enter:" to Standby then hibernate

    Look for an option to set the delay before hibernation begins while the device is suspended

OBSERVED RESULT
There is no option in the UI to configure the timeout for when the system transitions from suspend to hibernate. This timeout (typically HibernateDelaySec in logind.conf) must be manually edited via configuration files.

EXPECTED RESULT
A UI option should be available to configure the delay before transitioning from suspend to hibernate, making the feature more accessible to users and consistent with the rest of the power management settings.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Kubuntu 25.10
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
This setting exists at the system level (/etc/systemd/logind.conf → HibernateDelaySec), but is not configurable from the GUI, which may confuse users expecting full control from the Power Management UI. Including this would improve UX and feature discoverability.