Skip to content

ble: expose battery level status char - #2509

Open
liamcharger wants to merge 1 commit into
InfiniTimeOrg:mainfrom
liamcharger:ble-battery-level-status
Open

liamcharger wants to merge 1 commit into
InfiniTimeOrg:mainfrom
liamcharger:ble-battery-level-status

Conversation

@liamcharger

@liamcharger liamcharger commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

This exposes the charging/battery state to companion apps. This is according to spec, so it also sets wired/wireless power connected, battery present, etc

InfiniLink users, here are some cool features you get with this implemented:

  • More accurate uptime estimates
  • You can get a notification before bedtime (make sure you're on a recent InfiniLink build, for sleep tracking) to charge your watch if it's not expected to last the whole night
  • Live activity with charging details
  • Inactivity reminders and heart notifs won't fire when the watch isn't on your wrist
  • Exercises can automatically end when you start charging
  • Automatic updates
    • An hour after you fall asleep your watch can update automatically

@mark9064 pretty sure I did it right this time :D... P.S I added the extra bits like we talked about

@liamcharger liamcharger changed the title Expose battery level status ble: expose battery level status char Nov 23, 2026
@github-actions

Copy link
Copy Markdown

Build size and comparison to main:

Section Size Difference
text 394948B 356B
data 936B 0B
bss 22968B 8B

Run in InfiniEmu

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.

1 participant