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

Battery low level warning is too annoying #23

Open
streetturtle opened this issue Oct 15, 2017 · 1 comment
Open

Battery low level warning is too annoying #23

streetturtle opened this issue Oct 15, 2017 · 1 comment

Comments

@streetturtle
Copy link
Owner

When battery level is low the warning message pops up every 10 seconds, which is too often. The solution could be to introduce some kind of counter, so that message shows up every ~10th time.

@webknjaz
Copy link
Contributor

webknjaz commented Jul 17, 2018

I'd suggest implementing smth like a binary exponential backoff algorithm: https://en.wikipedia.org/wiki/Exponential_backoff. So while this warning state persists it would increase the previous delay on each iteration up to certain limit. It should decrease the delay, however, as it reaches an extremely low power level.

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

2 participants