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.