Simply add a field in PowerDevil to modify HibernateDelaySec at /etc/systemd/sleep.conf so that users can set the delay to hibernate once in sleep from the GUI (I think of it as a good addition considering we have the option to enabled "While asleep, hibernate after a period of inactivity", thus having a field to modify the period sounds logical)
Could you outline your use case for needing or wanting to be able to configure the exact amount of time before which the system hibernates while asleep?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
1. To have more control over my system - in this case thru the GUI - as it is my understanding that this is what most people want when choosing Linux as their OS, along with the customizability that comes with it and KDE 2. In my specific case, to get more battery out of my notebook. If I have not reopened my lid after 20 minutes, I probably won't for the next 2 hours, therefor it makes power economy sense to just hibernate it. 3. Even windows has this option in their power configuration panel
Bug 459440 is a duplicate of this. However, I'm not sure which one to close - this bug, which has a little bit of discussion and is filed under the System Settings KCM for PowerDevil, or Bug 459440, which is older and was filed for the PowerDevil (backend) component?
This one has more discussion so I'd keep this one even though the other one is older. As for where it should live, the KCM isn't an incorrect place given that it's a request for a new user-facing feature whose UI would live in the KCM.
*** Bug 459440 has been marked as a duplicate of this bug. ***
(In reply to Jakob Petsovits from comment #4) > Bug 459440 is a duplicate of this. However, I'm not sure which one to close > - this bug, which has a little bit of discussion and is filed under the > System Settings KCM for PowerDevil, or Bug 459440, which is older and was > filed for the PowerDevil (backend) component? Great job Jakob! New UI looks much better :) Can I ask if selecting "Hibernate" at "While sleeping, enter:", will give you an option to set specific time period after which this will happen? In case it is not changeable, what is the default value? Could you in that case add info icon on which user could hover and find out after what time action happens?
(In reply to zzrakic from comment #7) > Can I ask if selecting "Hibernate" at "While sleeping, enter:", will give > you an option to set specific time period after which this will happen? > In case it is not changeable, what is the default value? Could you in that > case add info icon on which user could hover and find out after what time > action happens? The UI revamp did not add any functionality that wasn't already there. So you can continue to select a time delay in the top-most field called "After a period of inactivity: (Sleep, Hibernate, Shut down, etc.)" but we still don't have a field to specify the delay for this sleep mode that's now called "Standby, then Hibernate". The PowerDevil backend doesn't support this, so it's not as easy as just adding a field in the settings page. As mentioned by the OP, this functionality is performed by and configured through systemd. If we want to display or modify it, we'll have to add code to query systemd and perhaps overwrite that /etc/systemd/sleep.conf if there isn't an easier way to do it programmatically.