Sorry for bumping the topic, but I had the same problem.
The power button was broken, and was constantly pushed in. The device rebooted all by itself, and couldn't charge.
I replaced the power button and it all works like a charm right now!
Sorry for being to late, but I discovered yesterday
Proud owner of a HTC One X