![](https://i0.wp.com/media.dev.to/cdn-cgi/image/width=1000,height=500,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frpjfqmemce5xqx4kjhbb.png?w=1200&ssl=1)
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?
Discover more from Coursity
Subscribe to get the latest posts sent to your email.