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

Hope to add the general switch #17

Open
LonePheasantWarrior opened this issue Jul 11, 2024 · 3 comments
Open

Hope to add the general switch #17

LonePheasantWarrior opened this issue Jul 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@LonePheasantWarrior
Copy link

Sometimes I need to go out and want to turn off the restricted charging function. Currently, I can only reset the charging upper limit to 100% and then adjust it to 80% after returning to the work post, which seems a bit cumbersome. It would be good if there was a switch to quickly turn off the batt function!

This software helps me a lot. Thank you

@charlie0129
Copy link
Owner

charlie0129 commented Jul 11, 2024

I think this can be done by adding a subcommand, e.g. batt disable, which just sets the upper limit to 100% under the hood.

Of course, we may add an argument to batt disable like --for=1d to let it turn on again after 1 day to provide some niceties.

@LonePheasantWarrior
Copy link
Author

I think this can be done by adding a subcommand, e.g. batt disable, which just sets the upper limit to 100% under the hood.

Of course, we may add an argument to batt disable like --for=1d to let it turn on again after 1 day to provide some niceties.

I noted that when I set the charging upper limit to 100%, the batt status shows Charge limit: 100% (batt disabled), which is not bad either.

@charlie0129
Copy link
Owner

Of course, we may add an argument to batt disable like --for=1d to let it turn on again after 1 day to provide some niceties.

I think sheduled re-enabling like --for=1d is worth implementing, so I will reopen this issue.

@charlie0129 charlie0129 reopened this Sep 18, 2024
@charlie0129 charlie0129 added the enhancement New feature or request label Sep 18, 2024
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