Why? I run one of my Chromebooks as a Plex server and don’t want to kill the battery, thus setting the charge threshold to 80% should help prevent battery degradation.
If this isn’t the right place to post this let me know, I couldn’t find anything similar so I figured I would start this. I’m starting with Linux Mint 22 on Bobba GeminiLake. I’m a novice at this so follow this guide at your own risk. Also this might be board specific, it might not be possible with older boards.
Install latest stable Kernel 6.12.12
I used mainline for this.
Install the beta version of tlp version 1.8
sudo add-apt-repository ppa:linrunner/tlp-beta
sudo apt update
sudo apt install tlp
Start tlp and check the version
sudo tlp start
sudo tlp-stat -b
The tlp version should be 1.8, it should show “Plugin: cros-ec” and “Supported features: charge threshold, recalibration” or something like that. If it shows “Supported features: none available” STOP here, this won’t work for you and you can purge the installation of tlp. Assuming it doesn’t, continue on.
Edit the tlp.conf file and uncomment STOP_CHARGE_THRESH_BAT0=80
sudo nano /etc/tlp.conf
Scroll down and find the line #STOP_CHARGE_THRESH_BAT0=80
delete the # and exit.
^X enter
Save modified buffer? Y enter
Restart tlp
sudo systemctl restart tlp
Check results
sudo tlp-stat -b
It should now show that the charge control and threshold is set to 80%.
If anyone has any other solutions or any questions, let me know.