Shane Hsu
Shane Hsu

Reputation: 8367

CLLocationManager Precision and Power Consumption

I know that CLLocationManager provides us with multiple precision choice, so it does not constantly send you a bunch of notification. But does it saves power?

I'm looking to do a geofencing application that reminds me to get off the bus. LOL

Upvotes: 0

Views: 411

Answers (1)

Bharat Ahluwalia
Bharat Ahluwalia

Reputation: 446

The power consumption is dependent on the desiredAccuracy setting of the LocationManager. If you set it to kCLLocationAccuracyBestForNavigation then the power consumption is the highest.

In your scenario you could potentially use kCLLocationAccuracyKilometer as the bus stops should be at least a Kilometer apart.

Upvotes: 2

Related Questions