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

Poll Interval in Minutes or Hours #14

Open
sunjam opened this issue Aug 16, 2021 · 1 comment
Open

Poll Interval in Minutes or Hours #14

sunjam opened this issue Aug 16, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sunjam
Copy link

sunjam commented Aug 16, 2021

I see poll interval is available up to 600 seconds, but I'm curious about setting it in minutes or hours, mostly to conserve battery life.

15 minutes would be good as a general option. Thanks for considering.

@0xf104a
Copy link
Owner

0xf104a commented Aug 20, 2021

Hello.
I have not added intervals up to 15 minutes due to that fact that in case if we need to poll every 15 minutes or more there is no need for any background service: there is special API in Android which allow to wake up an app every 15 minutes or more and do any needed actions(such way of working is not as efficient as using notify_push or local push provider(GCM, UnifiedNlp, etc), but still better then a service unless there is need to wake up app too often). But of course this requires additional research and implementation.
As for design of a picker: I also do not like it :) But I have not found any suitable picker for choosing time intervals yet, so I will replace the number picker with suitable time picker as soon as I will find it.
Also if you are on 1.0-beta8 version of the app increasing polling interval won't help to significantly reduce battery consumption due to the bug connected with timer in app activity itself(the bug is fixed in 1.0-beta9)

@0xf104a 0xf104a added the enhancement New feature or request label Aug 20, 2021
@0xf104a 0xf104a self-assigned this Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants