Member-only story
Charging Thresholds for Garuda
On the Lenovo 6th Generation X1 Carbon
I find that my Lenovo X1 Carbon as a secondary workstation is even plugged in for longer periods of time compared to my main rig. As such, it’s even more important that I set the battery charging thresholds to prevent overcharge so as to prolonging the lifespan of my battery.
For those of you who are interested, here’s a quick one on how to control charging thresholds on the Lenovo X1 Carbon running Garuda Linux similar to how you would do it on the System76 Lemur Pro.
INSTALLATION
Install the required packages:
$ sudo pacman -S acpi_call-dkms tpacpi-bat
Clone my repo with custom scripts and install it:
$ git clone https://github.com/hkdb/lenovocc.git
$ cd lenovocc/
$ ./install.sh
If the install script throws an error, it’s very likely because ~/.local/bin doesn’t exist so you may have manually make that directory before running the install script again: