I found out what the problem was! It was not the charger, it's because of the phone. My phone stops charging when the phone is overheated it's a safety mechanism that kicks in to stop the phone from over heating.If I'm doing something that takes up a lot of power, I have to let the phone cool...