Ron, how about taking your constant current circuit from post #33 and changing V3 to a pot. But drive the top of the pot from a 2nd opamp that is configured as a comparator looking at the battery voltage.
That way the current will go to zero when the battery voltage falls below the setpoint.
That way the current will go to zero when the battery voltage falls below the setpoint.