All Shelly battery-powered devices are at all times in sleep mode. They have a secondary ultra-low-power processor that is measuring the sensors, the battery, and the buttons. In the event of a change in any of the indicators, this processor wakes up the main CPU to transmit the information over the Wi-Fi network.