1. Check to see that your laptop power cable is not damaged.
2. Clean the charging port of your laptop with a dry cloth.
3. Check your laptop’s power settings and make sure it’s not set to conserve power.
4. Ensure that the power outlet is working and supplying power.
5. See if using a different power socket helps.