How to change screen dimming time programatically in android?
<p>I would like to change system dimming time in my custom application.</p>

<p>My device is set 30s-timeout for sleep. 
So if I am in home screen and leave it, it goes dim in 23sec and screen is turned off in 30sec.</p>

<p>Is there any idea for changing screen dimming time for my application?</p>

<p>It's ok to change framework source.</p>

<p>Thanks in advance.</p>
