From 433d8d0660f66a1d11ce95985dbcf26959e82290 Mon Sep 17 00:00:00 2001 From: Izzygit <126716104+Izzygit@users.noreply.github.com> Date: Wed, 29 Nov 2023 09:08:31 -0800 Subject: [PATCH] Update StatPage.qml Should be changed to division to represent Wh/km * 1 km / 0.62 mi instead of Wh/km * 0.62 mi / 1 km. --- mobile/StatPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/StatPage.qml b/mobile/StatPage.qml index 18bf84f0e..39c0266e8 100644 --- a/mobile/StatPage.qml +++ b/mobile/StatPage.qml @@ -108,7 +108,7 @@ Item { tripText.text = "Time : " + new Date(val.count_time * 1000).toISOString().substr(11, 8) + "\n" + "Distance : " + parseFloat(val.distance()).toFixed(2) + " m\n" + - "Efficiency : " + parseFloat(val.efficiency() * impFact).toFixed(3) + " " + efficiencyUnit + "\n" + + "Efficiency : " + parseFloat(val.efficiency() / impFact).toFixed(3) + " " + efficiencyUnit + "\n" + "Energy : " + parseFloat(val.energy()).toFixed(3) + " Wh\n" + "Ah : " + parseFloat(val.ah()).toFixed(3) + " Ah\n" + "Speed Avg : " + parseFloat(val.speed_avg * 3.6 * impFact).toFixed(1) + " " + speedUnit + "\n" +