Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
/ corte Public archive

Program to control battery charge threshold for ASUS laptops using Linux.

License

Notifications You must be signed in to change notification settings

claaj/corte

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corte

Rust

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.

Installation

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.

Uninstallation

Just run:

just uninstall

This will remove the binary, the tmpfile.d config file and the systemd service.

Usage

Daemon

If you aren't using the service, you must run:

corte daemon

Clients

To modify the battery charge threshold, you have two options tui and gui.

TUI

corte tui

This opens a tui menu with the options to modify the battery limit.

GUI

corte gui

This is not implemented, but in the future will open a gui app that will allow you to select the limit.

TODO

  • Create a man page.
  • Implement the gui, probably with Iced.

Warning

This software is provided without any warranty. USE AT YOUR OWN RISK.

About

Program to control battery charge threshold for ASUS laptops using Linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published