Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 924 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 924 Bytes

It is ON!

Prevents the computer from going to sleep. The app was developed with WPF and WinForms in the MVVM pattern, and it uses IoC container.

Usage:

Three selectable modes are available:

  • Prevent Screensaver and Sleep
  • Prevent Sleep (which keeps the computer awake but the screensaver will be on)
  • Normal mode (the computer state before you opened the app)

Features:

  • The minimize button puts the app in the system tray instead of the normal tray, so it won't bother anyone. A simple click on the tray icon will restore the window.
  • Clicking the close button will first safely revert the app back to normal mode then closes the window.

Dependencies:

How it works:

It calls a WinAPI function that sets the appropriate flags which prevents the computer from sleeping or turning off the screen.