I was not sure, exactly were to ask this, and I have not been able to find any replies specifically concerning my question, so here I go:
I am developing an app, in which the user will walk around for quite some time with the app open. In order to limit the battery consumption, I implemented a script, which will turn off the camera and tracking, whenever the phone is in a resting position (based on accelerometer readings). The algorithm works just fine in the intended context, however, it gets a bit jarring, and possibly confusing for the user if the camera turns off and on all the time.
So what I was thinking was, if it is possible to disable the tracking only, without disabling the camera, and if so, if there are ANY battery-advantages at all connected to this? CPU-wise the extra work does not really matter in the context of the app (although I am sure, some of you will disagree :P )
Hope someone can help me here. I don't want to put in a lot of unnecessary effort into something, which might not even benefit me much :)