InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

MotionService: Fix step notification on sleep

Open MB512 opened this issue 10 months ago • 1 comments

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

MB512 avatar Mar 14 '25 06:03 MB512

Build size and comparison to main:

Section Size Difference
text 380180B 16B
data 944B 0B
bss 22544B 0B

Run in InfiniEmu

github-actions[bot] avatar Mar 14 '25 06:03 github-actions[bot]

Thanks for this contribution :) it all looked good but ended up being superseded by #2328 so I've closed it now

mark9064 avatar Oct 15 '25 16:10 mark9064