Just created an account to respond to this. I was having the exact same issues the last few days. I must say it was so frustrating that i purchased a new battery and external charger as a work around. Turns out i didn't need it, as it has suddenly fixed itself (for how long i don't know).
Looking back on the whole saga it seems that it all started from me using my car charger. I'm not sure the ins and outs but i suspect the power it was supplying was dirty and the phone didn't like it. The only way i could get it to charge was on my pc usb, and even that was very unreliable. Took forever to charge and the charge would't last. That, and sometimes it would constantly disconnect/reconnect and i would get a message saying that my usb device had failed.
Today when i went to work i decided to plug it into my car charger and was able to squeeze a bit of juice into it. It wasn't until i was on my way home later when i plugged it in the screen lit up as it should (something it wasn't doing the last few days) and when i got home, plugged it into my AC charger, all was good again. It seems the same thing that 'broke' it, fixed it.
I really thought my phone was dead and i wasn't really keen to get the usb replaced as others here and elsewhere suggested. Another fix was to bend the pin upwards toward the screen to provide a better contact, this didn't work for me.
Anyway, something to try before you perform surgery on your phone. Or you could go down the route of an external charger. Was $10 on ebay.
Edit: Mine phone is a GSM nexus on 4.2.2 and was crippled by a cheap car charger from ebay which i have since binned