DEV Community

Dr Sundaramoorthy Palanisamy
Dr Sundaramoorthy Palanisamy

Posted on

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more