# Cellular pause?

**URL:** <https://community.particle.io/t/cellular-pause/47885>\
**Category:** BLE // NFC\
**Tags:** boron\
**Created:** [February 19, 2019, 9:56pm UTC](https://community.particle.io/t/cellular-pause/47885 "2019-02-19T21:56:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hlee6](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@hlee6](https://community.particle.io/u/hlee6)\
**Post date:** [February 19, 2019, 9:56pm UTC](https://community.particle.io/t/cellular-pause/47885/1 "2019-02-19T21:56:42Z")

</div>

Hello,

I have an application where I only need to make a cellular connection every fifteen minutes or so, but have the code constantly running. Using Cellular off turns off the modem completely and takes a long time to connect. I understand that System.sleep ‘pauses’ the cellular while running code. How does System.sleep(long seconds) work? Is there a Cellular.pause() command or something like that?

---

<div class="post-metadata">

**Author:** ![ninjatill](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/ninjatill/32/17370_2.png) [@ninjatill](https://community.particle.io/u/ninjatill)\
**Post date:** [February 19, 2019, 11:06pm UTC](https://community.particle.io/t/cellular-pause/47885/2 "2019-02-19T23:06:29Z")

</div>

Have a look at this application note by rickkas7. Although it was written for the electron, the same concept should apply to the boron.

> **[rickkas7/electron-power-data-usage](https://github.com/rickkas7/electron-power-data-usage)**
>
> Choosing sleep modes for the Particle electron. Contribute to rickkas7/electron-power-data-usage development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![hlee6](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@hlee6](https://community.particle.io/u/hlee6)\
**Post date:** [February 20, 2019, 12:52am UTC](https://community.particle.io/t/cellular-pause/47885/3 "2019-02-20T00:52:07Z")

</div>

The thing is that I couldn’t find any sleep modes where code still runs and cellular is in standby mode. Hope someone can help.

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [February 21, 2019, 12:43pm UTC](https://community.particle.io/t/cellular-pause/47885/4 "2019-02-21T12:43:56Z")

</div>

It is not possible to put the cellular modem in standby mode while the code continues to run. However, even if you could it would not make a significant difference in power consumption.

The modem uses very little power unless sending or receiving data. Since the cloud pings are 23 minutes apart there should be very little data usage when the modem is idle.

I took this measurement for a different reason, but it also illustrates this point. In the space between “Cloud operations finish” and “Preparing for cellular off” there are some tiny spikes, but the baseline power consumption is almost the same as when cellular is completely off.

And those spikes will occur in cellular standby as those are the modem keeping the tower connection alive, which is what eliminates the long blinking green step.

![cellular](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/a/f/afce2aad54d2d238c5a55867186112912642666d.png)

---

<div class="post-metadata">

**Author:** ![davidkerr](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@davidkerr](https://community.particle.io/u/davidkerr)\
**Post date:** [February 21, 2019, 6:42pm UTC](https://community.particle.io/t/cellular-pause/47885/5 "2019-02-21T18:42:10Z")

</div>

I had another thread question about sleep. My issue is for some reason after about 10 days it stopped connecting. Not sure really why. But in this thread it was suggested to use Cellular off. Not sure if this helps.

> [@Cellular Network Unhealthy](https://community.particle.io/t/cellular-network-unhealthy/47802/17):
>
> I flashed the code again - which I had done multiple times last night so a bit confused as it now seems to working. Stupidly I unplugged the power supply to see if that was the issue - which made two changes at once. I should have not done both at once but I did plug power supply back in and it seems to be still working. So perhaps for some reason though it has said the code was flashed successfully it was not. Here is the code. To see if it flashed correctly I added a duplicate temperature…
