From 2ceacb3071bb48fb70d9161c14cef8d9c3c880ea Mon Sep 17 00:00:00 2001 From: tk1rk Date: Sat, 20 May 2023 08:16:02 +0200 Subject: [PATCH] Update '.local/bin/battery-combined-udev.sh' --- .local/bin/battery-combined-udev.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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")