1

I want to make a program to wake me up, but if I leave it and go to sleep the pc ends up sleeping. How can I force it to never sleep if this application is running?

I'm on Windows 7 x64.

BrunoLM
  • 97,872
  • 84
  • 296
  • 452

1 Answers1

1

The keyword you are looking for is "Power Management".

Try this article: http://msdn.microsoft.com/en-us/magazine/cc163386.aspx

Or even better, another similar StackOverflow question:

Prevent windows from going into sleep when my program is running?

Community
  • 1
  • 1
Ants
  • 2,628
  • 22
  • 35