Registered by Andrew Schulman

nosleep runs a command while inhibiting the computer from sleeping or hibernating until the command finishes executing. By default nosleep just prevents the computer from going to sleep during idle periods. More aggressive options are available to inhibit sleep or hibernation, but these come with warnings and an onerous Disclaimer.

The 0.1 series is stable and fully functional. Development is now focused on the 0.2 series, which will add the more aggressive --powerplan option that will manipulate the active power plan to inhibit sleeping.

nosleep is currently only implemented in Cygwin, for Windows. It calls Win32 API functions to get and set power control options. However, the Win32 functions are encapsulated behind a somewhat generic internal power control API (defined in nosleep.h, implemented for Windows in windows.c). nosleep should be easily portable to any other operating system that can implement the power control API. Not even all of the API would need to be implemented; the more is available, the more functional nosleep will be on that platform.

nosleep is available in Cygwin through setup.exe.

Project information

Maintainer:
Andrew Schulman
Driver:
Not yet selected
Licence:
GNU GPL v3

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar
Programming languages:
C

All bugs Latest bugs reported

Downloads

Latest version is 0.1.5
released

All downloads