Releases: tshakalekholoane/bat
Releases · tshakalekholoane/bat
bat 0.4.1
fix: fix error when setting charging threshold Set the charging threshold directly instead of running a shell command prefixed with `su -c` because on some distributions the root user is disabled by default. Fixes parts of the following issues: - https://github.com/leveson/bat/issues/3 - https://github.com/leveson/bat/issues/5
bat 0.4
feat: create reset feature - Create a reset feature that undoes the persistent battery charging threshold. - Use the `less` pager that is in the path variable instead of directly specifying `/bin/less` as some systems seem not have it (or linked) in that directory.
bat 0.3.1
fix: fix errors on newer ASUS laptop models On newer ASUS laptop models, the charging threshold variable can be exposed under different names i.e. BAT0, BAT1, BATC, and BATT. This would cause an error in the previous version of the application which used the single hard-coded value BAT0. Revert to using `/bin/bash` for writing to the systemd service that persists the charging threshold level as `/bin/sh` does not seem to function as intended. Reference - https://github.com/torvalds/linux/blob/1797d588af15174d4a4e7159dac8c800538e4f8c/drivers/platform/x86/asus-wmi.c#L440-L448 Fixes - https://github.com/leveson/bat/issues/1
bat 0.3
refactor: replace the use of Bash with sh - Use `bin/sh` instead of `bin/bash` in the systemd service that persists the battery charging threshold setting in order to gain broader compatibility for the application. - Clarify usage and installation instructions.
bat 0.2
feat: persist battery charging threshold Create a feature that enables the battery charging threshold to persist between restarts.
bat 0.1
init: create bat