Electron will not properly sleep unless connected to cloud first

You don't need to connect to the cloud. You only need to make sure the modem is turned on and off at least once after cold boot.

I use a retained variable to know if it's a cold boot. You don't need to power on and off the modem once you've done it once.

2 Likes