Defines the default named sleep levels for the .NET Micro Framework.
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
|Awake||The device is awake, not sleeping. The normal state of the .NET Micro Framework. This includes sleeping the processor core when there are no ready managed threads.|
|DeepSleep||The device is in deep sleep. The state in which most peripherals are turned off, the memory of the system is maintained, but timers will not be executed. Equivalent to the earlier version's Hibernate method.|
|Off||The entire device's power is off. The entire system is shut down.|
|SelectiveOff||Portions of the device are powered off, such as peripherals. The sleep level in which only some of the peripherals are turned off for the sleep duration.|
|Sleep||The device is in the regular sleep state. The sleep level in which most non-essential peripherals are turned off, but the memory of the system is preserved and timers work as programmed. Equivalent to Thread.Sleep.|
The behavior for each of these states is determined by the hardware vendor. The general guideline is that each increased value indicates a deeper sleep. Therefore, SelectiveOff might simply dim the display backlight, where as Sleep may turn off the display, and DeepSleep may go into a hibernation state.