Hi, if your iPhone has symptoms: not charging with any cable, charges only if it is off or heats badly once charging, drains battery very quickly. Cause of it is iPhone was dropped, water damaged, cheap cables or/and charger. Solution is to replace/reball iPhone charging IC on motherboard of your iPhone.   

iPhone u2 ic repair 1

iPhone u2 ic repair 2