This commit is contained in:
legop3
2025-12-30 13:13:56 -05:00
parent 5829cd370c
commit 4f2907a105
+2 -2
View File
@@ -147,8 +147,8 @@ function handleSensorEvent({ roverId, sensors, batteryState }) {
});
}
// const waitingHalfOrMore = waitingPercent != null && waitingPercent >= 0.5;
const waitingHalfOrMore = true;
const waitingHalfOrMore = waitingPercent != null && waitingPercent >= 0.01;
// const waitingHalfOrMore = true;
const shouldUnlock = state.batteryLocked && waitingLongEnough && waitingHalfOrMore;
if (shouldUnlock) {