I had this issue as well I was able to fix by turning on and off USB debugging, still RMA'd it as I don't fully trust the port anymore. Not sure what happened, it was working fine on the way to work, on the way home I plugged in the USB for Androi...
Here are the exact steps I followed and it worked.
Unplug the USB cable
Set USB debugging in developers' options to "on"
set usb debugging to "off"
Plug the cable back in
Swipe settings down. You should now see a section "USB charging this devic...