RAK5205 has premature wake-up from sleep, tested with firmware 3.0.0.8.H with USB power and external battery.
Interval is set to 300 seconds, sleep consumes around 14uA but wakes up prematurely after 20 to 30 seconds and consumes 6 mA until next interval (see trace below).
[2019/10/11 17:35:37]SecureCRT - Version 8.0.1 (x64 build 1082)
[2019/10/11 17:35:42]
[2019/10/11 17:35:42]
[2019/10/11 17:35:42]========================================================
[2019/10/11 17:35:42]______ ___ _ __ _ _ _ _
[2019/10/11 17:35:42]| ___ / _ \ | | / / | | | () | |
[2019/10/11 17:35:42]| |/ / /\ | |/ / | | | | _ __ | | ___ ___ ___
[2019/10/11 17:35:42]| /| _ || \ | |/| | | '/ _ \ |/ _ / __/ __|
[2019/10/11 17:35:42]| |\ | | | || |\ \ \ /\ / | | | __/ | /_ _
[2019/10/11 17:35:42]_| __| |/_| _/ / /||| _|_|_||___/___/
[2019/10/11 17:35:42]========================================================
[2019/10/11 17:35:42]********************************************************
[2019/10/11 17:35:42]RAK5205 Version:3.0.0.8.H
[2019/10/11 17:35:42]********************************************************
[2019/10/11 17:35:42]========================================================
[2019/10/11 17:35:42]
[2019/10/11 17:35:42]Selected LoRaWAN 1.0.2 Region: EU868
[2019/10/11 17:35:42] BME680 init success.
[2019/10/11 17:35:42]LIS3DH init OK.
[2019/10/11 17:35:42]GPS Init OK.
[2019/10/11 17:35:42] autosend_interval: 300s
[2019/10/11 17:35:43]Initialization OK,AT Uart work mode:normal mode, Current work_mode:LoRaWAN, join_mode:OTAA, Class: A
[2019/10/11 17:35:43]OTAA:
[2019/10/11 17:35:43]DevEui:
[2019/10/11 17:35:43]AppEui:
[2019/10/11 17:35:43]AppKey:
[2019/10/11 17:35:43]OTAA Join Start…
[2019/10/11 17:35:50][LoRa]:Join retry Cnt:1
[2019/10/11 17:35:50] OTAA:
[2019/10/11 17:35:50]DevEui:
[2019/10/11 17:35:50]AppEui:
[2019/10/11 17:35:50]AppKey:
[2019/10/11 17:35:50]OTAA Join Start…
[2019/10/11 17:35:55][LoRa]:Joined Successed!
[2019/10/11 17:35:55]Start Search Satellite(about 100 seconds) …
[2019/10/11 17:36:05]Gps normal.
[2019/10/11 17:36:05]latitude: 49.xxxx, longitude: 6.xxxx , altitude: 171.7m
[2019/10/11 17:36:05]Battery Voltage = 4.195 V
[2019/10/11 17:36:05]Humidity:51.772 %RH
[2019/10/11 17:36:05]Temperature:22.98 degree
[2019/10/11 17:36:05]Pressure:994.84 hPa
[2019/10/11 17:36:05]Gas_resistance: 47017 ohms
[2019/10/11 17:36:05]
[2019/10/11 17:36:06]LSI3DH X,Y,Z: 607mg, 94mg, -791mg
[2019/10/11 17:36:06][LoRa]: send out
[2019/10/11 17:36:09][LoRa]: Unconfirm data send OK
[2019/10/11 17:36:09]Go to Sleep. <<<<<<- 14uA
[2019/10/11 17:37:36]Wake up. <<<<<<- 6 mA
[2019/10/11 17:41:09]Start Search Satellite(about 100 seconds) … <<<<<<- 40 mA
[2019/10/11 17:41:35]Gps normal.
[2019/10/11 17:41:35]latitude: 49.xxxx, longitude: 6.xxxx , altitude: 169.3m
[2019/10/11 17:41:35]Battery Voltage = 4.195 V
[2019/10/11 17:41:35]Humidity:49.518 %RH
[2019/10/11 17:41:35]Temperature:23.31 degree
[2019/10/11 17:41:35]Pressure:994.86 hPa
[2019/10/11 17:41:35]Gas_resistance: 37426 ohms
[2019/10/11 17:41:35]
[2019/10/11 17:41:35]LSI3DH X,Y,Z: 611mg, 90mg, -787mg
[2019/10/11 17:41:35][LoRa]: send out
[2019/10/11 17:41:38][LoRa]: Unconfirm data send OK
[2019/10/11 17:41:39]Go to Sleep. <<<<<<- 14uA
[2019/10/11 17:42:49]Wake up. <<<<<<- 6mA
[2019/10/11 17:46:33][SERIAL-TRACE] : Waiting 10 seconds for I/O thread 6856 to exit.
[2019/10/11 17:46:33][SERIAL-TRACE] : I/O thread 6856 has exited cleanly.
[2019/10/11 17:46:33][SERIAL-TRACE] : Close Handle[2832]