← Back to team overview

ubuntu-phone team mailing list archive

Re: Recent powerd developments - display requests, auto dimming, and more!

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Seth Forshee wrote on 14/06/13 22:05:
> ...
> 
> 1. By popular request, the default inactivity timeout for turning
> off the screen has been increased to 60 seconds. However, for
> existing installs the timeout must be changed manually. This can be
> done with the following on the command line (you must have 
> libglib2.0-bin installed):
> 
> sudo dbus-launch gsettings set com.canonical.powerd
> activity-timeout <time-in-seconds>

If anyone would like to implement the UI for this, the design is at
<https://wiki.ubuntu.com/Power#Phone>.

> 2. Auto screen dimming - powerd will now dim the screen after a 
> period of activity before turning it off. There is a setting named 
> dim-timeout for the period of inactivity before dimming the screen.
> To adjust the timeout:
> 
> sudo dbus-launch gsettings set com.canonical.powerd dim-timeout
> <time-in-seconds>
> 
> ...

I haven't designed a UI for this because I don't understand the use
case. If it's to warn you that the phone is about to sleep, that
should be a fade for ~5 seconds beforehand, not a sudden dimming
untethered from the sleep setting.

- -- 
mpt

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlHEMX8ACgkQ6PUxNfU6ecpPyACgqiZ/R+j+gIMHrQzc0oN2V9sk
ODMAnRl2zG5uWOKm9kH4ZGAKW+5BKQYZ
=KJm/
-----END PGP SIGNATURE-----


References