Skip to content

dmxx90/nosleep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

nosleep

Linux bash script suspend timing

This is a simple script that you can put into your Linux startup script. It works with ACPI enabled, suspend time configured, measures CPU usage and simulates a human input to prevent system suspend during high CPU load (e.g. watching a video, downloading etc.).

Some PCs have broken ACPI implementation and suspend (if configured) occurs under Linux when no user input is detected after a set time.

USAGE: ./nosleep.sh >/dev/null & disown

NO LICENCE: Feel free to modify and distribute this script

REQUIREMENTS: bash, xautomation

About

Linux bash script suspend timing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages