asksven/ALTitude — Issue #42: [feature] stop processing location when on wifi
Author: asksven
Created: 2012-02-24 15:44:54+00:00
State: open

by salleq @ xda

-When connecting to a WiFi, automatically update location (selectable? to force update even if the time interval isn't met?) and do not update location again until WiFi is disconnected

Since I'm not a coder, I cannot tell how much this would save battery, but from a logical viewpoint, if you are connected to the same WiFi for say, 10 hours, your location should not be updated before disconnecting since for that 10 hours your location hasn't changed.,

Edit:
----------------------------
Your idea about wifi is interesting. Even if I can tell if the behavior will impact even more positively on battery I'm ready to give it a try. In order to reach the best battery win I would have to turn off the location listener while on wifi once the last position has been sent but then would have the problem of now knowing when the phone leaves the wifi range. There are some tricky situations to consider here:
- wifi is turned off
- the phone goes to sleep and the wifi policy is set to turn wifi off when screen is off
- you travel but use a portable wifi hotspot ;-)

But anyway I take this up as a feature request and as I have another one related to wifi I may combine them into one iteration.