Use Caffeine To Keep Your PC Awake
Caffeine is a free program for Microsoft Windows devices that keeps your Windows PC awake so that it won't enter sleep or hibernate power modes.
I need a good strong cup of coffee usually in the morning before I start work. It is more of a tradition I guess than something that I cannot live without though.
Caffeine takes the concept of drinking a beverage with caffeine and applies it to the PC. It acts as a dose of caffeine that is administered to the PC in intervals so that it won't enter sleep mode.
Depending on how a Windows machine is configured, it may go to sleep automatically after a period of idle time. Idle time in this regard means little to no user interaction, and little background activity.
Caffeine was designed to prevent this from happening. The free tool simulates a keypress every 59 seconds by default to prevent sleep mode. Keyboard activity prevents sleep mode from kicking in, and this is true for simulated key presses as well.
The default value can be changed to a keystroke every x seconds instead. To prevent problems with running applications the software simulates a shift-down, shift-up keystroke in Windows 98 and a shift-down keystroke in Windows XP and newer.
The program can be run with a double-click on the icon to run it with its default configuration, or with parameters to customize the functionality.
A click on the application's system tray icon displays options to enable or disable the program's functionality.
You find all parameters on the developer website but the most useful ones are (probably):
- XX -- which is the time in seconds that the program waits before it simulates keypresses. This must be the first command.
- -exitafter:xx -- terminates the program automatically after the specified time in minutes
- -activefor:xx -- the program becomes active for the specified time in minutes
- -inactivefor:xx -- application becomes active after the specified time in minutes.
- -key:xx -- simulate the keypress using the specified virtual key code.
The software has a size of only 24 Kilobytes and can be useful if your computer falls asleep every now and then without you wanting that.
On the other hand, sleep and screensaver intervals can be changed as well or turned off. Caffeine is mostly useful therefore on systems where sleep mode is configured but needs to be blocked from kicking in at times.Advertisement