I've had this issue before where it would display "charging" icon even though its not plugged in and when its plugged in, it wouldn't charge.
I used a knife to stick in the usb port of the phone and pressed it down or up. Everything works fine now :)
Sent from my Galaxy Nexus using Android...