You need more cat /sys/class/...
to look at the actual current flow with the battery, rather than the option negotiated with the (potential) power source (over USB).
e.g. cat /sys/class/power_supply/max170xx_battery/current_now
should be negative if discharging.