By “shows charging” you mean “red light on”? Makes the little click noise when you plug the phone into the dock? Battery icon (on lock screen and at top right when unlocked) indicates charging? (Should be “all of the above”.)
Please post output from
cat /sys/class/power_supply/max170xx_battery/current_now
A negative number indicates discharging e.g. on my phone right now -660805 and the value is in uA (microamps), so that’s about 0.7A discharging.
Good charging for me is 1.6A and slow charging may be around 0.6A give or take.
Seemingly, it is normal for the charge current to drop asymptotically as you approach fully charged. So with the battery at, say, 20% it might be charging at 1.6A but with the battery at, say, 90% it might be charging at 0.4A give or take.
Please also post the output from
sudo cat /sys/kernel/debug/tps6598x/0-003f/customer_use