- Check that the laptop is plugged in.
Plug in the charger and make sure the light on the charger is on. - Restart the laptop.
Use the power button to reboot the computer. - Verify that no external device is causing the problem.
Unplug all external devices, such as an external mouse or an external hard drive. Then, restart the laptop and see if the problem persists. - Check for any updates that may require restart.
Go into the settings and check for any updates that need to be installed. If there are any, install them and restart the laptop. - Check the laptop's power settings.
Go into the laptop's power settings and make sure that sleep mode is enabled. You will also want to make sure that the laptop isn’t set up to shut down when plugged in.