Home » Questions » Computers [ Ask a new question ]

How do I stop my computer from going into sleep or hibernate mode?

How do I stop my computer from going into sleep or hibernate mode?

I have noticed that when I run Windows Media Player on my laptop, that the screen saver will not start and more importantly my computer will not go into sleep or hibernate mode. However, when running iTunes or other applications, unless you move your mouse or hit a key on your keyboard your computer will eventually go into sleep or hibernate mode. I want to write a little application that will prevent my computer from going into sleep or hibernate mode. Does anyone have any ideas on how this could be done?

Asked by: Guest | Views: 127
Total answers/comments: 1
bert [Entry]

Have a look at insomnia, which if I understand correctly is exactly the application you want. Note that both binary and source code are available, so if you prefer to roll your own, you can use that as a starting point.