InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.7k stars 923 forks source link

Bug: Heart rate monitoring continues while charging #594

Open FrazerClews opened 3 years ago

FrazerClews commented 3 years ago

If the heart rate monitor is on before charging, it will continue to stay on during and after charging.

I have made a WIP branch here for now before I go any further with the patch which needs testing, just in case something else is planned to fix this.

Riksu9000 commented 3 years ago

It also keeps on measuring if it's just placed on a table. The ambient light sensor should probably be used instead to detect when the watch is taken off and then the measurement should be stopped.

hatmajster commented 3 years ago

Erm, its not true, monitoring is turned off as soon as the screen go black, exactly like on hand - so its not working all the time while charging.