Commit 002503a6 authored by dogmaphobic's avatar dogmaphobic

Show battery voltage if percentage not available.

parent e7b78f0f
......@@ -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