Hi All,

How can I maintain D0 state while connected through ActiveSync.
When occur timeout, power state becomes D1. but l'd like to maintain D0
while connected through ActiveSync.

Help me... please.

Re: How to maintain D0 state while connected through ActiveSync by GraemeW

GraemeW
Tue Nov 06 02:39:05 PST 2007

Remember the D0,D1etc states are device drvier states NOT system states,
system states are normally:

User activity (normally backlight on, everything is D0)
System Activity (normally backlight dimmed d1, mostly everything else
d0)
Idle
Suspend
Off

The network protocol stack will ensure that the device is in system activity
when network traffic is being sent/received, which is what is happening with
active sync connected. So i think you want to change this to keep the system
into "user activity" state instead, this should do the trick...

Change the network protocol stack event from system activity to user
activity to make sure

; These registry settings tells the networking protocol stack to
periodically
; signal the Power Manager when any sockets are in the connected state.
They
; also tell the stack NOT to automatically reset the GWES idle timer (this
; enables the screen saver).
[HKEY_LOCAL_MACHINE\Comm\CXPort]
; @CESYSGEN IF PM_PM_DEFAULT_PDD
"NoIdleTimerEvent"="PowerManager/ActivityTimer/SystemActivity"
; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD
"NoIdleTimerReset"=dword:1

change to

"NoIdleTimerEvent"="PowerManager/ActivityTimer/UserActivity"


There are a number of modules that can do this, if you need more take a look
in the private sources if you have them, else ask and i'll have a look for
you...


--
GraemeW
Blog - http://ce4all.blogspot.com



"ksw" <ksw@discussions.microsoft.com> wrote in message
news:ADD20E58-84F3-4BEB-828B-106C1E409211@microsoft.com...
> Hi All,
>
> How can I maintain D0 state while connected through ActiveSync.
> When occur timeout, power state becomes D1. but l'd like to maintain D0
> while connected through ActiveSync.
>
> Help me... please.