Purpose
I bought a chromebook a few days ago, and since I sometimes take it out for long periods, I care a lot about battery health. I found it always charging automatically to 100%, so I wrote a small program to limit charging to 80%. Written in C++, it checks the battery level every 3 minutes by default, so slightly exceeding 80% is normal. When idle, it sleeps with extremely low resource usage. Make sure both exe files are in the same directory.
Usage
Manual start
Make sure both files are in the same directory and click chromebook_batterymanage.exe.
Automatic start
Make sure both files are in the same directory, then create a task in “Task Scheduler” to run chromebook_batterymanage.exe at startup. Expected behavior: check the battery level every 3 minutes; if it’s 80% or above, stop supplying power to the battery. When not checking, it sleeps in the background with extremely low usage.
Download
Thanks to coreboot for providing ectool.
I really hope you can drop by and give a star on gayhub, GitHub project link (preferred)
Mirror link (may not be updated to the latest version) https://www.lanzouj.com/b00rw55id Password: grs8