Effect of distance/angle on battery usage

OverkillTASF6 years ago

I would think the best setup for a powered GPS tracker would be a high Interval setting (10 minutes), with a low Distance and Angle setting.

On a phone, however, am I correct in assuming that the Distance and Angle settings would result in very high battery utilization?

7-13 11:28:47.178   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02
07-13 11:28:47.179   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
07-13 11:28:48.177   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02
07-13 11:28:48.178   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
07-13 11:28:49.179   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02
07-13 11:28:49.180   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_POSITION_REPORT_IND_V02
07-13 11:28:50.179   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_GNSS_SV_INFO_IND_V02
07-13 11:28:50.180   521  2623 I LocSvc_ApiV02: <--- globalEventCb line 115 QMI_LOC_EVENT_POSITION_REPORT_IND_V02

It looks like with Distance or Angle turned on, the GPS radio is active all the time, with Traccar polling every 1 second.
Distance/Angle, then, seem like they would be for high power, low data usage devices. Do I have that right?

My use case is a fleet of personal phones that are indoors, outdoors, in cars, etc. I can imagine complex algorithms for switching between frequent GPS fixes and longer interval Wifi/cell fixes. But a simpler solution would be a "plugged in" and "unplugged" profile; If you're plugged in (presumably in a car) you should rely on GPS, update more often.

Is there any plan to perhaps have such a thing as profiles for this purpose?

Are you aware of anyone developing a Tasker plugin that might be able to modify the Traccar client config in this way?

Though... it dawns on me that one could probably build a Traccar client of sorts within Tasker itself... hmmm...

Anton Tananaev6 years ago

To determine distance and/or angle Traccar Client needs to keep GPS ON all the time, so power usage would be higher than just regular interval reporting.

If you have some feature suggestions I would recommend using GitHub.