{"repo":"tshakalekholoane/bat","free":true,"listed":false,"github":"https://github.com/tshakalekholoane/bat","clone":"git clone https://github.com/tshakalekholoane/bat.git","description":"Battery management utility for Linux laptops.","language":"Go","stars":373,"topics":["linux-kernel","asus","battery","battery-monitor","battery-life","battery-level","utilities","golang","utility","utils"],"license":"MIT","category":"cli-tools","readme_excerpt":"bat About The goal is to replicate the functionality of the ASUS Battery Health Charging utility for ASUS laptops on Windows which aims to prolong the battery's life-span 1 2 . Disclaimer This has been reported to only work with some ASUS and Lenovo ThinkPad laptops only. For Dell systems, see smbios-utils, particularly the smbios-battery-ctl command, or install it using your package manager. For other manufacturers there is also TLP. There have also been some problems setting the charging threshold inside of a virtual machine. Installation Pre-compiled binaries (Linux x86-64) are available from the GitHub releases page, the latest of which can be downloaded from here. After downloading the binary, give it permission to execute on your system by running the following command. For example, assuming the binary is located in the user's Downloads folder: Alternatively, the application can be build from source by running the following command in the root directory of this repository. This requires a working version of Make and Go. Tip : Create a symbolic link of the resulting binary in a directory that is in the $PATH environment variable such as /usr/local/bin/ . This will allow any user to execute the program from anywhere on the system. You can also rename the binary to something else if another program with the same name already exists i.e. bat. Examples Requirements Linux kernel version later than 5.4-rc1 which is the earliest version to expose the battery charging threshold ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tshakalekholoane","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tshakalekholoane/bat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}