support laptops with 0-2 batteries

This commit is contained in:
Cyryl Płotnicki 2021-04-11 12:20:40 +01:00
parent 3f318a9668
commit 1aa1619ded

View file

@ -45,11 +45,6 @@ alert = 10.0
[[block]] [[block]]
block = "sound" block = "sound"
[[block]]
block = "kdeconnect"
format = "{name}"
format_disconnected = ""
[[block]] [[block]]
block = "bluetooth" block = "bluetooth"
mac = "28:11:A5:E1:3C:57" mac = "28:11:A5:E1:3C:57"
@ -65,12 +60,16 @@ block = "battery"
device = "BAT1" device = "BAT1"
interval = 10 interval = 10
format = "{percentage}%" format = "{percentage}%"
allow_missing = true
hide_missing = true
[[block]] [[block]]
block = "battery" block = "battery"
device = "BAT0" device = "BAT0"
interval = 10 interval = 10
format = "{percentage}%" format = "{percentage}%"
allow_missing = true
hide_missing = true
[[block]] [[block]]
block = "temperature" block = "temperature"