10
I'm completely stumped by this. My simple use case is that when I'm in bed, I use a cordless mouse to browse the web, watch videos, etc. - the monitor is across the room. When I'm going to sleep, I want to shut the monitor off. I also want to be able to turn it back on in the morning. I just want to turn the monitor off and on using only the mouse.
I thought of creating a power setting that turned the monitor off asap (the shortest amount of time is one minute; that's fine). I have one that does this. It worked great for almost a year on my old XP machine, and for about four months on my new Windows 7 laptop (which I essentially use as a desktop). All of a sudden a couple weeks ago, it just stopped working - my monitor won't turn off on its own anymore. Here are the settings:
I tried other options. Based on the advice here I tried nircmd. This seemed great. I created a shortcut with the command line:
"C:\Program Files\nircmd\nircmd.exe" cmdwait 1000 monitor off
I click this, and in one second the monitor goes off. However about five seconds later it turns back on, and I've been extra careful to make sure the mouse isn't moving.
I have no idea what's going on. Based on both of these things, my only guess is that something could be running in the background which somehow makes the computer think it's in use. I've tried killing as many programs as possible but I still get the same behavior. Any advice? I'm mainly curious about how to debug, but am open to other suggestions about turning the monitor off and on with just the mouse as well.
1can you turn the mouse off so that it can be ruled out as the cause? – Jakob Weisblat – 2012-07-21T17:13:14.053
Well, this is bizarre. It's a cordless USB mouse so I tried two things. First, I clicked the shortcut for nircmd, and immediately unplugged the USB receiver. It worked! The screen stays off. However, when I switch to the "turn off asap" power profile, and then unplug the receiver, it still won't turn off. But seriously, this mouse is not moving - it is perfectly still, on my desk, and I'm going to great care to just push the button as quickly and quietly as possible... – Jer – 2012-07-21T17:21:22.597
And one other thing I just tried - I kept the mouse still and didn't even touch it, and then ran the nircmd command using just the keyboard from a command prompt. The mouse is not moving - it's across the room. Still, the monitor turns right back on. – Jer – 2012-07-21T17:23:28.430
Another test - I changed the nircmd command to turn the screensaver on, and set up a "blank screen" screensaver. This works as expected - I click the shortcut, and the screen goes blank and stays that way until I move the mouse. This is ok, I guess, but not ideal because there's still a bit of a glow coming from the monitor (a blank screensaver is still brighter than the monitor being off). So I can pretty safely say it's not the mouse that's moving, unless there are different "thresholds" for being "awake" for the monitor being off vs. in screensaver mode. – Jer – 2012-07-21T17:35:15.517
The threshold for the screensaver is, as I remember, higher than the threshold for the monitor on. Is there no switch on the mouse for on/off? I would think it would have that to save battery. – Jakob Weisblat – 2012-07-21T17:41:18.490
Probably the computer goes to sleep and then something wakes it up. Check Admin Tools -> Task Scheduler for any tasks that are marked "wake from sleep" – Daniel R Hicks – 2013-01-11T12:13:53.610