battery-minus

Pebble activity tracker that records battery events
git clone https://git.instinctive.eu/battery-minus.git
Log | Files | Refs | README | LICENSE

commit 390d26ac0eb84a3c399a7034073cc48efa966eb2
parent 26116ea05f5d1acb543a3bc98b7bced184838e28
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sun, 22 May 2016 18:56:15 +0000

Clean pending wakeup on app init
Diffstat:
Msrc/battery-minus.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/battery-minus.c b/src/battery-minus.c @@ -549,6 +549,7 @@ window_unload(Window *window) { static void init(void) { cfg_wakeup_time = persist_read_int(MSG_KEY_CFG_WAKEUP_TIME) - 1; + wakeup_cancel_all(); persist_read_data(1, current_page, sizeof current_page);