Android 10 - GPS only works when phone awake?

120 views
Skip to first unread message

Jay Dee

unread,
Mar 15, 2021, 7:47:10 AM3/15/21
to Automate
Hi guys,

I've got an old phone running android 10 which i need to use as a vehicle tracker.

For some reason when the phone has gone to sleep it can literally take hours for it to get a GPS fix and send me it's location.  If i unlock the phone it will send the replies almost instantly. When i look at the logs it's got stuck on the get location block - for hours.

Is there a workaround for this please?

Henrik "The Developer" Lindqvist

unread,
Mar 15, 2021, 8:21:51 AM3/15/21
to Automate
Ensure Automate and every geofencing library/app, e.g. Google Play services, Google Services Framework, Fused Location, Maps (Google) and Motorola Sensor Service, is excluded from any "power save" feature, see:

Try toggling the "Google Play Services" option in settings.
As a last resort try use the Device keep awake block.

Jay Dee

unread,
Mar 15, 2021, 8:41:14 AM3/15/21
to Automate
Okay thanks - have found the optimisation settings but couldn't find the advanced one (android 10 - i loathe it lol). If you don't hear back then you can assume it's working for me - thanks
Reply all
Reply to author
Forward
0 new messages