Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/Feature: Persist Step Count Between Resets #493

Open
atomdmac opened this issue Jul 17, 2021 · 2 comments
Open

Bug/Feature: Persist Step Count Between Resets #493

atomdmac opened this issue Jul 17, 2021 · 2 comments
Labels
enhancement Enhancement to an existing app/feature

Comments

@atomdmac
Copy link

I've had to reset my watch about once a day for the last week or so (usually to fix random Bluetooth connectivity issues). When this happens, my daily step count is reset. It would be really nice if it were possible to persist the step count across resets.

@JF002
Copy link
Collaborator

JF002 commented Jul 18, 2021

Yes, right now, the step counter is re-initialized on every reset, which also reset the step count.
One way to achieve this would be to probe the bma42x on reset to determine if it's already initialized or not. In theory, the fw should have to init the chip only on cold boot (due to power loss). On reset, the chip should be alreay initialized.

Another way to do it would be to store the step count in persistent storage, now that we have littlefs integrated and use this value as an offset to the value measured by the sensor.

@Avamander
Copy link
Collaborator

Related to #321

@Avamander Avamander mentioned this issue Jul 20, 2021
6 tasks
@Riksu9000 Riksu9000 added enhancement Enhancement to an existing app/feature and removed feature request labels Jan 16, 2023
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

No branches or pull requests

4 participants