Laptop shutting down when lid is closed for more than 2-3 hours

Anonymous
2025-01-31T19:51:05+00:00

Recently, my laptop has been shutting itself down when left idle for long enough, even though I have it set to sleep when closed. I've looked through the power and battery settings and couldn't find anything that shuts the laptop down automatically. I've tried turning off fast startup and downloading all available Windows updates, but nothing works.

I have an HP laptop with Windows 11 with build 26100.3037. The processor is an AMD Ryzen 5 7520 U.

Windows for home | Windows 11 | Sleep and Power on, off

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2025-02-04T21:31:10+00:00

    After further testing, this did not solve the issue, unless my laptop is missing a "Hibernate" tab for some reason. It shut down after exactly one hour of inactivity, although there have been instances where it shuts down earlier than that.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2025-02-03T04:37:07+00:00

    This option is under “System Devices”. If your computer does not have any “Intel” related devices under any of the device tabs, then your computer is probably on the AMD platform.

    Based on your latest description, it looks like the power plan may have shut down the hard disk. You can check if the following options are working.

    1. Type “Edit power plan” in the search box on the taskbar and open the program.
    2. Click on “Change advanced power settings (C)”.
    3. Go to “Hard disk” - “Shut down hard disk after this time” and set both options to “Never”. (Entering 0 means “Never”.)
    4. Go to “Hibernate” - “Hibernate after this time” and set both options to “Never”. Click “Apply”.
    5. Go back to the page you opened in the first step. Click on “Power Options” in the upper address bar. Then click on “Select what closing the laptop lid does” on the left menu bar.
    6. Ensure that the function of the computer lid is set to “Do nothing”.

    Best Regards,

    Raylan-MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-02-02T00:37:27+00:00

    In Device Manager, there are no tabs or items called "Intel Management Engine Interface" (or anything containing "Intel", for that matter.)

    I've also noticed that the time until the computer shuts down seems to be varying a lot as of recently. It just shut down again after twenty minutes of inactivity, but sometimes it doesn't shut down even after being closed for 12+ hours.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2025-02-01T08:36:20+00:00

    Hi Autranaut.

    Welcome to the Microsoft Community.

    Your computer will shut down after the box cover has been on for a few hours, even if it is set to close the computer cover without turning the computer off. This is an intentional design to prevent the computer from staying on without the owner's knowledge. You can turn off this feature by doing the following:

    1. Press and hold “Win + R” at the same time and type “devmgmt.msc” in the text box that appears, then click “OK”. You will open the Device Manager.
    2. Find “Intel® Management Engine Interface”, right-click on it and select “Properties”.
    3. Switch to the “Power Management” tab and uncheck “Allow computer to turn off this device to save power”.

    If you have set your laptop not to do anything when the lid is closed, then your computer will not shut down automatically when the lid is closed.

    Best Regards,

    Raylan-MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2025-02-04T12:14:13+00:00

    I was able to find the setting to disable the automatic hard disk shutoff, but it was set to turn it off after 1 minute, which doesn't line up with the 2-3 hours it takes to make it shut off.

    Additionally, I found a "Sleep" tab, but not a "Hibernate" tab. Are these the same thing?

    Was this answer helpful?

    0 comments No comments