Have been running the latest snapshot (m4) of CM11. Unplugged the phone the other morning and it thought it was still plugged in (charging symbol and all). I rebooted and it seemed fine.... Until I tried to dock it to play music. Worked intermittently for a few hours and then stopped all together.
I left it plugged in at work for ~30 mins, and it finally recognized the usb and starting charging. Eventually stopped working again. Now it will only charge while the phone is off. I've tried different usb cables, reflashing, full wiping, different ROM (shostock) to no effect.
Any help would be much appreciated.