Not charging when on

My Dell venue 11 pro suddenly stopped charging when turned on. It charges when it is off. When on it shows that it is plugged but no charge symbol. I tried holding power button in for a few minutes. I tried removing battery for while . The diagnostics shows battery is okay.

crwdns2893858:0crwdne2893858:0 crwdns2893862:0crwdne2893862:0

crwdns2894050:0crwdne2894050:0

crwdns2889612:0crwdne2889612:0 0
crwdns2892346:0crwdne2892346:0