0

I've got a laptop that's suffered some chassis damage that makes it very cumbersome to open/close the laptop. Normally, the metal ends of the LCD hold onto the chassis, but in this case the magnesium alloy plastic that holds the screws is broken. The laptop is out of warranty and it'd be a bit expensive for me at the moment to send it off to HP for repair. There's a wire that runs up from the motherboard to the LCD. That wire is rubbed up against by the metal part every time I open or close the lid on the laptop. So to avoid further damage to my laptop (at least until I can get it fixed), I've made a simple program to shut the monitor off on command. It basically just uses the following:

SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);

It works just fine and it allows me to keep my laptop open indefinitely. The only problem is that some program keeps waking my screen up. There's almost nothing open, and I can't come up with anything immediately obvious.

I was just wondering how you guys would go about figuring out what's turning on my display? Can you recommend any software and maybe some information on what events/specifics I should be looking out for?

6
  • So you still use the monitor, not an external one, right? Commented Jul 29, 2013 at 9:07
  • Maybe it's some USB device that wakes it up.
    – gronostaj
    Commented Jul 29, 2013 at 9:09
  • Yes I still use the monitor. With an external monitor I'd be able to just push the power button to turn it off.
    – x0a
    Commented Jul 29, 2013 at 9:15
  • Why not just set the screen saver timeout to turn the display off after a few minutes? Commented Jul 29, 2013 at 10:57
  • Also, look at Control Panel -> Admin Tools -> Task Scheduler. Very often there is some useless task that's scheduled to run every few minutes. Commented Jul 29, 2013 at 10:59

0

You must log in to answer this question.

Browse other questions tagged .