It also happened to me with Samsung charger... I changed USB cable and everything seems to be working fine from that time... but I don't know if it's problem in USB cable with one contact missing or it just happen randomly.