-1

I've found several different SO posts on conserving battery life with Android's FusedLocationProvider API.

What I'm looking is a way to intelligently select the most location accurate provider, given the state of the host's battery and some knowledge of the power drain of each one (e.g. something like this). In other words, if the battery is nearly dead (for some predetermined value of "nearly"), the service would ideally know to avoid GPS, since that burns a lot of power, and instead use either CellID or WiFi. But I don't see anything in the FusedLocationProvider documentation along these lines.

Is there a way to do something like this with an existing API call, or would I need to roll this myself? Thanks in advance for any pointers.

Jim
  • 1
  • 1

1 Answers1

0

The screen uses the most power.

if user is on long strech of straight high way you only need to monitor accelerometers and dead rreckon position.

danny117
  • 5,581
  • 1
  • 26
  • 35