support laptops with 0-2 batteries
This commit is contained in:
parent
3f318a9668
commit
1aa1619ded
1 changed files with 4 additions and 5 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue