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

Ability to set battery thresholds from coreboot config-tool payload #30

Closed
gazny opened this issue May 22, 2018 · 3 comments
Closed

Ability to set battery thresholds from coreboot config-tool payload #30

gazny opened this issue May 22, 2018 · 3 comments

Comments

@gazny
Copy link

gazny commented May 22, 2018

I was wondering if we can set the battery thresholds similar to this https://www.coreboot.org/Board:lenovo/x230#Setting_battery_threshold_on_a_X230_with_coreboot. I would like to be able to do this from the config payload if possible. But it may require additional dependencies if ectool is needed.

@merge
Copy link
Owner

merge commented May 23, 2018

I think this would be a nvramcui development issue, but I doubt writing EC registers is in their scope either. I think the best fit would be to write a Linux driver for the x230's battery platform driver's sysfs interface.

@Thrilleratplay
Copy link
Contributor

@gazny If you are a Linux user, I have heard that the v4.17 kernel will be have this threshold patch.

Personally, this is a setting I would prefer to change in the user space for times those I want to have a full charge if I plan on using my battery for a period of time.

@gazny
Copy link
Author

gazny commented May 23, 2018

I havnt seen many things on battery threshold intergation for corebooted x230s. The 4.17 kernnel hopfully will be sufficient.

@gazny gazny closed this as completed May 23, 2018
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

3 participants