InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Heart rate BPM doesn't remember state after restart

Open
#1,149 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Verification
  • I searched for similar bug reports and found none was relevant.
What happened?

PineTime doesn't remember the heart monitor setting if it's being restarted, so you have to re-enable it every time.

What should happen instead?

If heart rate monitor is turned on, it should be turned on when the PineTime is restarted.

Reproduction steps
  1. Go to Heart rate BPM setting in the Infinitime on your PineTime
  2. Start the heart rate monitoring
  3. Restart the Pinetime by holding a button
  4. After restart, Heart rate monitor is turned off.
More details?

Although in regular use cases the Pinetime is probably not restarted often, but i think it would be more logical if the state of the Heart rate monitor setting was remembered after restart.

Version

1.9.0

Companion app

Gadgetbridge

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the heart rate BPM setting in the InfiniTime firmware and how settings are handled across a device restart. Reproduce the reported steps on a PineTime, then verify that an enabled heart rate monitor remains enabled after restarting while preserving the existing behavior for disabled monitoring.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.