I don't think there is one .I guess I still don't see the problem.
BTW a sim of the ronv charger in post #1513 shows that when the 20V supply fails the battery tries to drive >10A back through the supply via D1. We don't know if the supply can handle that. Looks like we'll need a power diode (D1 re-purposed?) between the LM317 output and the battery.