Make battery invisible when not detected

This commit is contained in:
Alexander Hosking 2017-07-13 10:42:05 -04:00
parent b62661c1ca
commit c0ac09c0a4

View File

@ -43,6 +43,7 @@ battery 0 {
#format = "%status %percentage %remaining" #format = "%status %percentage %remaining"
path = "/sys/class/power_supply/BAT0/uevent" path = "/sys/class/power_supply/BAT0/uevent"
#format = "upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep -E 'state|to\ full|percentage'" #format = "upower -i /org/freedesktop/UPower/devices/battery_BAT1 | grep -E 'state|to\ full|percentage'"
format_down = ""
} }
battery 1 { battery 1 {