EHC mode issue

Hi there,

I have a code on Re01-1500kb that has to go to EHC mode when the battery is low and recover when the battery is charged,

When the power is enough it sends some data to the Lora server.

The software is working in normal mode without any issue but when I put it in EHC mode, it charges the battery and when it is recovered goes to the main loop and executes the Lora code,

But unfortunately, the Lora can not join the server and the device goes to sleep mode, Anyone knows what could be a problem here?

Thank you so much,

Mohammad