Log in

View Full Version : Power notification Event from WakeUp mode


kotteesh
12-28-2007, 01:29 PM
When the device is turned off after one minute (ie when the device is off) by the OS, we can wake it up by pressing any key on keypad. When this is done, the device wakes up from suspend mode and sends Power Notification events/messages which is caught in TimoutMonitor.cs file. The code for suspend is 2097152. When this message is caught, the TimoutLogin is kicked off.

The whole issue here is, the time taken to catch this event and showing the login screen is more, during which the user can press the windows start menu and do what ever he likes. So, the target is to ensure that when the device wakes up, it should immediately display the login screen without wasting any time.

Check if there is any other Power notification event which can be caught before the device sleeps so that we can catch and put the login screen before the device wakes up.
Please help me to do this