0

In my app, I'd like to disable the automatically sleep function. I want it keeps alive all the time.

I tried searching it, however couldn't find any answer. (maybe I didn't find the correct keyword).

So, please anyone tell me how to do it. Thank you

StanleyZ
  • 598
  • 6
  • 22

1 Answers1

0

You can do this by disabling UserIdleDetection.

Please look into

UserIdleDetectionMode Property

Idle detection

StanleyZ
  • 598
  • 6
  • 22