0

Here is my scenario. In my app there is no need of continuously monitoring user location, but I need the location to be as accurate as possible. So I just call CLLocationManager startUpdatingLocation with kCLLocationAccuracyBestForNavigation set as desiredAccuracy, and after I get the location with my desired accuracy (by comparing newLocation.horizontalAccuracy with predefined value) I want to stop the location update and revoke update again after several seconds. But when I call stopUpdatingLocation the location icon from status bar disappears after about 10 seconds, does this mean that apple has considered this scenario, when user calls stopUpdatingLocation it doesn't shut down antenas for some period of time, may be because turning them back on is somewhat expensive in terms of energy, so they just wait some time and only after that shut down antenas. Or may be simply the location icon is not disappeared but the antenas are turned off. So can someone explain what happens exactly when someone calls stopUpdatingLocation?

kyurkchyan
  • 2,260
  • 2
  • 23
  • 37

1 Answers1

2

The GPS radios power down 10 seconds after last use. That was discussed in one of the performance optimization sessions at WWDC.

progrmr
  • 75,956
  • 16
  • 112
  • 147
  • Thanks for the answer, can you supply a link with WWDC video? – kyurkchyan Apr 09 '13 at 06:56
  • I'm not sure which year it was, but the title had either "Power" or "Performance" in it, you should be able to search on the wwdc site videos. – progrmr Apr 09 '13 at 13:36