From 79372164fe92a3022df32ef2c6812445126ac00e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 10 Jun 2014 09:05:35 -0500 Subject: in wakeup-timer-uha, set idle wakeup to 1 day from now rather than 1 year from now. --- src/wakeup-timer-uha.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/wakeup-timer-uha.cpp b/src/wakeup-timer-uha.cpp index b634f52..0db9fb0 100644 --- a/src/wakeup-timer-uha.cpp +++ b/src/wakeup-timer-uha.cpp @@ -89,8 +89,8 @@ private: void set_wakeup_time_to_the_distant_future() { - const auto next_year = m_clock->localtime().add_full(1,0,0,0,0,0); - set_wakeup_time(next_year); + const auto tomorrow = m_clock->localtime().add_full(0,0,1,0,0,0); + set_wakeup_time(tomorrow); } static gboolean kick_idle (gpointer gself) -- cgit v1.2.3