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

VERIFY: Backfill Stationary point captures if needed #74

Closed
penrods opened this issue Mar 16, 2020 · 0 comments · Fixed by #127
Closed

VERIFY: Backfill Stationary point captures if needed #74

penrods opened this issue Mar 16, 2020 · 0 comments · Fixed by #127

Comments

@penrods
Copy link
Contributor

penrods commented Mar 16, 2020

The BackgroundGeolocation library has the ability to only report changes in location when the user moves. This saves power in some cases, e.g. if the phone is sitting on a charger and not moving, the accelerometer shows it is stationary. The library saves power by returning a Stationary point.

Verify the behavior around this. I suspect it only generates a callback once, then stops calling until the phone moves again. If this happens, upon the move we should backfill so that we have the same point reported at 5 minute intervals until that next point report.

Example:

@3:01 - I set my phone down on the desk
@3:02 - The BackgroundGeolocation callback triggers and we save a coordinate
@3:40 - I move my phone
@3:40 - The BackgroundGeolocation callback triggers and we save a coordinate

If the above does occur (which we need to verify), we should save the same reported coordinate from 3:02 at 3:07, 3:12, 3:17, 3:22, 3:27, 3:32, 3:37 and then save the new 3:40 coordinate.

@rparet rparet added this to Backlog in Private Kit Kanban Mar 19, 2020
Private Kit Kanban automation moved this from Backlog to Done Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
1 participant