-
Notifications
You must be signed in to change notification settings - Fork 3
M_power
vbextreme edited this page Sep 4, 2018
·
1 revision
Show power, battery, status
# device name in /sys/class/power_supply which vontains uevent
powersupply = BAT0
# blink when capacity < blink.on %
blink.on = 15
$0 voltage min in V
$1 voltage now in V
$2 capacity in %
$3 energy full W/h
$4 energy now W/h
$5 power now W
$6 status
$7 hours time left
$8 minutes time left
for formatting enviroment
# double
format[0] = 5.2
format[1] = 5.2
# int
format[2] = 3
#double
format[3] = 7.2
format[4] = 7.2
format[5] = 7.2
# string
format[6] = ""
# int
format[7] = 2
format[8] = 2
# display on discharging % of capacity
icon[0] = "▁"
icon[1] = "▂"
icon[2] = "▃"
icon[3] = "▄"
icon[4] = "▅"
icon[5] = "▆"
icon[6] = "▇"
icon[7] = "█"
# display on charging
icon[8] = "🔋"
show current icon with capacity and hh:mm extimate battery
text.long = "$@ $2% $7:$8"