Why does the HTC Desire 820s sometimes hang when connecting to charger?

Im use an duplicate charger for my phone.some tyms i connecting the charger in chargeing tym my phone wil hang.i dis connecting my charger its solved.any one can feel this same problm????
Please reply fasttt

Not the answer you were looking for?