These seem like automations that are nice to have but not absolutely necessary.
(they can never be reliable because of the quality of the phone sensors)
Like everyone stops the engine when they leave a vehicle,
the same should be done with navigation / GPS recording.
You can also change the distance filter in GPS recording settings.
As mentioned above, GPS recording can be combined with navigation / follow: