From f2e4a51d3fe2569d0c3f44748e1c21c326eb2f60 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Tue, 2 Jun 2015 09:08:12 -0600 Subject: [PATCH] bump the default battery poll time to 1 minute It turns out this polling has a non-trivial impact on battery life, and probably nobody cares about up to the second battery life updates. So, let's not poll so often. --- libqtile/widget/battery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libqtile/widget/battery.py b/libqtile/widget/battery.py index 0057e4cc5c..e63c1242dc 100644 --- a/libqtile/widget/battery.py +++ b/libqtile/widget/battery.py @@ -85,7 +85,7 @@ class _Battery(base._TextBox): 'Name of file with the current' ' power draw in /sys/class/power_supply/battery_name' ), - ('update_delay', 1, 'The delay in seconds between updates'), + ('update_delay', 60, 'The delay in seconds between updates'), ] def __init__(self, **config):