dj10gan I think doing what you are doing is fine, you limit the discharge rate for the duration of your Agile charge window up to a certain maximum.
If you're looking for a way to set min SoC and for the hold discharge to then automatically go back to 0% discharge once your target SoC has been reached, we currently do not support that.