RN2483 stalls after pluging power to charge battery, why?

Hello,

I am facing a weird behaviour of the RN2483 in my Sodaq One v2.

What I see is that if my module is powerd by the battery and I hook my micro usb cable to it, the RN2483 becomes irresponsive. I have enabled the debug of the RN2483.cpp and I see in the terminal the following

[send]
[macTransmit]
[expectString] expecting ok.[lookupMacTransmitError]: mac_tx_ok
[lookupMacTransmitError]: found 104
[receive]
[receive]: There is no packet received!
[sleep]
[wakeUp]
[send]
[macTransmit]
[expectString] expecting ok.[lookupMacTransmitError]: mac_tx_ok
[lookupMacTransmitError]: not found!
[APP DEBUG] There was no response from the device.
[resetDevice]
[expectString] expecting RN.[hardwareReset]
[APP DEBUG] Resetting Lora Module by software

Once that happens, I have instructed my application to try to reset the Lora module using either LoRaBee.hardwareReset() or LoRaBee.resetDevice(), none of them seem to work as shown in the above sequence.

Furthermore, if I try to flash the device again, it keeps in the same state as shown in the following termnia sequence after fhalsing and booting

[sendReqAck]
[setMacParam] retx = 2
[expectString] expecting ok.[sendReqAck] Non-fatal error: setting number of retries failed.
[macTransmit]
[expectString] expecting ok.[lookupMacTransmitError]: 
[lookupMacTransmitError]: The string is empty!
[APP DEBUG] There was no response from the device.
[APP DEBUG] Resetting Lora Module by instructing self reset
[resetDevice]
[expectString] expecting RN.[initOTA]
[init]
[hardwareReset]
[resetDevice]
[expectString] expecting RN.[APP DEBUG OTAA Setup failed!
[receive]
[receive]: There is no packet received!

THe only solution that I have is to unplug the battery and replug it again, then the module become responsive again.Any hint of what is happening?

Thanks in advance,

My hardware reset looks like this

void Sodaq_RN2483::hardwareReset()
{
    debugPrintLn("[hardwareReset]");

    if (resetPin < 0) {
        debugPrintLn("[hardwareReset] The reset pin is not set. Skipping.");
        return;
    }

    // set pin mode every time to avoid constraining the user about when the pin is initialized
    pinMode(resetPin, OUTPUT);
    digitalWrite(resetPin, HIGH);
    sodaq_wdt_safe_delay(100);
    digitalWrite(resetPin, LOW);
    sodaq_wdt_safe_delay(150);
    digitalWrite(resetPin, HIGH);
    sodaq_wdt_safe_delay(1000);
    readLn();
}