-
Notifications
You must be signed in to change notification settings - Fork 112
Hold battery level #83
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
base: master
Are you sure you want to change the base?
Conversation
…ower_limit checked state changed
…t to true and batteryLevel is above rechargePercentage
|
@githtz Sorry for the late response. |
|
No problem at all, I'm quite happy to hear this will become a part of your app in future. |
…yLevel # Conflicts: # app/src/main/res/values-de/strings.xml
51c5b58 to
997350f
Compare
…yLevel # Conflicts: # app/src/main/java/com/slash/batterychargelimit/activities/MainActivity.kt # app/src/main/java/com/slash/batterychargelimit/receivers/BatteryReceiver.kt # app/src/main/res/layout/content_main.xml # app/src/main/res/values/strings.xml
|
@sriharshaarangi @milux @xdnax Maybe this could be merged some time soon? I've once more fixed all merge conflicts 😁 |
ddce151 to
4a5c49a
Compare
What does this do
Add option to hold the current battery level when the device gets plugged in and battery level is above the lower limit and below the upper limit.
If the option is disabled the current behaviour of the app should be just like now.
If the option is enabled the device will start recharging only if the battery level is lower then the lower limit specified in the application settings.
Why could this be useful
This might be useful when the device gets plugged in and out multiple times a day, for example when the device is used with external display and input devices. Prevents the battery from being charged over and over again.
Further suggestions are very welcome