Sort:  

From a reverse operation performed with the datas that a witness gave me

Because I think it depends... in fact... if you receive SP during the time you are waiting, your weight changes.. and your voting power too. So the story about time-based recovery.. actually depends.

Of course, the measure is based on the exact moment you use the tool (at that moment, and that conditions) it's clear that if you upvote someone, you receive a downvote, buy or receive steem power or it happens any change, you have again to use steemd check your residual voting power and use the tool again for the new updated waiting time based on the new conditions