Program to control battery charge threshold for ASUS laptops using Linux and tries to replicate on Linux the functionality that Asus Battery Health Charging implements in Windows.
Clone the repo and run:
just build && just install
This will:
- The build the program and move the binary to
/usr/bin/corte
- Copy a tmpfile to
/usr/lib/tmpfiles.d/corte.conf
- Copy a systemd service to
/usr/lib/systemd/user/corte.service
and start it.
Just run:
just uninstall
This will remove the binary, the tmpfile.d config file and the systemd service.
If you aren't using the service, you must run:
corte daemon
To modify the battery charge threshold, you have two options tui
and gui
.
corte tui
This opens a tui menu with the options to modify the battery limit.
corte gui
This is not implemented, but in the future will open a gui app that will allow you to select the limit.
- Create a man page.
- Implement the gui, probably with Iced.
Warning
This software is provided without any warranty. USE AT YOUR OWN RISK.