Skip to content

Commit

Permalink
Merge pull request #3239 from Navid200/Navid_2023_11_25
Browse files Browse the repository at this point in the history
G7 battery warning
  • Loading branch information
jamorham authored Jan 10, 2024
2 parents e2e7da3 + cfbf09c commit 6aec37b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ public boolean voltageAWarning() {
}

public boolean voltageBWarning() {
if (shortTxId()) { // G7 only
return voltageB() < (G5BaseService.LOW_BATTERY_WARNING_LEVEL - 25);
}
return voltageB() < (G5BaseService.LOW_BATTERY_WARNING_LEVEL - 10);
};

Expand Down

0 comments on commit 6aec37b

Please sign in to comment.