• Laptop suddenly goes to sleep when lid closed

    Home » Forums » AskWoody support » Windows » Windows 10 » Windows 10 version 22H2 » Laptop suddenly goes to sleep when lid closed

    Author
    Topic
    #2584208

    I have an

    Asus Vivobook laptop and have always had it set to NOT hibernate or go to sleep at all, unless the battery goes flat.  I cannot be doing with the wait every time I open it up so all closing the lid is supposed to do is turn the screen off.

    Following the installation of this month’s updates it has decided to sleep of it’s own accord.

    I have checked all the power settings, advanced power settings, and hidden power settings and all are as I set them to prevent the system going to sleep when I shut the lid.  And, yes I’ve checked the “what to do when I close the lid” settings.

    I have uninstalled all the updates except 5028166, which will not uninstall.

    I’m now at a loss as to what to do next.

    Any ideas would be welcomed before I take the final step of reinstalling a backup image.

    Viewing 16 reply threads
    Author
    Replies
    • #2584214

      https://support.microsoft.com/en-gb/topic/july-11-2023-kb5028166-os-builds-19044-3208-and-19045-3208-eab49ea6-3133-41c8-845f-a14a329c6c20
      That’s a normal update and should uninstall.

      Is there a firmware update for the laptop available?

      Susan Bradley Patch Lady/Prudent patcher

      1 user thanked author for this post.
    • #2584239

      what is the model number of the Asus Vivobook laptop are you using, den4?

      there are SO MANY models of Asus Vivobook (like Vivobook 13, Vivobook 14, Vivobook 15, Vivobook 16, Vivobook 17, etc. – I could go on and on and on listing more model nos. of these if I wanted to) that you need to provide more info about it

      1 user thanked author for this post.
    • #2584249

      This is somewhat of a longshot for a fix but I have experienced this before on other systems and the steps below have corrected it for me. These steps seem to only work from the power options in the control panel not through the Windows settings interface found in Windows 10/11.
      In control panel>power options (Windows logo key + R to open run and type powercfg.cpl to open directly) go to “Change plan settings” for your current power plan. In there any values you have set to “Never” toggle to a timed value and save changes. Go back into “Change plan settings” for your current power plan and toggle the values back to “Never” and save changes.
      Under power options select “Choose what closing the lid does”. In there any value you have set to “Do nothing” toggle to a different value (like sleep) and save changes. Go back into “Choose what closing the lid does” and toggle the values back to “Do nothing” and save changes.
      For some reason Windows can get confused what the settings are supposed to be and toggling the values appears to get the settings reflected correctly for the system.

      • #2649098

        wow, you are a genius, microsoft sill did have not fixed it

    • #2584330

      This is somewhat of a long shot for a fix but I have experienced this before on other systems and the steps below have corrected it for me. These steps seem to only work from the power options in the control panel not through the Windows settings interface found in Windows 10/11.

      In control panel>power options (Windows logo key + R to open run and type powercfg.cpl to open directly) go to “Change plan settings” for your current power plan. In there any values you have set to “Never” toggle to a timed value and save changes. Go back into “Change plan settings” for your current power plan and toggle the values back to “Never” and save changes. Under power options select “Choose what closing the lid does”. In there any value you have set to “Do nothing” toggle to a different value (like sleep) and save changes. Go back into “Choose what closing the lid does” and toggle the values back to “Do nothing” and save changes.

      For some reason Windows can get confused what the settings are supposed to be and toggling the values appears to get the settings reflected correctly for the system.

      1 user thanked author for this post.
    • #2584352

      Thanks all for your replies.

      Current state of affairs : –

      The model is a X712J Notebook.

      The MyAsus app (which I’ve never even used before, I just considered it more bloatware) showed a BIOS update which is now installed.  There were also updates for the sound, graphics, camers and touchpad which I also installed.

      Tried ZombieStew’s suggestion.

      All to no avail, it still won’t do what it always did before the updates.

    • #2584353
      Windows - commercial by definition and now function...
    • #2584576

      The mystery deepens.

      Today it sometimes opens up instantly as normal and other times it still has to wake up.  There doesn’t seem to be a pattern to it either, sometimes it will come back immediately after being shut for a few hours and sometimes it wants waking up after a short time.

    • #2584585

      Intermittent physical lid switch/ actuator/ sensor fault?
      Have been known to falter over time, think about how often you open and close the laptop lid..

      Windows - commercial by definition and now function...
    • #2584587

      Getting started debugging power transition issues:

      control powercfg.cpl
      control powercfg.cpl,,1
      powercfg /?
      powercfg /sleepstudy /?
      powercfg /systemsleepdiagnostics /?

      Windows 10 22H2 desktops & laptops on Dell, HP, ASUS; No servers, no domain.

    • #2584597

      den4 – have you tried using the reliability tool in Win11? It may help to pinpoint issue(s) you have. I had similar problem recently although a different machine and I kept getting Windows did not shut down properly (even though it did shut down properly) and “faults” related to shutdown buttons configuration but also a power issue showed up in Reliability Monitor. Took me days before I found the fix that worked for me.

    • #2584712

      The reliability tool shows repeated instances of 2 things recently: –

       

      Description
      A problem with your hardware caused Windows to stop working correctly.

      Problem signature
      Problem Event Name: LiveKernelEvent
      Code: 141
      Parameter 1: ffffcc0648327460
      Parameter 2: fffff805501c6bc0
      Parameter 3: 0
      Parameter 4: 4f0
      OS version: 10_0_19045
      Service Pack: 0_0
      Product: 768_1
      OS Version: 10.0.19045.2.0.0.768.101
      Locale ID: 2057

       

      Faulting application name: backgroundTaskHost.exe, version: 10.0.19041.546, time stamp: 0x1d3a15e7
      Faulting module name: KERNELBASE.dll, version: 10.0.19041.3155, time stamp: 0xbf300201
      Exception code: 0xc000027b
      Fault offset: 0x000000000012d8b2
      Faulting process ID: 0x4464
      Faulting application start time: 0x01d9da6d90b47780
      Faulting application path: C:\Windows\system32\backgroundTaskHost.exe
      Faulting module path: C:\Windows\System32\KERNELBASE.dll
      Report ID: 8bf7a5ac-5364-413a-8ebe-6f89c6090648
      Faulting package full name: Microsoft.YourPhone_1.23062.153.0_x64__8wekyb3d8bbwe
      Faulting package-relative application ID: App

      • #2584737

        Note: PS = Powershell

        To get the system to a level playing field, I’d suggest the following before anything else. Whilst online, copy/paste the following command into PS (as admin)

        DISM /online /cleanup-image /restorehealth

        Then, once complete, run within cmd prompt or PS (as admin) the following:

        sfc /scannow

        This should resolve any underlying system issues upon system restart.
        Then recheck the reliability tool and let us know..

        Windows - commercial by definition and now function...
    • #2584770

      Note: PS = Powershell

      To get the system to a level playing field, I’d suggest the following before anything else. Whilst online, copy/paste the following command into PS (as admin)

      DISM /online /cleanup-image /restorehealth

      Then, once complete, run within cmd prompt or PS (as admin) the following:

      sfc /scannow

      This should resolve any underlying system issues upon system restart.
      Then recheck the reliability tool and let us know..

      Thanks for that suggestion.  I have done that and will monitor it till tomorrow and report back.


      @oldfry
      .

      I ran the diagnostic but the report was not very clear to me what had happened, if anything.

       

      • #2584852

        Den4 – OK – Good you ran the Reliability tool. This will also will show you dates when these lid probs started (probably after recent win11 update??) –  don’t worry too much about those reports just now. I was going to suggest you next run the options as suggested by Microfix but as you have done this now at least those 2 tools will try to “fix” the problem but don’t be surprised if they don’t fix or if the problem comes back….you might then think to try the on board Win 11 Repair tool to repair Win11 while keeping all your files intact – worth a shot but this didn’t fix the problem for me after doing Repair windows 11 – all it did was wipe my old Reliability reports – and start a new set of similar reliability issues reports but at least this helped me narrow down problems.   This led me to think it is simply something in recent Win11 setup that confuses the lid settings for individual users (like us). As you know, Win 11 made a change from Win 10 when machine not used it is set to “sleep” but users can alter sleep options to suit themselves – as we both did – and get back to but for the lid problem this update seems to have caused. Also, one of the Reliability issues relates to kernal power – so unplug everything plugged into to laptopp using USB power plugs (e.g., fan cooler, external keyboard, etc. wifi mouse dongle ok as mouse got own battery power source. After I did this the kernal power issue went away so I was able to fucus on the lid issue. Before we go into those settings maybe your problem is now solved??

         

         

    • #2584853

      Well it was back to snoozing overnight so the problem has not been cured.


      @MartyM

      I’m on W10 22H2 not W11, and I do not have anything plugged into usb ports.

      I reran the reliability report this morning (UK time) after it’s O/N snooze and it shows absolutely nothing for yesterday the 1st, but it still has the problem.

      I also rechecked the power settings and they are still set to stop the laptop from sleep or hibernation.

      • #2584864

        See here for Win10 Repair/Restore options.

        https://www.laptopmag.com/articles/repair-windows-10#:~:text=Navigate%20to%20the%20Windows%2010,computer%20has%20booted%2C%20select%20Troubleshoot.

        If you go down this route make sure you opt to keep all your docs. However, repair/restore/reimage removes other stuff (drivers, progs) you might want to keep.  I always go K.I.S.S and try the simple options first. Reliability gives dates that might help identify when problem started so you could try system restore before problem date??

        Maybe Microfix is on right track “Intermittent physical lid switch/ actuator/ sensor fault?” – so why not adapt to the problem and use the On/Off or Sleep button instead of closing the lid?

        These are my win11 fiddling’s – probably not too different from Win10 but just a different way to get to the Control Panel
        Open the old Control Panel (not the settings app)
        At the top of the old Control Panel, set view to icons
        Open Power Options
        On the left, click ‘Choose what the power buttons do’
        At the top right, click ‘Change settings that are currently unavailable’
        Under ‘Shutdown settings’ disable ‘Turn on fast startup’
        Save, close Control Panel and restart (not shut down) your PC to apply new setting.

        I set my system (battery and power) to:
        When i press Power button – Shut Down
        When I press Sleep button – Sleep
        When I close Lid – Do Nothing

        These Control Panel settings is where you might need to fiddle about more (turn on/off, restart, until you find something that works – it’s just logic – if problem persists try something different) than suggested above/below….
        ——
        Shut down Settings
        Turn on fast Start up (recommended) – I unticked
        Sleep (show in Power Menu) I ticked this
        Hibernate and Lock I both unticked.

        In my internet travels recently trying to figure my problem, I came to a Microsoft page asking for users experiencing lid closure and shut down issues after recent (August ’23) patches – to report the problem to Microsoft. Sorry I didn’t note the URL (I learnt how not to go down Microsoft rabbit holes) – but it means they are aware and could be a patch will be made available this September month – BUT follow AskWoody patch advice about patches  – and I would try simple stuff as set out above first and maybe wait before re-image? Restore might work instead??

    • #2585101

      Yesterday it needed to be woken up first thing but then responded instantly every time until late afternoon when it took to snoozing again when I closed the lid.  Today it is following the same pattern so far.

      I checked the reliability report today and it is clear for the last 3 days which maybe suggests software somewhere.

      Decided to bite the bullet and do a system restore only to find, despite having System restore turned on, there are no restore points and that the space reserved for them is zero, not something I have changed.

      I’m beginning to think there is a virus on the system despite having MBAM Premium.

      Would an upgrade to W11 22H2 solve it do you think, keeping files and settings?

      I have been trying to avoid that until I really have to do it.

      The other thing I should mention is I use StopUpdates10 and only install updates when given the OK here at AskWoody.

      • #2585173

        You don’t say if you used Control Panel as suggested and had a fiddle about in there. Sometimes simple problems can be fixed by simple things like untick everything in those settings then restart and monitor then re-tick you preferences and restart again and monitor or do the opposite alternative, tick everything and restart and monitor then tick your preferences, restart and monitor. It’s a bit like switching on and off to fix a problem but with know twiddling between.

        I have win10 and win11 on different machines. In my view win10 is more stable as its been going longer than win11. Also, in my view, one of the best things about win 11 is system secure boot is enabled by default. You also have to check if your machine is compatible for win11 – and windows has it’s own free tool for that to self check – called PC Health Check so check compatibility first.

        Bit odd about no restore points available if your system is set to set restore points. Maybe no restore point set might not so bad if your system does have a virus because if it does you would have to remove all previous restore points to remove the virus as they often re-infect after cleaning by hiding in system restore so when you reboot after cleaning you get infected again. If that turns out the case and you still got the virus after deleting all restore points you would probably have to wipe the drives of data and clean memory modules too.

        Is your system battery power and charging ok? Maybe system going to sleep to save power.

        Malwarebytes is almost made to run alongside Windows Defender as a good second opinion so if it has not picked anything up it could be a good indicator there is no virus/malware on board your machine.

        You can do another simple check using Win10 on board Windows Defender (win defender was often found to be better than paid for antivirus) Have you tried running Win Defender on your system ?

        Go to Settings (cog) Update and Security – Windows Security – Click on Open Windows Security box at top of page – click on Virus & threat Protection in left pane – Look for Microsoft Defender Antivirus Options – Switch Periodic Scanning to ON – this will start to bypass MBAM so ignore any warnings, for now. Then you should see Win Defender options listings BUT WinDef will also start to download its latest updates so wait for that to complete then choose your options – maybe do a Quick Scan first – if it finds anything it should clean – if it does or doesn’t – click Scan Options and select Microsoft WinDef OFF line scan – this will then schedule an off line scan before system reboots – so select the option and reboot machine – so WinDef will scan your machine before it boots and will scan system restore before it has chance to load. If nothing you could try a Full Scan.

        There are other options available but if you stopping ALL microsoft updates  then maybe you have been missing out on the monthly free antivirus/malware tools  in every monthly patch Tuesday?? Could be making machine vulnerable. You can always set m/s updates to warn you whats in the updates so you choose what to install and run rather than block all.

        You can also download and run latest Microsoft MSERT and MSRT tools and run them separately (they do similar things but are NOT the same tools).

        Also, the free Sophos Scan and Clean tool online scanner is pretty good too, and then there is the Malwarebytes free adwcleaner free tool that is good at finding and fixing lurking potential unwanted programs running. Make sure to scan all and each tool with your MBAM after download and before open to run. If you have got malware onboard it may take you via browser infection to more bad stuff.

        I still think your problem is an outdated driver or settings issue.

        Of course, if you do find virus/malware – after you cleaned – remember to set a restore point but only do that after you are sure (check and double check you system) your system is clean – then set the restore point.

        Would be a good idea to do all these scans now before next patch Tuesday (soon) as if it is a Microsoft glitch you don’t want to miss the patch.

        Phew. Have fun 🙂 At some point you might wonder why you didn’t buy a Mac. I had the option years ago and chose to get the dark brown overcoat a.k.a, Windows!!

        I hope this stuff helps?

    • #2585534

      Sorry I forgot to mention, I did change the power settings and then back again, in fact I did it a couple of times recently.

      WRT viruses neither MBAM nor the inbuilt Windows one show anything so I also ran the ESEST on line scanner which was also clear.

      So I think we can eliminate a virus as the culprit.

      I do get the monthly malware updates when I install all the monthly updates when given the go-ahead here.

      When it comes to Win versus Mac- for one it’s too expensive for me and the programs I need will only work on windows or Linux (although some are Win exclusively) plus 30 years use with MS help me solve most of my problems.

      This one seems to be a bit more recalcitrant though!

      • #2586293

        As said before, this “recalcitrant” of yours must be either machine mechanical or an O/S bug (my suspect). If its a bug, its probably due to a faulty M/S patch (very common these days) but apparently you can’t system restore to undo. If not done already you need to allocate restore space to set future restore points. After running (again) (in this order) sfc /scannow and DISM /online /cleanup-image /restorehealth,  then set a restore point. The online restore health should override any corrupt o/s files in your library.

        I don’t know what else to suggest not already suggested before, as above. Have you tried emailing tech support at Asus about the problem – it might be driver issue or sensor  or something else they know more about.

        Seems to me a power/setting conflict. Try:

        https://www.bing.com/search?q=Lock%20your%20Windows%20PC%20automatically%20in%20Windows%2011&form=B00032&ocid=SettingsHAQ-BingIA&mkt=en-GB
        Also, look back into:
        system power and battery
        adjusting power and sleep modes
        changing power modes

        in case something obvious missed.

        I would avoid Win11 and stick with Win10 – just for reliability sake. Win11 is still in Beta mode, e.g., beta avoid it.

        1 user thanked author for this post.
    • #2610326

      Well after a lot of messing about trying all the suggestions given above and repeatedly trying to change the many power settings, including using power toys to force it to stay active, I gave up and dual-booted it with Linux Mint.   I now only use Mint on this laptop and the power settings behave perfectly.  This supports MartyM’s suspicion that it was something corrupted in the OS.  I did try sfc /scannow and DISM but neither worked.

      So many thanks for the suggestions and I think I’ll stick with Mint for now.

       

      1 user thanked author for this post.
      • #2610348

        Now it’s time to “repair install over the top”.

        cheers, Paul

      • #2610450

        I now only use Mint on this laptop and the power settings behave perfectly. This supports MartyM’s suspicion that it was something corrupted in the OS. I did try sfc /scannow and DISM but neither worked.

        You have to remember that installing Windows and accepting their “Terms” essentially means they take control of what was once your computer.

        Even astrophysicist Carl Sagan when speaking astronomically used Billions, not Trillions.
        1 user thanked author for this post.
    • #2610635

      Well done den4. Long time no hear back. I was wondering if you had resolved your issue and hoped you were just busy still resolving and not giving up on it as that would play into the hackers feeble minds. Charlie is correct in his latest comment which is a caution to us all.

      But still. Any “difficult” to resolve O/S issue, like yours in this instance, is worthy of tracking down and sorting out and not just accepting as a glitch. It probably means the system was compromised in some unknown way so well done to you for your tenacity and posting your solution here. This helps us all.

    Viewing 16 reply threads
    Reply To: Laptop suddenly goes to sleep when lid closed

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: