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

Power optimization - Enable HRS3300 (heart rate sensor) sleep mode. #1756

Merged
merged 1 commit into from
Jun 4, 2023

Conversation

JF002
Copy link
Collaborator

@JF002 JF002 commented May 7, 2023

Put the HRS3300 to sleep mode when InfiniTime is going to sleep. This change reduces the power consumption by 130µA when the heart rate sensor is disabled.

Put the HRS3300 to sleep mode when InfiniTime is going to sleep. This change reduces the power consumption by 130µA when the heart rate sensor is disabled.
@JF002 JF002 added the enhancement Enhancement to an existing app/feature label May 7, 2023
@github-actions
Copy link

github-actions bot commented May 7, 2023

Build size and comparison to main:

Section Size Difference
text 407676B 16B
data 940B 0B
bss 54136B 0B

@JF002 JF002 mentioned this pull request May 7, 2023
mark9064 added a commit to mark9064/InfiniTime that referenced this pull request May 8, 2023
…nfiniTimeOrg#1756

commit 02305f5
Author: Jean-François Milants <jf@codingfield.com>
Date:   Sun May 7 18:18:49 2023 +0200

    Power optimization - Enable HRS3300 (heart rate sensor) sleep mode.

    Put the HRS3300 to sleep mode when InfiniTime is going to sleep. This change reduces the power consumption by 130µA when the heart rate sensor is disabled.
Copy link
Contributor

@Riksu9000 Riksu9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not able to verify the changes, but I don't see any issues.

@JF002
Copy link
Collaborator Author

JF002 commented May 18, 2023

I'm not able to verify the changes, but I don't see any issues.

It works fine on my side, power usage is reduced and the HR sensor still works as expected :)

@JF002 JF002 added this to the 1.13.0 milestone May 20, 2023
mark9064 added a commit to mark9064/InfiniTime that referenced this pull request May 27, 2023
…nfiniTimeOrg#1756

commit 02305f5
Author: Jean-François Milants <jf@codingfield.com>
Date:   Sun May 7 18:18:49 2023 +0200

    Power optimization - Enable HRS3300 (heart rate sensor) sleep mode.

    Put the HRS3300 to sleep mode when InfiniTime is going to sleep. This change reduces the power consumption by 130µA when the heart rate sensor is disabled.
@JF002 JF002 merged commit a48d4e0 into main Jun 4, 2023
7 checks passed
gl-sergei added a commit to gl-sergei/InfiniTime that referenced this pull request Jul 28, 2023
@FintasticMan FintasticMan deleted the power-optimization-hrs3300-sleep-mode branch August 3, 2023 11:29
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.

None yet

2 participants