General Droid Razr says it's charging but isn't. Need help

view story

http://androidforums.com – I got a Razr a few weeks ago and rooted it, all was fine until a few days ago it stopped charging. When I plug it in the charging icon starts but the percent never goes up and the phone continues to die. This is the third time in as many days that it's happened. I've tried AP SBF flash booting and pretty much every other boot option and eventually it starts working after enough tries. Anybody have any idea why this happening and/or how to fix it? (General)