Forces the screen to turn off and puts the device to sleep.
app.GoToSleep()
(This has the same effect as pressing the power button)
See Also: WakeUp
Forces the screen to turn off and puts the device to sleep.
(This has the same effect as pressing the power button)
See Also: WakeUp