From 8f9c79f641cc5eb42575887e6fb2c582ec1765a9 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Tue, 14 Jul 2026 19:56:55 -0400 Subject: [PATCH] Check for sleep sessions a full 48 hours into the past --- src/c/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/main.c b/src/c/main.c index 34212ec..170f191 100644 --- a/src/c/main.c +++ b/src/c/main.c @@ -379,7 +379,7 @@ static void init() { // get sleep time (UNIX timestamp) time_t end = time(NULL); - time_t start = end - (SECONDS_PER_DAY * 1.5); + time_t start = end - (SECONDS_PER_DAY * 2); if (health_service_any_activity_accessible(HealthActivitySleep, start, end) == HealthServiceAccessibilityMaskAvailable) { s_sleep_data_accessible = true; update_sleep_time(start, end);