Charging issue

So I’ve just come across a weird issue with my phone.

If I have the power off and plugged in, it will charge completely fine. However if the phone is on and plugged in, it will charge for about 5 minutes maximum, then it will stop charging. I’ve tried tipping the charge connector up a bit, a ton of different cables, plugs, sockets and such but still got the same issue. My phone is a cubot X16 (Android Lolipop 5.1) . Any idea’s on how to fix is immensely appreciated, thanks!

If you can then reset your phone if it’s still not fixed then go to the nearest service center.