updated schematic with charge termination current resistor