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

[Feature Request] Ability to set charge thresholds #85

Closed
mystic-githuber opened this issue Oct 22, 2021 · 3 comments
Closed

[Feature Request] Ability to set charge thresholds #85

mystic-githuber opened this issue Oct 22, 2021 · 3 comments

Comments

@mystic-githuber
Copy link

Having the ability to set charge limit at 80 % and to start back up at 40 % or any other range would help improve battery life.

@crawfxrd
Copy link
Member

crawfxrd commented Oct 22, 2021

The EC has this functionality [1], it's just not persistent across EC resets [2].

They're exposed through the standard sysfs properties charge_control_{start,end}_threshold.

@mystic-githuber
Copy link
Author

@crawfxrd

This doesn't work with the laptop's power switched off right?

@crawfxrd
Copy link
Member

If you unplug it, no. That causes the EC to reset.

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