I am having the same problem in my device. I am able to charge it if it is switched off but it doesn't charge when phone is switched on.
I showed the problem to service centre guys and they told me that it is a PCB issue and it needs to be replac...
Thanks pranjal 18 great job
It work like a charm did exactly how you described only cwm recover downloaded from xda since the link showed virus
Loaded buzz rom via mobile uncle
Download 1.2 patch, because it had battery drain download