FrameworkComputer / framework-system

Rust libraries and tools to interact with the Framework Computer systems
BSD 3-Clause "New" or "Revised" License
106 stars 6 forks source link

Add a setting to charge to only 80%, then stop charging #5

Closed DeflateAwning closed 8 months ago

DeflateAwning commented 10 months ago

I think this is the correct tool to add this sort of charge restriction. I would love a setting where you can make the computer stop charging after reaching an 80% state-of-charge to prolong the battery lifetime

JohnAZoidberg commented 8 months ago

Here you go #9 :)

DeflateAwning commented 8 months ago

That's insane, thank you!! I love open source.

Let's hope they review and merge this, as it's a hugely useful feature. Thanks again!

Edit: Just realized that you are Framework. Very, very awesome!

JohnAZoidberg commented 8 months ago

Edit: Just realized that you are Framework. Very, very awesome!

Haha, I am indeed part of Framework.

That's insane, thank you!! I love open source. We too! We have had contributions to our other repos from a couple of people and I hope to get this project here more useful, too. And hopefully more people can use and improve it.

Maybe you can see how simple my PR was and try the next one yourself ;)

DeflateAwning commented 8 months ago

Tested and confirmed that this works! Thanks again!