View Single Post
  #3  
Old December 12th 14, 11:49 PM posted to microsoft.public.windowsxp.help_and_support
hp
external usenet poster
 
Posts: 11
Default XP Pro display stays on

On 12/10/2014 11:37 AM, Ron Hardin wrote:
As some of our older XP Pro (Dell) laptops age, they've started to think that
there's activity and keep the display on, when it's set to turn off in ten
minutes of inactivity.

There's processess running (they're used as cpu servers) but no keyboard
activity.

Is there a known reason for this and can it be fixed?

Turning the monitor off with

#include windows.h
main() {
sleep(1);
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
exit(0);
}

turns it off but only for a short time (time varies with machine).

Most of our machines act normally (so far).

(One "fix" is setting the machine to "do nothing" when the lid is closed, and not
ask for a password on return from sleep, and then closing the lid enough to turn
off the display, but you don't get quick access that way. But fixing the problem
would be nicer.)


Most laptops I have used had a simple 2 key key press process to 'sleep
the screen, and then to 'wake' it back up. One would think this would be
fairly simple to remember, done at the keyboard tap those 2 keys and
the screen sleeps. Couple this with a mouse that has a visable lamp so
it indicates the laptop is really on and not totaly off or deep sleep
and I think you are set. a simple visual clue the laptop is on, and try
the 'wake' the screen keys if its dark.



Ads