Portenta H7 Draws Higher Current After Leaving Its LightSleep Mode


I noticed that, after leaving a lightsleep mode, Portenta H7 draws much higher current than the very beginning. Precisely, measured by INA219 module, it draws around 90 mA before entering the lightsleep mode, 12 mA during its sleep, and then go up to 140 mA after it wakes up. Any advice on how to reduce the current draw after the board wakes up?

Thank you!

Try this after wakeup:

import network

Initially, eth is put in low-power mode, on wakeup from sleep/stop mode eth exists its low-power mode.

Thank you for your advice! It works.