The original cable got damaged. Then I bought another cable. It was doing fine for couple of months. Then the cable tip started gettibg hot. So I changed it again.
In the last month I realised that my phone gives error NO SIM DETECTED. And also the charging became very slow