- time
- The time when the request to go to sleep was issued, in the SystemClock.UptimeMillis time base. This timestamp is used to correctly order the go to sleep request with other power management functions. It should be set to the timestamp of the input event that caused the request to go to sleep.
Forces the device to go to sleep.
Overrides all the wake locks that are held. This is what happens when the power key is pressed to turn off the screen.
Requires the Android.Manifest.Permission.DevicePower permission.