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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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?