From 9ddb79b8c53393be5b15170089201b2592533ba4 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 6 Jun 2018 22:48:46 +1200 Subject: Experimentally reduce bat refresh to 10 seconds --- bat_tray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bat_tray.c b/bat_tray.c index 48a8488..70d3abd 100644 --- a/bat_tray.c +++ b/bat_tray.c @@ -209,7 +209,7 @@ void bat_tray_init() gtk_status_icon_set_from_file(tray, icon_file); gtk_status_icon_set_has_tooltip (tray, TRUE); g_signal_connect(G_OBJECT(tray), "query-tooltip", GTK_SIGNAL_FUNC(show_tooltip), NULL); - g_timeout_add(120000, update, NULL); + g_timeout_add(10000, update, NULL); /* trigger icon refresh in update() below */ old_rounded = get_bat_percent_rounded() - 1; -- cgit v1.1