Merge lp:~sforshee/powerd/increase-default-screen-timeout into lp:powerd

Proposed by Seth Forshee
Status: Merged
Approved by: Matt Fischer
Approved revision: 44
Merged at revision: 44
Proposed branch: lp:~sforshee/powerd/increase-default-screen-timeout
Merge into: lp:powerd
Diff against target: 27 lines (+3/-3)
2 files modified
data/com.canonical.powerd.gschema.xml (+1/-1)
src/powerd.cpp (+2/-2)
To merge this branch: bzr merge lp:~sforshee/powerd/increase-default-screen-timeout
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+169006@code.launchpad.net

Commit message

Increase default screen timeout to 60 seconds

Description of the change

Increase default screen timeout to 60 seconds

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Matt Fischer (mfisch) wrote :

+1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/com.canonical.powerd.gschema.xml'
2--- data/com.canonical.powerd.gschema.xml 2013-05-24 20:46:13 +0000
3+++ data/com.canonical.powerd.gschema.xml 2013-06-12 16:55:37 +0000
4@@ -3,7 +3,7 @@
5 <schema id="com.canonical.powerd" path="/com/canonical/powerd/">
6 <key name="activity-timeout" type="u">
7 <range min="5" max="3600"/>
8- <default>30</default>
9+ <default>60</default>
10 <summary>Timeout in seconds for turning off the screen if there is no user activity</summary>
11 </key>
12 </schema>
13
14=== modified file 'src/powerd.cpp'
15--- src/powerd.cpp 2013-06-11 16:34:33 +0000
16+++ src/powerd.cpp 2013-06-12 16:55:37 +0000
17@@ -70,9 +70,9 @@
18 static gint saved_brightness = 255;
19 static gchar *brightness_path;
20
21-/* The real default for this is set in the gschema file, but set 30 here
22+/* The real default for this is set in the gschema file, but set 60 here
23 * as a sanity check */
24-static int activity_timeout = 30;
25+static int activity_timeout = 60;
26 static GMainLoop *main_loop = NULL;
27 static guint name_id;
28

Subscribers

People subscribed via source and target branches