I had this problem with a laptop. It also got fixed when I bought a new adapter cable.