Enum avrox_display::PowerLevel
source · pub enum PowerLevel {
Hibernate,
Sleep,
Reduced,
Normal,
}
Expand description
Displays may have a variety of power levels - from full power to total hibernation. These generic levels will map to different feature sets in different devices, but the general principle of each level should be maintained.
Variants§
Hibernate
The lowest level of power use. Everything should be switched off as far as possible, potentially including display RAM. (i.e. it is not guaranteed that the previous contents of the display will have been retained on exit from this level.)
Sleep
The display should be put to sleep; typically this means the output is disabled/not visible (unless a persistent display technology like eInk is being used) but display contents should be preserved.
Reduced
The display should be in a reduced power mode. This may result in reduced brightness or refresh rate or other compromises, but the display itself should essentially be functional.
Normal
Normal power use.