! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
modify range for "put to sleep when inactive for"
Status:
RESOLVED: FIXED
Product:
Xfce4-power-manager
Component:
General

Comments

Description mephinet 2009-05-21 11:26:57 CEST
Dear, power manager developers,
I just installed version 0.8.0_rc1 of the xfce4 power manager.

What I find a bit strange is the fact that the minimum value for the "Put the computer to sleep when inactive for:" is set to 30 minutes.
Is there any specific reason for that value? Because I can definitely think of some use cases where I'd love to set this to a smaller value, especially now that my battery's lifetime is in the below-two-hour range.

So unless there is any necessity for that, could you please modify the hscale ajustment in xfpm-settings.glade
from
 <property name="adjustment">30 30 360 1 10 10</property>
to
 <property name="adjustment">30 1 360 1 10 10</property>

Thanks!
Comment 1 Ali Abdallah editbugs 2009-05-21 12:13:50 CEST
(In reply to comment #0)
> Dear, power manager developers,
> I just installed version 0.8.0_rc1 of the xfce4 power manager.
> 
> What I find a bit strange is the fact that the minimum value for the "Put the
> computer to sleep when inactive for:" is set to 30 minutes.
> Is there any specific reason for that value? Because I can definitely think of
> some use cases where I'd love to set this to a smaller value, especially now
> that my battery's lifetime is in the below-two-hour range.

Yes there is a specific reason for that, because the *system inactivity* is not when the user is not touching the mouse/keyboard, he/she can be watching a movie or something else, and unfortunately movie players these days doesn't reset the saver counter, discussion in going on the freedesktop xdg mailing list about it, but for now we don't allow a value below this to avoid some troubles (yes temporary ugly solution).
Comment 2 Ali Abdallah editbugs 2009-07-09 18:20:20 CEST
*** Bug 5540 has been marked as a duplicate of this bug. ***
Comment 3 Ali Abdallah editbugs 2009-07-09 18:21:57 CEST
Version 0.8.2 has 15 minutes as a minimum value instead of 30, please test it.

Bug #5381

Reported by:
mephinet
Reported on: 2009-05-21
Last modified on: 2009-07-14
Duplicates (1):
  • 5540 Feature request : lower min time for suspend when inactive

People

Assignee:
Ali Abdallah
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information