Skip to content

Let reminders elapse during suspend - #10679

Open
llirik0 wants to merge 1 commit into
omacom:quattrofrom
llirik0:fix/issue-10649-reminder-suspend
Open

Let reminders elapse during suspend#10679
llirik0 wants to merge 1 commit into
omacom:quattrofrom
llirik0:fix/issue-10649-reminder-suspend

Conversation

@llirik0

@llirik0 llirik0 commented Sep 7, 2026

Copy link
Copy Markdown

Fixes #10649

Reminders were scheduled with an active-time delay, so their countdown stopped while the machine was suspended. A 10-minute reminder could therefore arrive much later than expected after the laptop resumed.

This schedules the transient user timer against an absolute UTC deadline instead. The timer does not wake the machine, but an elapsed deadline is handled when the user manager resumes.

Tests:

  • bash test/shell.d/reminders-test.sh
  • Bash syntax and git diff --check
  • Regression test fails with the old --on-active behavior
  • ./test/all: CLI passed; shell passed 234/235 files. The remaining config-test.sh package-manifest failure also occurs on an unmodified quattro checkout.

@llirik0
llirik0 force-pushed the fix/issue-10649-reminder-suspend branch from aac33f9 to a042ce7 Compare September 7, 2026 19:11
@llirik0
llirik0 marked this pull request as ready for review September 7, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reminders use a monotonic timer, so the countdown pauses while the laptop is suspended

1 participant