Sensor as progress bar ? Best & recent solution to display it?

And what? )))
It works anyway.
Main thread where it may be discussed.