I have this with a 10" tablet.
The USB cable is a little 'slack' in the port on the tablet, and after investigation I found that unless the tablet is placed 'face down' when charging or transferring data, the PC keeps telling me it has disconnected/connected.
Isn't it amazing that a thin cable at rest has enough weight to 'pull' the plug part down away from the pins in the socket