Activity type

Why is the activity type not changing correctly?
It often detects a new state correctly like “Automotive” but afterwards it is not changing back to “Stationary” or similar. At least not within a correct time, but > 60 mins to late e.g…