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

Reduce power consumption and heat #9

Closed
aditydcp opened this issue May 9, 2023 · 3 comments · Fixed by #11
Closed

Reduce power consumption and heat #9

aditydcp opened this issue May 9, 2023 · 3 comments · Fixed by #11
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@aditydcp
Copy link
Owner

aditydcp commented May 9, 2023

          Data collection is working, but not function completely correct.

A run using all 3 PPG running concurrently may only go for about 100-200 seconds before the smartwatch went overheat.
(I'm pretty sure this run goes for 216 seconds, but the duration recorded and the data count on PPG Red and IR are all different (probably the PPG Red and IR stopped working at around 100 seconds without me noticing))
The smartwatch is still physically safe, no damage to my skin on this run, but the watch turns itself off to cool off for a bit.

This pose a problem as PPG Red and IR are the ones with high enough frequency to barely match the HRM frequency. An effort to reduce power consumption and heat needs to be worked on.

Originally posted by @aditydcp in #7 (comment)

@aditydcp aditydcp self-assigned this May 9, 2023
@aditydcp aditydcp added bug Something isn't working enhancement New feature or request labels May 9, 2023
@aditydcp
Copy link
Owner Author

aditydcp commented May 9, 2023

working on dimming the screen.
reference:
https://developer.android.com/training/wearables/views/always-on

@aditydcp
Copy link
Owner Author

using foreground service and enabling ambient mode on the wear module allows it to stay on for a little bit more. longest attempt hold out up to ~543000 data taken, (Even though this translates to 543 seconds of run, the actual run time is longer because of a lag in the PPG IR and Red capture rate) which should be enough for this research's purpose

@aditydcp
Copy link
Owner Author

One other problem is how my phone just froze throughout the recording session.
Tried to hide the plots, but the freezing persists. It is to be expected though, because all the underlying mechanics are still going.
It's not a breaking problem though, as the app still receives the data from wear module, just take a long time to visually appear.
Might be because of not enough power on my phone.

One solution I can think of right now is using a remote server to store the data instead of using the phone. But might need to search for a free option.

@aditydcp aditydcp linked a pull request Jun 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant