This doesn't exactly answer your question, but this post has examples involving deep sleep, and the comments in the last code example talk about the difficulties with Cellular.off() and threading. It's not that it doesn't work, but it probably doesn't work like you think it would.
rickkas7
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Electron Cellular.off() and Sleep Modes | 9 | 3974 | December 21, 2016 | |
| Correctly turning off the Cellular? | 8 | 1840 | December 7, 2018 | |
| SLEEP_MODE_DEEP not working with SYSTEM_MODE(SEMI_AUTOMATIC) | 24 | 5440 | November 25, 2016 | |
| Particle drawing 180mA from battery while in deep sleep mode | 18 | 5593 | February 6, 2017 | |
| Electron Cellular.off() no power savings | 7 | 1072 | February 17, 2019 |