We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 451afbb commit 4cdc0a9Copy full SHA for 4cdc0a9
apps/sleeplog/boot.js
@@ -165,9 +165,9 @@ if (global.sleeplog.conf.enabled) {
165
if(data.hrm){
166
167
if (!Bangle.isCharging()) {
168
- if (data.heartRate <= global.sleeplog.conf.hrDeepTh) {
+ if (data.heartRate <= global.sleeplog.conf.hrmDeepTh) {
169
data.status = 4; // deep sleep
170
- } else if (data.heartRate <= global.sleeplog.conf.hrLightTh) {
+ } else if (data.heartRate <= global.sleeplog.conf.hrmLightTh) {
171
data.status = 3; // light sleep
172
} else {
173
data.status = 2; // awake
0 commit comments