mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 02:25:50 +01:00
Mi Band 8: Fix heart rate one-shot measurements
This commit is contained in:
parent
241486f7c3
commit
28bd9eeed6
@ -159,6 +159,9 @@ public class XiaomiHealthService extends AbstractXiaomiService {
|
||||
|
||||
private void handleRealtimeStats(final XiaomiProto.RealTimeStats realTimeStats) {
|
||||
if (realtimeOneShot) {
|
||||
if (realTimeStats.getHeartRate() <= 10) {
|
||||
return;
|
||||
}
|
||||
enableRealtimeStats(false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user