Skip to content

Commit 268cba2

Browse files
committed
Increased the Recalibration time (2 mins to 4 mins) to account for slower charging speeds.
1 parent 988c179 commit 268cba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LithiumPowered.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
}
179179
}
180180
if (!_isr) {
181-
if (micros() - _lastTime > 120000000 && getIsCharging() && (_mAhMax != _mAhRated || getPercentage() != 100.00)) {
181+
if (micros() - _lastTime > 240000000 && getIsCharging() && (_mAhMax != _mAhRated || getPercentage() != 100.00)) {
182182
_percentage = 100.00;
183183
_mAh = _mAhRated;
184184
_mAhMax = _mAhRated;

0 commit comments

Comments
 (0)