Stop PC "sleeping" when display turns off? v19044.1288

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #11

    Not Bob said:
    I've been avoiding hibernate just for the sake of saving my SSDs from needless write cycles, but I might enable it just to try and troubleshoot.
    Any current SSD is going to outlive the computer anyway.
    My SSD is at about 84% life remaining after two years use according to CrystalDiskInfo.

    I don't know if trying Hibernation is going to yield any useful diagnostic info but I would try in the hope that it did.
    In my previously-S0 computer, Hibernation is the only option I have because disabling S0 did not enable S3 Sleep in my case. It's easier than only having the option of turning it off when I finish with it.

    When I disabled S0, I had to reinstall my WiFi driver because it kept faulting after waking from Hibernation. That was the only side-effect I suffered & it has been fine since. That's why I suggested reinstalling the display driver.

    S0 is an Intel initiative but MS & hardware makers seem to revel in it. I think it's a curse.

    All the best,
    Denis
      My Computer


  2. Posts : 21
    Windows 10
    Thread Starter
       #12

    Since I last posted, I did a fresh Windows install, new drivers, etc. Still the same old problem.
    Out of curiosity I checked your event viewer, with S0 enabled and what's happening is that my machine is going into standby when the screen turns off due to an idle timeout.
    What I can't figure out is if I have Cinebench running (100% CPU usage) how can the computer think it's idle? And secondly, why does it still happen when S0 is disabled (powercfg -a confirms it's disabled, but nothing shows up in the event viewer - as before)
    I've gone through pretty much everything I can find in Group Policy to fix it (power throttling, sleep settings) but to no avail.

    I have started using hibernate so at least my battery isn't getting drained overnight if I don't leave the laptop plugged in, so that's one S0 issue fixed. I was hoping you might have some further insight into why turning the display off is triggering an idle timeout

    <edit> I literally just thought of a workaround. When I'm running on AC I set the display to never turn off and no action when I shut the lid. An interesting fact is that shutting the lid does turn the display off as expected (confirmed due to it taking a second or so when I open the lid for the display to turn on again) without triggering the timeout.
    The problem with doing this is my laptop will be running 24/7 due to the fact I'm sooo used to having it sleep/hibernate when I close the lid and will never remember to manually hibernate the damn thing.
      My Computer


  3. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #13

    Not Bob,

    I think your Event viewer is telling you that it is entering / exiting "Connected standby", i.e. S0, when your Power options turn off the screen. That's correct, display off = S0 kicking in.

    If there is no physical user input then Power options turn off the screen. If Power options turn off the screen then the computer notes that as being idle even though that is not correct.

    If your computer has S0 disabled & S3 Sleep enabled then this is what you should see in that Event viewer entry when Power options tells S3 Sleep to start:-
    Stop PC &quot;sleeping&quot; when display turns off? v19044.1288-entering-s3-sleep.png

    If you continue to use S0 then I believe you will continue to need to keep your computer plugged in.

    All the best,
    Denis
      My Computer


  4. Posts : 21
    Windows 10
    Thread Starter
       #14

    So if I'm following you correctly, there is no way not to have the screen shut off (through power options) without it triggering an idle timeout? If so, that's an epically stupid way of judging idle status (my cpu is maxed out for crying out loud, so what if I'm not using the keyboard or mouse).
    Sadly Lenovo dropped S3 from their machines so I can't use the proper sleep modes and I don't think there is a hotkey to turn the screen off either.
      My Computer


  5. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #15

    If you have S0 enabled then
    - When Power options turns off the display, S0 starts [I wouldn't care whether it was calling it an 'idle timeout' or not, it's the onset of S0 that matters.
    - I spent a while with S0 enabled making Power options keep my screen 'on' the whole time but having a screensaver set up for 1 minute / 2 minutes / whatever and that kept S0 at bay because the display was still on even though my screensaver was a blank one so it looked similar to being off.
    - You can set up something like a hotkey to initiate a screensaver so that might suit you. It would actually be a shortcut to the screensaver file e.g. C:\Windows\System32\scrnsave.scr
    - Your applications will keep running normally when the display is using the screensaver.

    I also found that disabling S0 did not enable S3 Sleep so I am in the same boat as you. I only have On, Hibernate, Off.
    - Many people have found that disabling S0 automatically enables S3 Sleep.
    - I still feel better off than having S0. At least my applications keep running normally when the display is off.
    - My WiFi adapter needs to be jolted into working if I wake from hibernate. I have a script to do this so it's no bother really.


    All the best,
    Denis
      My Computer


  6. Posts : 21
    Windows 10
    Thread Starter
       #16

    Man, are they just giving away software engineering degrees with every Happy Meal sold now
    When I first got my Win. 10 machine I thought that all the hate just amounted to grumpy old men yelling at Microsoft to get off their lawns. Now that I've been using it for ages, I see how bad things have gotten - and I haven't dared to look at Win. 11 yet

    If you check back to one of my first posts, there's a screenshot showing I have no S3 (or any other s state for that matter) when S0 is disabled. The machine does still exhibit the same behaviour as when S0 is enabled though. Nothing will be displayed in the event viewer about it, so I'm wondering if it hasn't been baked into the firmware.

    Over on the Legion Discord somebody mentioned there's progs that can simulate a keypress at a set interval so Windows doesn't assume the machine is idle. Pretty bad when you need to trick the machine into not shutting off
    Also rethinking about, that prog will also prevent the display from turn off which is exactly what I don't want
      My Computer


  7. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #17

    "simulate a keypress at a set interval" - It would be simpler to just set Power options to keep the display on. That would have the same effect.

    You could, if you wanted, have a subtle message drift across the screen as part of the screensaver telling you that S0 has not been triggered.
    Stop PC &quot;sleeping&quot; when display turns off? v19044.1288-ssmarque-example.jpg
    It's an old WinXP screensaver
    ssmarque.zip
    and you just need to unzip it, copy it to
    C:\Windows\System32
    then open screensaver settings
    C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1
    select it then click on Settings... to set the words, font & whathaveyou.

    By the way, I think you replied to my last message while I was still fiddling with it. I had re-read the thread & realised that I had forgotten what you had previously told me so I changed what I wrote to suit.

    All the best,
    Denis
      My Computer


  8. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #18

    Not Bob said:
    Over on the Legion Discord somebody mentioned there's progs that can simulate a keypress at a set interval so Windows doesn't assume the machine is idle.
    It is not idle that initiates S0.
    It is the display turning off that initiates S0.

    Denis
      My Computer


  9. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #19

    Not Bob said:
    Man, are they just giving away software engineering degrees with every Happy Meal sold now
    That is very cynical.
    No, they have to be paid for.
    My local supermarket sells them for about 0.25p each [they sell them in rolls of about 320].


    All the best,
    Denis
      My Computer


  10. Posts : 21
    Windows 10
    Thread Starter
       #20

    The biggest kick in the teeth is my machine seems to work exactly the same regardless whether S0 is disabled or not - it stills goes into "standby" when the display turns off even though Windows won't admit it's happening

    I'd just switch to Linux if it wasn't so user-antagonistic, but until then I guess there's really nothing else to do but close my eyes and enjoy the race to the bottom

    Cheers
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:35.
Find Us




Windows 10 Forums