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

View File

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