New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
7r380r
Old
(Last edited by 7r380r; 19th August 2007 at 05:04 PM.) Reason: Title Edit
#1  
Junior Member - OP
Thanks Meter 0
Posts: 7
Join Date: Jul 2007
Default Backlight/Screen Brightness - Auto Dim and Auto Off

Has anyone seen an app that dims the backlight before it turns off all the way ?
 
gzub
Old
#2  
gzub's Avatar
Member
Thanks Meter 32
Posts: 67
Join Date: Apr 2006
Location: Franklin, MA
When I had my 6700, I had discovered that the OS (and I am sure on the Mogul too) was only using some, not all of the power states. I will have to play around with it, but I used one state to leave the display on, without backlight before it went into sleep mode. I also setup the wav device to be on in sleep mode to improve the ring speed.

Will have to poke around to see if you can just dim the screen...

The state that I was playing with was called UserIdle and can be found in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\Timeouts

MSDN has good documentation on the power states...

Geoff
 
gzub
Old
#3  
gzub's Avatar
Member
Thanks Meter 32
Posts: 67
Join Date: Apr 2006
Location: Franklin, MA
This probably does not give you what you want, however this will dim the screen (although too dim in my opinion - I have not been able to change the brightness)

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\UserIdle]
"bkl1:"=dword:00000003

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\UserIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
@=dword:00000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\Timeouts]
"ACUserIdle"=dword:000000B4
"BattUserIdle"=dword:000000B4

Make sure that your display timeout/power timeouts in the control panel are set greater that the ACUserIdle/BattUserIdle otherwise they will occur before the backlight can be put in its dimmest state.

Geoff