Any heavy usage or background processes can affect charging performance. Turning off your phone completely might also help your smartphone battery phone charge better.
Sometimes a simple restart will get all your phone’s gears in place and have it working properly. This is a magical fix for all things tech, and it works most of the time.
Move to a regular outlet and see if this gets rid of your charging woes. Those trying to charge using a USB port in a computer or power strip might not be getting the juice the smartphone needs to charge properly. Additionally, some power sources can be weak.