Many (perhaps most?) focusers report their position to the INDI driver, which in turn sends it to Ekos.
So, Ekos gets told the focuser position.

Internally, the focuser firmware will very likely do as you said: "record where it last was and imagine that it's still there".
Hy

Read More...