Skip to content

Send mobile notification when watch is fully charged#216

Open
asyba wants to merge 1 commit into
coredevices:masterfrom
asyba:send_charged_notification
Open

Send mobile notification when watch is fully charged#216
asyba wants to merge 1 commit into
coredevices:masterfrom
asyba:send_charged_notification

Conversation

@asyba

@asyba asyba commented May 25, 2026

Copy link
Copy Markdown
Contributor

Requested #170

Tested on iOS not Android.

image

GlobalScope.launch {
val batteryLevels = mutableMapOf<PebbleIdentifier, Int?>()
val notified100 = mutableMapOf<PebbleIdentifier, Boolean>()
libPebble.watches.collect { watches ->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be behind a setting in CoreConfig

@The-Noah

The-Noah commented Jun 5, 2026

Copy link
Copy Markdown

It would be nice if the level could be customized, so I could get notified when it's at 80% charged. Though that could be added in a later PR, this is already going to be useful!

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.

3 participants