Electron stop mode - wakes up randomly

Hi,

I used E series Devkit to test the following stop mode :

SystemSleepConfiguration config;

config.mode(SystemSleepMode::STOP)
      .network(NETWORK_INTERFACE_CELLULAR)
      .duration(15min);

System.sleep(config);

But, it keeps on waking up randomly every few seconds.

If I used :

SystemSleepConfiguration config;

config.mode(SystemSleepMode::STOP)
      .network(NETWORK_INTERFACE_CELLULAR)
      .duration(15min)
      ..gpio(WKP,RISING);

System.sleep(config);

It still wakes up but a lot less frequently.

Anything that I have done wrong ?

Thank you for any help !

It’s likely waking up due to traffic on the network. When you switched the network you went to one with less traffic so it stays asleep longer. Check out the docs on sleep mode for more info.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.