Hi Nordic,
We currently put cpu in deep sleep when battery charging almost finished.
if (current_time - first_time_when_battery_soc_over_90_percent > LED_BREATHING_IN_MS_WHEN_BATTERY_ALMOST_CHARGED) { // turn off led LEDController::set_solid_led(LED_COLOR_OFF); PowerManager::release_ps_hold(); // note: only called when charging almost finished (in the whole firmware) NRF_POWER->SYSTEMOFF = 0x01; // Enter system off mode }
We are using DMA (TWIM, SPIM), Timers (1-4) and PWM.
We explicitly turning off DMAs to reduce power consumption when battery in charge state but doing nothing for the Timers (nrfx driver) and PWM (zephyr driver).
And this morning we observed battery is not 100% after charging finished.
What will be the reason?
Timers should be released? and PWMs?
Note: We double checked that other sensors on the PCB is turned off properly.