# Huge data consumption by electron even on standby mode

**URL:** <https://community.particle.io/t/huge-data-consumption-by-electron-even-on-standby-mode/47297>\
**Category:** Troubleshooting\
**Created:** [January 26, 2019, 10:13pm UTC](https://community.particle.io/t/huge-data-consumption-by-electron-even-on-standby-mode/47297 "2019-01-26T22:13:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunchboxp](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@lunchboxp](https://community.particle.io/u/lunchboxp)\
**Post date:** [January 26, 2019, 10:13pm UTC](https://community.particle.io/t/huge-data-consumption-by-electron-even-on-standby-mode/47297/1 "2019-01-26T22:13:51Z")

</div>

I am having my particle gather sensor data for about 7 seconds. Then after publishing the data to the cloud, I am putting the electron to stop mode standby sleep for ~10 minutes. When my electron wakes from stop mode standby it goes straight to breathing cyan. I thought this would save data because I don’t have to reconnect after waking up each time. Instead, here’s what I’ve observed:

- In the first 40 minutes (5 publishes), my data consumption jumped from 4.69 to 4.75 MB. Isn’t that a bit high?
- After each publish, my device also does a handshake (as seen on the console), aka every 10 minutes. Since in standby the particle should maintain a connection to cellular, why is it handshaking after every publish?

I am using the google maps device locator, which might be consuming a lot of data? But besides that I don’t know what else might be eating up my data…?

Code: [https://go.particle.io/shared\_apps/5c4ccec8405ba50386000419](https://go.particle.io/shared_apps/5c4ccec8405ba50386000419)

---

<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:** [January 27, 2019, 10:58am UTC](https://community.particle.io/t/huge-data-consumption-by-electron-even-on-standby-mode/47297/2 "2019-01-27T10:58:27Z")

</div>

You should insert this code at the top of your source file:

```auto
SerialLogHandler logHandler(LOG_LEVEL_TRACE);

```

and monitor the USB serial debug output. Since you’re sleeping, you’ll probably want to use:

```auto
particle serial monitor --follow

```

so it will reconnect the USB serial port.

That will show whether it’s doing a full handshake, session resume, or just continuing on with no data usage.
