My oneplus X is not charging while powered on but the strange thing is it starts to charge once switched off. Why? After 3 month of rooting my xolo q1011 , it stopped charging and it charges while it is switched off, why this is happening?