Get an old tooth brush put some rubbing alcohol on it SHAKE IT UNTIL DAMP and scrub out the plug a few times. Then take a DROP of WD-40 (I know, sounds bad but trust me) and put it in the charge port. Probably easiest to do so with a toothpick or similar. I just had the exact same issue except mine would only charge when off and cleaning the port like this has made it charge like new, even brought back some charging speed I didn't know I lost.
+
+
And then I realized I had the problem on my One M7 not my One X, but it should still be the same solution.
Get an old tooth brush put some rubbing alcohol on it SHAKE IT UNTIL DAMP and scrub out the plug a few times. Then take a DROP of WD-40 (I know sounds bad but trust me) and put it in the charge port. Probably easiest to do so with a toothpick or similar. I just had the exact same issue except mine would only charge when off and cleaning the port like this has made it charge like new, even brought back some charging speed I didn't know I lost.
+
Get an old tooth brush put some rubbing alcohol on it SHAKE IT UNTIL DAMP and scrub out the plug a few times. Then take a DROP of WD-40 (I know, sounds bad but trust me) and put it in the charge port. Probably easiest to do so with a toothpick or similar. I just had the exact same issue except mine would only charge when off and cleaning the port like this has made it charge like new, even brought back some charging speed I didn't know I lost.
Get an old tooth brush put some rubbing alcohol on it SHAKE IT UNTIL DAMP and scrub out the plug a few times. Then take a DROP of WD-40 (I know sounds bad but trust me) and put it in the charge port. Probably easiest to do so with a toothpick or similar. I just had the exact same issue except mine would only charge when off and cleaning the port like this has made it charge like new, even brought back some charging speed I didn't know I lost.