Skip to content

Conversation

@MB512
Copy link

@MB512 MB512 commented Mar 14, 2025

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

@github-actions
Copy link

github-actions bot commented Mar 14, 2025

Build size and comparison to main:

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

Run in InfiniEmu

@MB512 MB512 force-pushed the feature/fix-step-notification branch from 65fa72e to b7c6717 Compare March 20, 2025 07:12
@mark9064 mark9064 added the enhancement Enhancement to an existing app/feature label Mar 24, 2025
@MB512 MB512 force-pushed the feature/fix-step-notification branch from b7c6717 to e15961e Compare March 27, 2025 05:28
Send btuetooth step notifications in sleep state just like motion notifications. Rename check function from IsMotionNotificationSubscribed to IsAnyNotificationSubscribed for clarity.
@MB512 MB512 force-pushed the feature/fix-step-notification branch from e15961e to 28ae102 Compare October 13, 2025 05:43
@mark9064
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement to an existing app/feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Step notifications not working

2 participants