Before going to pay for a repair or pay for a brand new phone.
Check the area where you charge your phone and see if it may need a clean.
Here is an example of what we are saying