Check your laptop’s charging port. Make sure no dust or debris has collected inside. If the port is dirty, turn off your laptop and clean it. One possible cause of this issue is outdated BIOS.
The problem may be with your laptop’s charging port. If your laptop’s warranty has expired, take it to a professional computer repair shop. That’s it. I hope this helps. Is static ...