Toggle battery protection on Lenovo IdeaPad 330 on Linux
# clone the repository
git clone git@github.com:brownbishop/battery-protection.git
cd battery-protection
# build the application using the Rust tooling
cargo build
# copy the resulted executable to a location in your PATH
cp target/battery-protection ~/.local/bin
For installing the Rust toolchain use rustup.