Here are some steps to follow to diagnose and rectify the issue with not charging your laptop:
- Check the power cord and its ports for damage
- Check that the power cord is firmly connected to the wall socket
- Check that the power cord is securely plugged into your laptop
- Check to see if there is a power issue in the wall socket
- Try another power cord and wall socket
- Check the laptop port and its pins for dirt or damage
- Check laptop USB or peripheral ports for power issues
- Check the laptop with diagnostics software to ensure its proper functionality
- Clean dust and debris from laptop air vents and fans
- Try resetting laptop’s Software Distribution Folder
- Run an antivirus to check if any malicious software is blocking the connection
- Replace any damaged electronics components