! 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 !
Adjust values for Sleep Mode time under the System Power Saving settings
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-power-manager
Component:
General

Comments

Description q8311692 2020-04-15 12:53:54 CEST
Hello,

please consider the adjustment to the inactivity values for the System sleep mode settings.

- Decrease the minimum value from 15 Minutes to 5 Minutes, which appears to be reasonable for battery-powered devices.
- Keep the default values at 15 Minutes, which means there is no difference for users who don't change the values themselves
- Increase the upper value as GTK lets not set the time up to the maximum value, but only to the maximum value minus one step. This means that currently users can go up to 5 hours 50 minutes instead of 6 hours as a maximum time.


diff --git a/data/interfaces/xfpm-settings.ui b/data/interfaces/xfpm-settings.ui
index 89e5c63d..520d49d9 100644
--- a/data/interfaces/xfpm-settings.ui
+++ b/data/interfaces/xfpm-settings.ui
@@ -230,17 +230,17 @@
     </data>
   </object>
   <object class="GtkAdjustment" id="system-sleep-inactivity-on-ac-adjustment">
-    <property name="lower">14</property>
-    <property name="upper">360</property>
+    <property name="lower">4</property>
+    <property name="upper">370</property>
     <property name="value">14</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
     <property name="page_size">10</property>
   </object>
   <object class="GtkAdjustment" id="system-sleep-inactivity-on-battery-adjustment">
-    <property name="lower">14</property>
-    <property name="upper">360</property>
-    <property name="value">15</property>
+    <property name="lower">4</property>
+    <property name="upper">370</property>
+    <property name="value">14</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
     <property name="page_size">10</property>
Comment 1 Git Bot editbugs 2020-05-27 01:49:16 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/80.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16697

Reported by:
q8311692
Reported on: 2020-04-15
Last modified on: 2020-05-27

People

Assignee:
Ali Abdallah
CC List:
3 users

Version

Attachments

Additional information