Hacker News new | ask | show | jobs
by clmul 2329 days ago
I have a similar issue with my desktop computer: when I suspend or hibernate it, it sometimes wakes up again when I'm standing, getting up from my chair or leaving the room. This also occasionally happens (when hibernated) after I have physically switched off the power of the computer and switch it on again. The issue occurred first a few years after I bought it, but right now I have just given up debugging it, as I have absolutely no idea what the cause could be. It's mildly annoying sometimes as I have to check that it's really staying put, but I can deal with it.
3 comments

If you have a nicer mouse with a quality sensor, a pretty slight bump or vibration to the desk can cause it to move and wake the computer. Try disabling wake on mouse so you can only wake with the keyboard.
Yup. I puzzled over this one for a while when it happened to me. My mouse was on a pull-out surface from the desk and thus any vibration was amplified. It was sensitive enough to wake the computer merely from walking up to it.
A very simple version of this: I used to find that my macbook was randomly going to sleep all the time when I was working with it. Eventually realized that it was because I was using my ipad pro right next to it, with its very strong magnets for the smart keyboard---and magnetic sensors are also how the macbook tells the screen is closed. Could probably put one to sleep by just waving a sufficiently strong magnet in front of it...
There was a story on HN at one point about laptops that would immediately go dark when placed on top of another laptop.

The magnet in the lid of the bottom laptop would put the top laptop to sleep.

Depending on how it's configured to wake, my guess is it's your mouse. When you stand you move the desk just enough to cause the mouse to wake it. Happens to me all the time when I bump by desk when getting out of my chair.
Unfortunately, I can still reproduce it when the mouse is disconnected completely (tried it in the past as my first guess)