Disable sleep mode in Windows Mobile 6

前端 未结 3 1499
感动是毒
感动是毒 2020-12-03 09:04

Does anyone know how could I programatically disable/enable sleep mode on Windows Mobile?

Thanks!

3条回答
  •  一个人的身影
    2020-12-03 09:40

    Modify the Power Manager registry setting that affects the specific sleep condition you want (timeout, batter, AC power, etc) and the SetEvent on a named system event called "PowerManager/ReloadActivityTimeouts" to tell the OS to reload the settings.

提交回复
热议问题