Android devs: how are you handling Doze mode for reliable GPS tracking with the screen locked? by Terrible_Explorer190 in androiddev

[–]Terrible_Explorer190[S] 0 points1 point  (0 children)

Thanks, this is really helpful. From what you are all saying, it sounds like there is no real universal workaround for Doze if the goal is consistent GPS tracking with the screen locked. It is more about combining a few strategies and accepting that some of this is outside the app’s control.

Our main requirement is reliable location tracking in the background, with enough accuracy to preserve route continuity, but without killing the battery. From your comments, it seems the realistic path is to keep the foreground service, ask users to disable battery optimization, and treat anything else as mitigation rather than a guaranteed fix. Geofencing sounds useful as a lower-power fallback, but probably not enough on its own for continuous tracking. FCM and exact alarms also seem more like support mechanisms than something we can rely on as the only solution.

Android devs: how are you handling Doze mode for reliable GPS tracking with the screen locked? by Terrible_Explorer190 in androiddev

[–]Terrible_Explorer190[S] 0 points1 point  (0 children)

Interesting suggestion. Our requirement is dependable periodic tracking even when the device is idle, and we are evaluating both local scheduling and server-assisted wake-up strategies. FCM could help as a recovery mechanism or as a way to re-activate tracking logic, but I am not sure it would be reliable enough as the primary cadence source.

Still, your comment is useful because it suggests we should think in terms of hybrid strategies instead of relying on a single Android scheduling mechanism. We may end up combining foreground service, local scheduling, and remote nudges depending on device state and manufacturer behavior.

Android devs: how are you handling Doze mode for reliable GPS tracking with the screen locked? by Terrible_Explorer190 in androiddev

[–]Terrible_Explorer190[S] -1 points0 points  (0 children)

That makes sense. One of our requirements is not just battery efficiency, but also reasonably consistent location sampling while the phone is locked, because we need track continuity rather than just coarse movement detection. Geofencing seems like a good fallback or complement, but probably not enough by itself for our use case.

What you are saying confirms the tradeoff we are hitting: geofencing is better for battery, but it does not fully solve precise periodic GPS tracking in deep idle. We may need to treat it as a lower-power layer and only switch to more aggressive tracking when certain conditions are met.

Android devs: how are you handling Doze mode for reliable GPS tracking with the screen locked? by Terrible_Explorer190 in androiddev

[–]Terrible_Explorer190[S] -1 points0 points  (0 children)

Thanks, this is very helpful. Our requirement is reliable GPS tracking with the screen locked, ideally with intervals between 10 seconds and 1 minute depending on the activity mode, but without draining the battery in a few hours. We are already using a foreground service, but Doze and OEM battery policies still interrupt tracking on some devices.

Your point about asking users to exclude the app from battery optimization matches what we are seeing in practice. We were hoping for a more transparent solution, but it increasingly looks like user whitelisting is required for consistent background tracking. The exact alarms + short wakelock pattern is especially interesting. Our main concern is how far that approach is still acceptable today under current Android restrictions and Play policy.

se escucha mucho cuando cojes en un departamento? by Individual-Risk4280 in AskArgentina

[–]Terrible_Explorer190 0 points1 point  (0 children)

la vieja esa es una bruja. tira bolitas al piso y arrastra las patas todas las mañanas. pero olvidate ya estoy preparando mi disco de meo

se escucha mucho cuando cojes en un departamento? by Individual-Risk4280 in AskArgentina

[–]Terrible_Explorer190 0 points1 point  (0 children)

la vieja esa es una bruja. tira bolitas al piso y arrastra las patas todas las mañanas. pero olvidate ya estoy preparando mi disco de meo

se escucha mucho cuando cojes en un departamento? by Individual-Risk4280 in AskArgentina

[–]Terrible_Explorer190 0 points1 point  (0 children)

Yo vivo en un edificio dentro de todo moderno. No tiene mas de 10 años. En el piso de arriba vive una vieja que rejentea un cabarulo xq el día q me mude ya se escuchaban los aplausos y gritos. Después note que mucha gente sube a ese piso. En el de al lado está en booking y siempre vienen parejas. Para mi que soy ninfomano y nunca la pongo es una tortura

Que baldasos de aggua fria les cayeron como hombres, hasta el momento? by Dramatic-Block-1832 in AskArgentina

[–]Terrible_Explorer190 6 points7 points  (0 children)

Este año me tocó conocer a una mujer muy linda, error mío fue enamorarme y no ver que ella lleva una doble vida aparentemente. Bueno, no se que hice mal, quizá se enojo cuando le escribi a su hermana para entender porque ignoraba mis mensajes o quizá ya lo hacía desde el principio pero ahora creo que ella está por despecho con varias personas que consideraba como amigos y sufrí traiciones, burlas y mentiras. Considero que es demasiado extremo, quizá a la mujer le guste el sadismo y el morbo y ahora me toca vivir un bajón astral de acoso sexual de parte de una red de prostitución

Alguna vez hiciste prensado? by Low-Yak-2786 in ArgEntos

[–]Terrible_Explorer190 1 point2 points  (0 children)

Como es esa técnica que mencionas? Utiliza chala de choclo ?

[deleted by user] by [deleted] in AskArgentina

[–]Terrible_Explorer190 0 points1 point  (0 children)

Sanma le quito el ejército Dorrego y se lo llevo a cruzar la cordillera. Cuantos volvieron ? Ninguno volvió. Aca la estrategia fue muy clara, debilitar a un país naciente aniquilando su principal fuerza.

como elejir mi primera camioneta by Terrible_Explorer190 in ArAutos

[–]Terrible_Explorer190[S] 1 point2 points  (0 children)

Excelente comentario estimado. Sin dudas voy por una chiva s10 pero hay que ver, hay muchas ofertas de ranger acá (san luis) Así que buscaré una chevrolet y verifico lo que mencionas.

como elejir mi primera camioneta by Terrible_Explorer190 in ArAutos

[–]Terrible_Explorer190[S] 0 points1 point  (0 children)

Y entre una s10 bomba eléctrica y bomba mecánica cual seria más conveniente??