Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize power consumption during trips #1

Open
shankari opened this issue Feb 6, 2015 · 1 comment
Open

Optimize power consumption during trips #1

shankari opened this issue Feb 6, 2015 · 1 comment

Comments

@shankari
Copy link
Contributor

shankari commented Feb 6, 2015

We already use geofencing to minimize power consumption when the user is not taking a trip. However, once we have exited the geofence, we read the location and the activity continuously. This leads to excessive power drain in situations where the user is travelling all day.

We should tune the location and activity detection parameters during trips by tweaking the time and distance parameters to get the location less frequently during long trips and more frequently during short trips. For example if an automobile is driving at freeway speeds, we can turn off tracking until the next exit (Kalman filter?)

@shankari
Copy link
Contributor Author

shankari commented Feb 6, 2015

One initial implementation might be to set a distance filter based on the speed. Basically, we want to get data roughly every 30 seconds apart.

This is particularly important because the iPhone does not have a time based filter on the location tracking - only distance. So we need to simulate a time filter based on the distance filter and the speed.

Question: Why can't we just use a fixed distance filter? Why do we need to have an adaptive filter? Claim the issue to get the answer :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant