Update '.local/bin/battery-combined-udev.sh'

This commit is contained in:
tk1rk 2023-05-20 08:16:02 +02:00
parent ed99559c0e
commit 2ceacb3071
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ battery_print() {
battery_max_0=$(cat "$PATH_BATTERY_0/energy_full") battery_max_0=$(cat "$PATH_BATTERY_0/energy_full")
fi fi
if [ -f "$PATH_BATTERY_1/energy_now" ]; then if [ -f "$PATH_BATTERY_1/energy_now" ]; then
battery_level_1=$(cat "$PATH_BATTERY_1/energy_now") battery_level_1=$(cat "$PATH_BATTERY_1/energy_now")
fi fi
if [ -f "$PATH_BATTERY_1/energy_full" ]; then if [ -f "$PATH_BATTERY_1/energy_full" ]; then
battery_max_1=$(cat "$PATH_BATTERY_1/energy_full") battery_max_1=$(cat "$PATH_BATTERY_1/energy_full")