diff --git a/.local/bin/battery-combined-udev.sh b/.local/bin/battery-combined-udev.sh index a32af66..8c9db42 100644 --- a/.local/bin/battery-combined-udev.sh +++ b/.local/bin/battery-combined-udev.sh @@ -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")