Help my Iphone won't charge?

It's an iphone5 and it won't charge. It shows the green battery icon but in not only doesn't charge. It completely does the exact opposite of what it's supposed to do! Yes I got the wire from on amazon but it worked for several weeks not it suddenly starts acting like this. Turning it off doesn't seem to help. Help!

Added (1). *but doesn't charge

It's not gonna work. You have to get a new one from Verizon.