public enum DesktopInhibitionEffects Idle power transitions an explicit operation may ask the desktop to inhibit.
Values
None
None = 0 No request.
SystemSleep
SystemSleep = 1 Ask the system not to sleep due to inactivity.
DisplaySleep
DisplaySleep = 2 Ask the display not to sleep due to inactivity. May also inhibit idle system sleep.