DEV Community

Question: Activity Manager

Hi, I am working on an app to detect automotive mode using the Activity Manager. However, the initial part of the drive is not being detected as automotive mode until the speed reaches around 30 km/h. Similarly, if the speed drops below 30 or 40 km/h while ending the drive, the activity changes incorrectly. How can I resolve this issue and ensure that automotive mode is detected from the start to the end of the drive?

Top comments (0)