diff --git a/src/BatteryStats.cpp b/src/BatteryStats.cpp index c4b428d34..9f32931b7 100644 --- a/src/BatteryStats.cpp +++ b/src/BatteryStats.cpp @@ -135,11 +135,11 @@ void PytesBatteryStats::getLiveViewData(JsonVariant& root) const addLiveViewValue(root, "availableCapacity", _availableCapacity, "Ah", 0); if (_chargedEnergy != -1) { - addLiveViewValue(root, "chargedEnergy", _chargedEnergy, "kWh", 2); + addLiveViewValue(root, "chargedEnergy", _chargedEnergy, "kWh", 1); } if (_dischargedEnergy != -1) { - addLiveViewValue(root, "dischargedEnergy", _dischargedEnergy, "kWh", 2); + addLiveViewValue(root, "dischargedEnergy", _dischargedEnergy, "kWh", 1); } addLiveViewInSection(root, "cells", "cellMinVoltage", static_cast(_cellMinMilliVolt)/1000, "V", 3);