|
|
|
@ -25,6 +25,7 @@ PreFlightCheckButton {
@@ -25,6 +25,7 @@ PreFlightCheckButton {
|
|
|
|
|
|
|
|
|
|
property int failurePercent: 40 |
|
|
|
|
property bool allowFailurePercentOverride: false |
|
|
|
|
property var _batPercentRemaining: activeVehicle ? activeVehicle.battery.percentRemaining.value : 0 |
|
|
|
|
property var batteryValue: activeVehicle ? activeVehicle.battery.percentRemaining.value : 0 |
|
|
|
|
property var _batPercentRemaining: batteryValue ? batteryValue : 0 |
|
|
|
|
property bool _batLow: _batPercentRemaining < failurePercent |
|
|
|
|
} |
|
|
|
|