1

In our app, we are taking latitude and longitude every 5 seconds from the GPS to improve the location accuracy. In our app, we have to draw a line as per the user's movement. But we are facing the battery drain problem. Is there any way to reduce battery drain? Every time the location service shows that our app uses high battery. Please suggest some working solution.

Pang
  • 9,564
  • 146
  • 81
  • 122

2 Answers2

2

Use the fused location provider for gathering accurate locations with lesser battery consumptions.

However, 5 seconds is too low a frequency if you wish to conserve battery. A person/ vehicle hardly covers a significant distance in 5 seconds. Try increasing the capture frequency to the maximum that will still suffice your solution.

sagarpdesai
  • 193
  • 1
  • 13
0

No, you cannot reduce battery drain. If you have an interval of 5 seconds, the GPS chip will stay fully functional.

Try to increase the interval to some minutes.

Pang
  • 9,564
  • 146
  • 81
  • 122
AlexWien
  • 28,470
  • 6
  • 53
  • 83