I had a similar problem. My N7 would charge for 5 secs and then disconnect for 10-15 secs, and then charge for five secs again. Then, I bent the micro USB that goes into the device a bit upwards (positioned so that the screen is facing upwards) and then it had no problems charging. Don't bend it...