Commit 15a060d6 authored by Gus Grubba's avatar Gus Grubba

Merge pull request #2406 from dogmaphobic/battVoltage

Show battery voltage if percentage not available.
parents e7b78f0f 002503a6
......@@ -86,6 +86,9 @@ Row {
if(activeVehicle.batteryPercent > 0.1) {
return activeVehicle.batteryPercent.toFixed(0) + "%"
}
if(activeVehicle.batteryVoltage > 0) {
return activeVehicle.batteryVoltage.toFixed(1) + "V"
}
}
return "N/A"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment