My Xperia Z2 cannot charge using Usb cable. When connect the cable the charging icon start blinking like the cable is connected and disconnected. in this condition the phone doesn't charge but discharge really fast. Moreover is not possible to connect to the computer to update our sync because windows never establish an usb connection for the same problem of the charging. This problem does not happen when charging using the magnetic cable or stand. This is the second Z2 with this problem. The first has been replaced by Sony with this one, with the same problem.
Look at this video
https://youtu.be/Bhv3waE3c0M