HP Laptop windows 11 64 bit shuts down after a while when the charger is plugged in.

Samson Soboka 0 Reputation points
2026-08-21T21:37:50.94+00:00

my laptop hp with operating system of windows 11 based 64bit is shuts down after a while when the charger is plugged in.

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

3 answers

Sort by: Most helpful
  1. Kai-H 26,135 Reputation points Microsoft External Staff Moderator
    2026-08-26T10:12:37.9166667+00:00

    Hi, Samson Soboka

    This behavior is more consistent with a charger, battery, overheating, or internal power-circuit problem than a normal Windows shutdown setting. A sudden power-off without an error message especially points toward hardware protection being triggered.

    Besides the solutions provided by the Q&A Assist, here are some suggestions you can try: 

    Shut down the laptop and disconnect the charger. Inspect the charger cable, connector, and laptop charging port for bent pins, looseness, burn marks, or unusual heat. Do not continue using the charger if you notice damage. HP notes that an adapter can stop output because of overcurrent, overheating, or a short circuit. HP AC adapter troubleshooting

    Note: This information is provided as a convenience to you. The site is not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 

    Turn on the laptop and repeatedly press Esc at the HP logo, then press F2. Under Component Tests, run the Battery and AC Adapter tests. Record any failure ID displayed.

    Reset the laptop’s power controller. Turn it off, unplug the charger and accessories, hold the power button for about 15 seconds, reconnect only the charger, and start it again.

    Test with another genuine HP charger of the exact required wattage, if available. If the diagnostics fail, or the laptop still shuts down with a known-good charger, contact HP because the battery, charging port, or motherboard power circuit likely needs inspection.

    Thank you for your patience in reading, I hope this information has been helpful to you. 


    If the answer is helpful, please click "Yes" and kindly upvote it. If you have extra questions about this answer, please click "Comment."    

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?


  2. John Jefferson Doyon 86,980 Reputation points Independent Advisor
    2026-08-21T22:32:08.6566667+00:00

    Hi, @Samson Soboka

    This could be caused by overheating, a charger or battery issue, a power-management problem, or a Windows/driver error. Since it happens while the charger is connected and the laptop restarts afterward, it would help to narrow down whether this is a hardware or Windows issue.

    1. Does the laptop shut down only while the charger is connected, or does it also happen when running on battery?
    2. What is the exact message or error you see before it shuts down and restarts? If possible, please share the error code or a photo of the screen.
    3. What is the exact HP laptop model, and are you using the original HP charger that came with it?

    Also, does the laptop feel unusually hot or does the fan become very loud before it shuts down?


    Click "Add comment" to let me know.

    Thanks!

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-08-21T21:38:08.8533333+00:00

    Try these Windows 11 checks first:

    1. Open Start > Settings > System > Power & battery > Screen, sleep, & hibernate timeouts.
      • Check whether the device is set to sleep after a short time when plugged in.
      • Increase the When plugged in values for:
        • Turn my screen off after
        • Make my device sleep after
    2. If the device is restarting or shutting down unexpectedly instead of only sleeping, treat it as an unexpected restart issue:
      • Remove any newly added hardware.
      • Start the PC in safe mode.
      • Right-click Start > Device Manager and look for devices with an exclamation mark. Update the driver for those devices. If that does not help, try disabling or uninstalling the device.
      • Make sure the drive has about 10% to 15% free space.
      • Go to Start > Settings > Windows Update and install the latest updates.
      • If the problem continues, try restoring Windows 11 with a restore point or another recovery option.
    3. If the problem happens only when USB-C charging is used, check for USB-C warnings:
      • Select Search, type usb, and open USB settings.
      • Check whether Windows is showing USB connection notifications such as Slow charger, PC isn't charging, or USB device might need more power.
    4. If the laptop is on Windows 11 version 23H2 and the issue is that shutdown or hibernation causes a restart, install the latest Windows update. A known issue affecting some PCs with Secure Launch or VSM after the January 13, 2026 security update was resolved by updates released on February 10, 2026 and later.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.