You could change it in the settings database using

Ex: to change it to one minute
sqlite3 /data/data/com.android.providers.settings/databases/
settings.db "INSERT INTO system VALUES
(null,'screen_off_timeout','600000');"

or

sqlite3 /data/data/com.android.providers.settings/databases/
settings.db "update system set value='600000' where
name='screen_off_timeout';"


But I find it kind of bad to be doing it this way (I can't think of
any particular reason, but it just seems hacky).

Since the settings provider exposes SCREEN_OFF_TIMEOUT , I would feel
much better using that.
http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_OFF_TIMEOUT


On Aug 24, 6:17 pm, Shanth Murthy <shanth.murth...@gmail.com> wrote:
> Thanks,
> -Shanth

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to