InfiniTime
InfiniTime copied to clipboard
MotionService: Fix step notification on sleep
When using BLE notifications for motion it seams that the code enabels the sending of each motion even in sleep mode.
Using BLE notifications for steps should work the same.
I don't know how much this would use the battery, but i think it could not be more than with motion notification.
Fixes #2271
Build size and comparison to main:
| Section | Size | Difference |
|---|---|---|
| text | 380180B | 16B |
| data | 944B | 0B |
| bss | 22544B | 0B |
Thanks for this contribution :) it all looked good but ended up being superseded by #2328 so I've closed it now