Skip to content

Commit

Permalink
bump the default battery poll time to 1 minute
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tych0 committed Jun 2, 2015
1 parent 5778179 commit f2e4a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqtile/widget/battery.py
Expand Up @@ -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):
Expand Down

0 comments on commit f2e4a51

Please sign in to comment.