If your phone is not charging properly or not charging at all, it's likely that the charging port board has developed a fault and needs to be replaced. If you have issues with either of these components, this board is what you need to repair your phone.
eBay