From 10bea7769b9a8354176c13ce5a56a0e2d25e943d Mon Sep 17 00:00:00 2001 From: Jay Ta'ala Date: Mon, 18 May 2020 21:20:09 +1000 Subject: [PATCH] For py3status revered to i3status "battery all" - prefer it over the py3status version as it has %consumption (in watts) etc. --- i3status/.i3status.conf.py3status | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/i3status/.i3status.conf.py3status b/i3status/.i3status.conf.py3status index 6d05008..d12f679 100644 --- a/i3status/.i3status.conf.py3status +++ b/i3status/.i3status.conf.py3status @@ -23,7 +23,8 @@ order += "cpu_usage" order += "disk /" #order += "diskdata" order += "timer" -order += "battery_level" +order += "battery all" +#order += "battery_level" order += "path_exists VPN" order += "external_script" order += "tztime local" @@ -86,6 +87,19 @@ net_rate { interfaces_blacklist = "lo" } +battery all { + format = " %status %percentage (%remaining) %consumption " + format_down = "No battery" + last_full_capacity = true + integer_battery_capacity = true + status_chr = "⚡" + status_bat = "" + status_unk = "?" + status_full = "" + low_threshold = 15 + threshold_type = time +} + battery_level { cache_timeout = 5 measurement_mode = "acpi" -- GitLab