Question Why does my phone only charge when it's on, but doesn't when it's off

Mar 2, 2019
1
0
10
My phone was showing something like; connected with the OTG cable, go to settings and disconnect OTG, meanwhile OTG cable isn't connected.
That's what it showed before it stopped charging