This article explains what to do if your phone is not charging.
My Android won't charge! This is the solution.
There are several causes for this problem, including (but not limited to) the following:
To figure out why your Android phone is not charging, start by troubleshooting the problem from the outside in.
Check the outlet or power source. The outlet you have your phone plugged into may not be working for some reason, so try a different outlet. Also try a different power bank or USB port on your computer to see if that fixes the problem.