Hi,Nordic Team
I tried to set 0,1,2 modes respectively in GNSS option, and the test current is as the attachment .
0 1 2
/**@defgroup nrf_gnss_psm_modes Values indicating the power saving mode used in the GNSS module
* @ingroup nrf_socket
* @{
*/
#define NRF_GNSS_PSM_DISABLED 0 /** No power save mode is enabled. */
#define NRF_GNSS_PSM_DUTY_CYCLING_PERFORMANCE 1 /** Enables duty-cycling performance policy power save mode. */
#define NRF_GNSS_PSM_DUTY_CYCLING_POWER 2 /** Enables duty-cycling power policy power save mode. */
ret = nrf_setsockopt(client.sock, NRF_SOL_GNSS, NRF_SO_GNSS_POWER_SAVE_MODE,
&power_mode, sizeof(power_mode));
if (ret != 0) {
LOG_ERR("Failed to set GPS power mode policy (err: %d)", -errno);
goto error;
}
But I looked at spec and found that the current is different with and without PSM.