I have a platform running Windows CE 6.0 and am having some problems
having the Display Stay on (it is turning off automatically when I
don't want it to.)
We basically do not want any idle or inactivity timers to be used by
the Power Manager with regards to the display, we only wish for it to
change power states via requests from Applications and due to Sleep
and Sleep Resume.
We have three (3) drivers in use, a Display Driver, Backlight Driver
and Battery Driver.
The Display Driver starts up in D0, after being left idle the Power
Manager sets the Display Driver into D1 followed by D4.
The Backlight Driver is staying on as expected.
I installed a stub battery driver (from public tree) that should set
the Power Source as AC Line Online with a Battery State of full. I
originally thought that maybe having the Battery Support in (without
an actual battery driver) may be causing a problem (as the default
power state was battery scheme.) Adding in this battery driver has
the default power state as AC Scheme but there is unfortunately no
change to how the driver behaves.
Via the Control Panel:
Power Scheme says AC Power and Switch to User Idle, System Idle and
Suspend all say never.
Display Backlight has two checkboxes "Automatically turn off backlight
while on battery power" and "Automatically turn off backlight while on
external power" and neither of these are actually checked.
My Registry:
[HKEY_LOCAL_MACHINE\System\GDI\ROTATION]
"Angle"=dword:00
[HKEY_LOCAL_MACHINE\Drivers\Display\LCDC]
"DisplayPowerClass"=multi_sz:"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
"Width"=dword:280 ; 640
"Height"=dword:1E0 ; 480
"Bpp"=dword:10 ; 16bpp
"VRAMWidthInPixel"=dword:400
"VRAMHeightInPixel"=dword:1000
"VRAMaddress"=dword:23c00000
"VRAMBusWidth"=dword:20
"UpperMargin"=dword:21
"LowerMargin"=dword:A
"LeftMargin"=dword:2D
"RightMargin"=dword:11
"Vsync"=dword:1
"Hsync"=dword:5F
"PixelClock"=dword:17D7840
[HKEY_LOCAL_MACHINE\system\gdi\monitors]
"TOTAL MONITORS"=dword:1
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="Display_DDI.dll"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power]
"BattPowerOff"=dword:0
"ExtPowerOff"=dword:0
"WakeupPowerOff"=dword:0
"ScreenPowerOff"=dword:0
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
"ACUserIdle"=dword:0
"ACSystemIdle"=dword:0
"ACSuspend"=dword:0
"BattUserIdle"=dword:0
"BattSystemIdle"=dword:0
"BattSuspend"=dword:0
[HKEY_CURRENT_USER\ControlPanel\Backlight]
"BatteryTimeout"=dword:0
"ACTimeout"=dword:0
"UseExt"=dword:0
"UseBattery"=dword:0
Thank you,
Brad.