As BobTheFisherman says, that is simply NOT a problem.
Your MacBook Pro uses ‘smart charging’ to charge in the optimum way, and only when necessary. Plugged in is Not necessarily actively charging. There is substantial hardware and software cooperating on battery and charging issues. Simply asserting a charging voltage against one of the interface(s) will NOT successfully charge your MacBook Pro.
Any external power supply that provides "USB Power Delivery" (including certain Docks and Displays) must negotiate over the USB cable using USB Power Delivery Protocol, and can not 'force itself' on your Mac. The Voltage and Current are delivered only after your Mac requests and the charger agrees to supply power under certain controlled conditions. The computer is in control of the entire process.
On a MagSafe power adapters, the little green and amber LEDs are set by commands from the Computer.
In general, you should ALWAYS connect AC power when it is possible to do so, and only run on batteries (which could be somewhat slower) when no AC sources are at hand. Your Mac will NEVER over-charge.