I have a dual boot Windows Vista Basic/Ubuntu KDE4 compaq laptop.
when I have put the laptop into hibernation from windows I sometimes find that it will turn itself back on.
Any ideas what causes it to come out of windows hibernate?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Try these lines in cmd prompt
powercfg /devicequery wake_armed
That will give you a list of devices that can wake up your computer. To disable that, type the following
powercfg /devicedisablewake "Name of device goes in here"
powercfg /devicedisablewake "Realtech(R) Gigabit Network Adaptor"
You might want to look at this question on ServerFault
I tracked the culprit down in the past with the command line tool:
Hibernation actually turns off the power in the same way shutting down does. The difference is that hibernation stores the state of the machine first. So if you laptop is turning on by itself from hibernation, then something is either pressing the power button or your power button is defective, and will make contact from just jostling it or something.
E: there is another possibility. If your laptop supports Wake on Lan and your laptop is plugged into a network (with a physical cable), then something may be sending it the signal to wake up, which can bring your computer out of hibernation (and even from being powered off).
And if you are talking about standby, which is not the same as hibernate, then Axxmasterr's answer seems like a good possibility. Another potential cause is if the keyboard is being pressed or the mouse trackpad is being activated somehow.
My case i got the answer with following commands -
C:\Users\windows>powercfg -devicequery wake_armed
HID Keyboard Device
(006) Logitech HID-compliant Cordless Mouse (001)
So it was the cordless mouse which was waking it up whenever i forget to switch off the mouse. A shake or push somewhere around the mouse by any of the family member in my absence was sending the signal to the laptop to wake up from hibernation.
Also this is nicely described in the following article - http://www.howtogeek.com/122954/how-to-prevent-your-computer-from-waking-up-accidentally/
I just went to the listed devices in 'device manager' and unchecked the option which allowed these devices to bring the pc out of hibernation.
There are a few options mentioned that can cause the Issue.
Scheduled programs have the possibility to wake the computer if they need to run, this can happen if you schedule recordings in MCE for example.
Faulty hardware such as the mentioned lid switch or eratic mouse behavior can also bring the computer out of sleep mode.
Depending on your usage scenario you can disable most options to wake the computer. You can disable Wake on lan/ring/keyboard/mouse in BIOS. You can change Vistas power settings to not react to the lid switch. This leaves you with only the powerbutton/start menu to sleep/wake your computer.
Doing these steps in any order might help you figure out what's causing the issue or doing all steps might be an acceptable solution in your case.
Hey to anyone reading this in 2016 Make sure you run powercfg -lastwake after you have experienced the 'waking up' issue, rather than after rebooting because that will clear the log. So when it wakes up run that command and it will tell you what woke it up.
I turned out to be something called TorrentsTime media player in program files in my case so I uninstalled it and now no longer have the problem.