Skip to content

Commit 95cc07b

Browse files
committed
Add charging exception to 5% battery check
1 parent 92fd826 commit 95cc07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/Begin.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ void beginFuelGauge()
505505
checkBatteryLevels(); //Force check so you see battery level immediately at power on
506506

507507
//Check to see if we are dangerously low
508-
if (battLevel < 5) //5%
508+
if (battLevel < 5 && battChangeRate < 0) //5% and not charging
509509
{
510510
Serial.println("Battery too low. Please charge. Shutting down...");
511511

0 commit comments

Comments
 (0)