Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CHerSun authored May 1, 2022
1 parent 49008b2 commit b62d902
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# NoSleep windows utility
*13 July 2016*
NoSleep is a tool that prevents Windows OS from automatically going into ScreenSaver / Sleep / Lock modes. It's meant for those cases where user cannot change settings (due to corporate-enforced policy, for example). Inspired by Linux Caffeine.

NoSleep utility prevents Windows OS from automatically going into ScreenSaver / Sleep / ScreenLock modes. It's meant for those cases where user cannot change settings (due to corporate-enforced policy, for example). Inspired by Linux Caffeine.

> NOTE: Windows PowerToys now has PowerToys.Awake tool which does the same thing + has a context menu with options.
> NOTE: Windows PowerToys now has PowerToys.Awake tool which does the same thing + has a context menu with options. Could require admin permissions though.
## Usage
Download **NoSleep.exe** from **"Compiled binary"** folder. Then just run and forget. You can also add shortcut to NoSleep to your StartUp items for NoSleep to start on user login. While active NoSleep will sit in Windows tray and prevent Windows from blocking.

If you wish to stop it - close the program - right-click tray icon and select "Close".

## Requirements
.NET 4.0 (client profile)
.NET 4.0 (client profile) or later (any 4.x.x should work)

## How it works
NoSleep works through calling to SetThreadExecutionState resetting display/idle Windows timers every 10 seconds. Should use no CPU and around 6-7 MBs of RAM. Icons are taking up 166 KB in compiled binary, the rest is the code (~10 KB).
Expand All @@ -22,4 +20,4 @@ Icon was taken from http://www.iconarchive.com/show/food-icons-by-martin-berube/
Artist: Martin Berube (thanks, Martin!)

## License
Completely free, use as you will. No liability.
The Unlicense

0 comments on commit b62d902

Please sign in to comment.