Skip to content

Commit

Permalink
Add autosuspend_policy config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
spiiroin committed Feb 18, 2013
1 parent 7b2e714 commit 58efed6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions builtin-gconf.c
Expand Up @@ -1266,6 +1266,11 @@ static const setting_t gconf_defaults[] =
.def = "0.123,1e2,+42,-42,0.5",
},
#endif
{
.key = "/system/osso/dsm/display/autosuspend_policy",
.type = "i",
.def = "1",
},
{
.key = NULL,
}
Expand Down
12 changes: 12 additions & 0 deletions display.schemas
Expand Up @@ -171,5 +171,17 @@ for brightness adjustment?</long>
<long>0 - Don't inhibit blanking; 1 - Inhibit dimming if charger is connected; 2 - Inhibit blanking if charger is connected; 3 - Inhibit dimming; 4 - Inhibit blanking</long>
</locale>
</schema>

<schema>
<key>/schemas/system/osso/dsm/display/autosuspend_policy</key>
<applyto>/system/osso/dsm/display/autosuspend_policy</applyto>
<owner>mce</owner>
<type>int</type>
<default>1</default>
<locale name="C">
<short>Automatic suspend mode</short>
<long>0 - Disabled; 1 - Enabled; 2 - Early suspend enabled</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>

0 comments on commit 58efed6

Please sign in to comment.