diff --git a/src/power/PowerManager.cpp b/src/power/PowerManager.cpp index 6e79e99..1f012b6 100644 --- a/src/power/PowerManager.cpp +++ b/src/power/PowerManager.cpp @@ -178,6 +178,7 @@ void PowerManager::updatePowerStateHandler() { if (PowerManager::busPowered && !PowerManager::chargingState) { // Calibrate voltage offset on full Battery PowerManager::fullVoltageOffset = PowerParameters::Battery::DISCHARGE_CURVE::VOLTAGES[0] - getBatteryVoltage(); + PowerManager::coloumbsRemaining = PowerParameters::Battery::CELL_CHARGE_FULL_COLOUMB; } ESP_LOGD(TAG, "Bus Powered: %d, Charging: %d", busPowered, chargingState);