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

Monitor and improve battery usage #40

Open
piuholo opened this issue Jun 14, 2017 · 1 comment
Open

Monitor and improve battery usage #40

piuholo opened this issue Jun 14, 2017 · 1 comment

Comments

@piuholo
Copy link
Contributor

piuholo commented Jun 14, 2017

Information is required about the battery impact of the application.
This issue is related to issues #39 and #9 as the beacon detection and running background tasks could affect it significantly.

@piuholo
Copy link
Contributor Author

piuholo commented Jun 26, 2017

Due to the behaviour of beacon ranging in connection to application state being so irregular on Android, depending on software version / device, I'd suggest the following:

  • Start ranging all regions as soon as we enter one (regionDidEnter event by monitoring)
  • Stop ranging all regions after we have exited all of the regions.

This way we could make sure that the device would use bluetooth only when necessary, as some devices do not stop the ranging even when the device is locked.

This would naturally require that we manage to get the regionDidEnter and regionDidExit events working reliably on all devices (See issue #39)

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

No branches or pull requests

1 participant