G
G
Growth2017-10-16 11:14:25
satellite navigation
Growth, 2017-10-16 11:14:25

How does distance filter affect battery consumption?

On iOS devices (and probably not only on them), we can control the receipt of coordinates from the receiver using the distance filter.
Logically, it turns out that regardless of the filter set, the gps receiver is always on, because we must somehow understand that we have not gone beyond the radius specified by the filter. But there is hope that there are some optimizations at the level of the device itself. If yes, what are they?
To simplify the final question, let me rephrase:
Imagine that I am moving in a straight line for 5 km. Is there any difference, in terms of power consumption of the gps receiver, if I set distance filter = 1) 1km 2) 100m 3) disable it altogether?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
freeExec, 2017-10-16
@freeExec

I don’t give a tooth, but gps works constantly, the operating system monitors the distance traveled and, when the barrier is reached, transmits the coordinates to the application. The only savings here is that your application will not crash so often.
Here's what Apple himself says
Those. hints to you, do not think that this is a big savings and do not forget to turn it off when you no longer need it.

M
Moskus, 2017-10-16
@Moskus

The logic of reasoning is correct, but the chain of conclusions is not necessary, because some technical details are not considered.
The fact is that modern phones (Apple is no exception) can use not just general-purpose receivers for mobile devices that do nothing but solve the problem of determining coordinates once in a given time interval and switching to sleep mode and back on a timer.
Let's say this is what Broadcom writes about its fairly new BCM4774 chipset:
This could mean that when the filter is installed, the built-in processor of this GPS chipset does all the calculations itself, saving energy by not communicating with the rest of the hardware of the device constantly, providing updated position data when it sees fit. Most likely, on a general scale, this decrease is hardly noticeable, but this does not mean that it does not exist at all. Let me clarify that this can only be true for fairly new devices and provided that their developers use all the capabilities of GPS chipsets. It is very difficult to verify this fact experimentally (without disassembling the phone, soldering a high-precision current meter to the power supply of the GPS receiver and integrating readings over a certain time), because many variable factors affect energy consumption.
What is said above is also my reasonable assumption, because I do not have documentation for the software interface of a particular chipset (and it seems to be installed in the iPhone 7 and higher).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question