-
Notifications
You must be signed in to change notification settings - Fork 18
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
Automatically pause scanning on low battery #307
Comments
How low is critically low? |
I was thinking of using BATTERY_LOW broadcast for this https://developer.android.com/reference/android/content/Intent#ACTION_BATTERY_LOW |
Ah so 15% |
You should make it configurable if it isn't too much work |
Nice thing about the intent is you dont have to check the battery, saving work. Would using the power saver mode intent be good for y'all? You can set power save mode to whatever % and then the behavior would be congruous with the rest of your system as well |
The problem with power saving mode is that it can also be enabled in other situations than low battery, e.g. some devices have routines to automatically turn on power saving mode at night. This could also be beneficial in some cases, but I think it would be better to have another option separate from low battery for pausing scanning in power saving mode |
When the battery level is critically low, the user most likely has more important use for the remaining battery than scanning networks
This feature should be enabled by default, but be configurable in the settings
The text was updated successfully, but these errors were encountered: