views:

66

answers:

1

Is it possible to emulate a device sleeping and waking using the Microsoft-supplied device emulators?

+1  A: 

Yes, but you have to generate your own emulator image with a modified kernel (changing OEMPowerOff). Bruce Eitman blogged about it here. You didn't detail your needs, so it's hard to say, but you might be able to provide some form of simulation by manually setting the named power management events.

ctacke