From 266cb3f209e752856b832af008cf7aba40be3cba Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 29 Aug 2015 00:49:57 +1200 Subject: Set battery check interval to 2 minutes rather than 5 seconds --- bat_tray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bat_tray.c') diff --git a/bat_tray.c b/bat_tray.c index cdedf86..e70d47d 100644 --- a/bat_tray.c +++ b/bat_tray.c @@ -218,7 +218,7 @@ void bat_tray_init() free(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(5000, update, NULL); + g_timeout_add(120000, update, NULL); /* Force something useful to be in the cached tooltip text, * force meaningful icon */ -- cgit v1.1