You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have always had an issue with geofences on android, in which it will randomly generate spurious geofence exits. We have always ignored these in the past, because they will auto-resolve after around 10 minutes, as we get enough points to detect a trip end.
However, on Android 6.0 in Doze mode, we may not get points immediately, since wake locks are turned off, and the app is only allowed to run during certain maintenance windows. It is not clear if this is a power drain, since presumably, the sensing will also be turned off during the doze window, but it would be good to fix if possible.
Change to ignore changes was checked in as c57ef9d.
However, that relied on an assumption that if the exit event was ignored and the geofence retained, then other exit events would be generated as the trip continued.
However, this assumption was incorrect. For a trip in which I left Stevenson, the first point was of low accuracy although it was a real trip. After that was ignored, subsequent points were outside the geofence but did not trigger anything, since there was no inside -> outside transition.
2:49pm: GeofenceExitIntentService: Geofence exited! triggering location accuracy = 897.0
2:49pm: Low accuracy point, Location[fused, 37.4041414, -122.083986 acc=897] ignoring
3:19pm: BuiltinUserCache: While searching for regex, got 0 results
3:19pm: BuiltinUserCache: While searching for all, got 0 results
3:19pm: BuiltinUserCache: There are no entries in the usercache. A sync must have just completed.
We have always had an issue with geofences on android, in which it will randomly generate spurious geofence exits. We have always ignored these in the past, because they will auto-resolve after around 10 minutes, as we get enough points to detect a trip end.
However, on Android 6.0 in Doze mode, we may not get points immediately, since wake locks are turned off, and the app is only allowed to run during certain maintenance windows. It is not clear if this is a power drain, since presumably, the sensing will also be turned off during the doze window, but it would be good to fix if possible.
The text was updated successfully, but these errors were encountered: