My HTC ONE only charges powered off.
Look the video of the problem. http://www.youtube.com/watch?v=_6NSCccjWkE
I tried the trick of the light (Hold VOL UP + Vol Down + Power button + sensor for front light) fixed, but the problem came up again, and now anything I do it back.
It seems a problem with OTG.
My car charger has an LED indication when the load is connected in the car.
When I connect the HTC, and disconnect the car, the charger light is lit.
Not meeting solution.