biemster / st17h66_FindMy

Firmware for Lenze ST17h66 that advertises to the Apple Find My network
35 stars 10 forks source link

Implement battery status service #3

Open biemster opened 2 years ago

biemster commented 2 years ago

Bluetooth has a battery status service, and the SDK seems to have some references to it as well:

components/profiles/Batt/battservice.h

This would be handy to estimate when the battery needs replacement, as already mentioned in issue #2.

biemster commented 2 years ago

Also, as suggested in #6, the status byte can be used for this, to remotely check the battery status.