power: Only update power status once per minute.
This commit is contained in:
@@ -96,7 +96,7 @@ impl Widget for PowerSupply {
|
||||
data.append_full_text(&status);
|
||||
}
|
||||
return Some(WidgetUpdate {
|
||||
refresh_interval: std::time::Duration::new(1, 0),
|
||||
refresh_interval: std::time::Duration::new(60, 0),
|
||||
data: Some(data),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user