Update '.local/bin/battery-combined-udev.sh'
This commit is contained in:
parent
ed99559c0e
commit
2ceacb3071
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue