# Cellular connects when not supposed to

**URL:** <https://community.particle.io/t/cellular-connects-when-not-supposed-to/25852>\
**Category:** Cloud\
**Created:** [September 15, 2016, 2:05am UTC](https://community.particle.io/t/cellular-connects-when-not-supposed-to/25852 "2016-09-15T02:05:47Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [September 17, 2016, 7:58pm UTC](https://community.particle.io/t/cellular-connects-when-not-supposed-to/25852/7 "2016-09-17T19:58:36Z")

</div>

On the Electron do not connect VBAT to anything! It’s internally connected to 3V3 with a 0 ohm resistor. If you connect it to ground, you’ll short out the Electron. The instructions for connecting it to other things are really more important for the Photon, which doesn’t have a battery.

By the way, make sure you’ve upgraded your Electron to 0.5.0 or later. I think there was a bug in 0.4.8 that prevented retained memory from working correctly when in SLEEP\_MODE\_DEEP.

> [@Retained variable not retained on Electron after SLEEP\_MODE\_DEEP](https://community.particle.io/t/retained-variable-not-retained-on-electron-after-sleep-mode-deep/21385):
>
> Greetings, I am using an Electron to take readings from a Maxbotix sonar sensor to read the height of a stream every 15 minutes, and then upload that information to [data.sparkfun.com](http://data.sparkfun.com). Each reading is identified by number, so I am trying to track this with a retained variable that will survive the deep sleep I put the unit in every 15 minutes. Unfortunately, on every upload the number remains 1. Here is the code: STARTUP(System.enableFeature(FEATURE\_RETAINED\_MEMORY)); SYSTEM\_MODE(SEMI\_AUTOMATI…

---

_[View the full topic](https://community.particle.io/t/cellular-connects-when-not-supposed-to/25852)._
