From 0c290be055482ce751bd1247b2a6dc7a99f266c0 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sat, 14 Sep 2019 16:01:08 +0200 Subject: [PATCH] WakeupMgr: add log when scheduling wakeup --- frontend/device/wakeupmgr.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/device/wakeupmgr.lua b/frontend/device/wakeupmgr.lua index f3d1c6ad6..f96557d0b 100644 --- a/frontend/device/wakeupmgr.lua +++ b/frontend/device/wakeupmgr.lua @@ -55,6 +55,7 @@ function WakeupMgr:addTask(seconds_from_now, callback) if not type(seconds_from_now) == "number" and not type(callback) == "function" then return end local epoch = RTC:secondsFromNowToEpoch(seconds_from_now) + logger.info("WakeupMgr: scheduling wakeup for:", seconds_from_now, epoch) local old_upcoming_task = (self._task_queue[1] or {}).epoch