Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 632 Bytes

File metadata and controls

19 lines (13 loc) · 632 Bytes

AwakeStateHolder

Simple lightweight utility to keep windows from sleep

Requires .NET Framework 4.0 or higher

Build

Download AwakeStateHolder.cs and compile.bat
Run compile.bat to build it with your local CS compiler
(Configure path to compiler in compile.bat if needed)

Modes

Hold Display Enabled - keeps display from sleep, but not system
Hold System Awake - keeps system from sleep, but not display
Hold System and Display - keeps both

It have effect while app is running

windowsample