I was having this issue recently as well. I went into the Battery and Device Care and clicked on the Optimize Now button. this closed down background apps and my phone was able to charge again. I still haven't figured out which app is causing the iss...