major restructuring for using snowfall

This commit is contained in:
2024-02-01 12:42:15 +01:00
parent d8e53f1f78
commit 67d23bcd9e
87 changed files with 24 additions and 164 deletions

View File

@ -0,0 +1,15 @@
#!/usr/bin/env sh
# Using following tool https://github.com/frederik-h/acer-wmi-battery.git
PROJECT_LOCATION=~/git/acer-wmi-battery
if [ "$1" == "enable" ]; then
sudo insmod "$PROJECT_LOCATION/acer-wmi-battery.ko" enable_health_mode=1
echo "Battery health mode enabled"
elif [ "$1" == "disable" ]; then
sudo insmod "$PROJECT_LOCATION/acer-wmi-battery.ko" enable_health_mode=0
echo "Battery health mode disabled"
else
echo "Please either state 'enable' or 'disable'"
fi