Use a significant change in location if users donโ€™t think their battery is running low

Our users complain that a purple arrow appears, even though the application is dead, and therefore they automatically think that it is draining its battery.

We use only a significant change in location, causing

[locationManager startMonitoringSignificantLocationChanges]; 

So, unless we stop a significant change in location, the magenta arrow will remain (and our users think their battery is running out).

Even if we want to stop a significant change in location when the application terminates, we cannot, because applicationWillTerminate is rarely called.

So there are 3 options:

  • Leave it as it is - but users continue to complain because the apple does not distinguish between apps that use the usual place to consume battery and apps that use a significant change in location.
  • Use the usual [locationManager startUpdatingLocation], so when the application terminates, monitoring also occurs. The problem is that it will actually consume users' batteries until the application is completed.
  • Call

     (void)applicationDidEnterBackground:(UIApplication *)application { [locationManager stopMonitoringSignificantLocationChanges]; } 

    The problem is that we are not using location changes in the background ...

Are there any other suggestions that will allow us to do this:

  • The location of the monitor while the application is the background (the magenta arrow here is OK)
  • Stop location monitoring when the application is killed (the magenta arrow here is NOT OK)
  • Use a significant change in location to avoid draining the user's battery.

?

thanks

+4
source share
1 answer

Your decisions may not be related.

  • You claim that your users only have a problem, because they think that the battery is running out.
  • You also claim that your users want to take advantage of location monitoring without battery leakage.

You are trying to solve a cognitive misunderstanding on the part of your users by creating it around.

Instead, why would you just explain it to your users?

  • You can open a beautiful modal view controller to let them know all the benefits they get when they leave location monitoring.
  • You can explain the misunderstanding of the battery.
  • And you can offer a setting in which they can turn it off if they wish.
+8
source

Source: https://habr.com/ru/post/1446779/


All Articles