Skip to content

notifications: Add phone alarm support with dismiss/snooze - #2430

Open
vkareh wants to merge 2 commits into
InfiniTimeOrg:mainfrom
vkareh:phone-alarm
Open

notifications: Add phone alarm support with dismiss/snooze#2430
vkareh wants to merge 2 commits into
InfiniTimeOrg:mainfrom
vkareh:phone-alarm

Conversation

@vkareh

@vkareh vkareh commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Map HighPrioritizedAlert category to a new PhoneAlarm notification type that shows dismiss and snooze buttons and rings until the user interacts or times out.

Watch sends 2-byte BLE responses back to the phone to dismiss or snooze the alarm.

This allows the user to set alarms on the normal phone clock, and have it ring on the watch:
InfiniSim_2026-03-19_161623

Companion: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/5913

@github-actions

github-actions Bot commented Mar 19, 2026

Copy link
Copy Markdown

Build size and comparison to main:

Section Size Difference
text 385640B 408B
data 944B 0B
bss 22640B 0B

Run in InfiniEmu

Map HighPrioritizedAlert category to a new PhoneAlarm notification type
that shows dismiss and snooze buttons and rings until the user interacts
or times out.

Watch sends 2-byte BLE responses back to the phone to dismiss or snooze
the alarm.
@Eve1374

Eve1374 commented Aug 12, 2026

Copy link
Copy Markdown

Hi, I've been using it for more than a week and it has been working good and is very useful (until gadget bridge auto updated back to its main version ;) )
However I had in mind that the main version of Infinitime was displaying the alarm's text on the notification, but now I can't find it back even when switching back to main; did I dream ? I would find it quite useful to have the alarm's text displayed instead of "phone alarm", but don't have the time to dig into it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature This thread is about a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants