user13942: Is there a way to put an ESP8266 into a sort of "sleep" mode where it draws less power than usual, and then wakes up on a pin going high? I've tried doing this with delay, which still draws 20 mA, and with the deepsleep function that comes with the esp library, which can't sleep for short periods of time to watch for the pin going high. I'm building a watch, and power draw is of great concern to me. Is there possibly a way I could build or code this differently to make it more power efficient?
Basically it works like this, but the full code (at it's current state) can be found here. 
void loop() {
    delay(1);
    // check for power signal stuff
    if(digitalRead(0)) {
        // execute data fetching 'n stuff
    }
}


user31542: Without seeing the code and optimizing it I can tell you the following:
ESP8266 has three ways to save power:

Modem sleep - only wlan modem shutdown, connection kept open
Light sleep - less cpu usage, fast recovery
Deep sleep - suspend all, close wifi too, slow recovery

http://bbs.espressif.com/viewtopic.php?t=133

13942: <p>Is there a way to put an ESP8266 into a sort of "sleep" mode where it draws less power than usual, and then wakes up on a pin going high? I've tried doing this with delay, which still draws 20 mA, and with the deepsleep function that comes with the esp library, which can't sleep for short periods of time to watch for the pin going high. I'm building a watch, and power draw is of great concern to me. Is there possibly a way I could build or code this differently to make it more power efficient?
Basically it works like this, but the full code (at it's current state) can be found <a href="https://gist.github.com/MrMai/f08da604c8a57844470407ad6b2604c6" rel="nofollow noreferrer">here</a>. </p>

<pre><code>void loop() {
    delay(1);
    // check for power signal stuff
    if(digitalRead(0)) {
        // execute data fetching 'n stuff
    }
}
</code></pre>
 31542: <p>Without seeing the code and optimizing it I can tell you the following:</p>

<p>ESP8266 has three ways to save power:</p>

<ol>
<li>Modem sleep - only wlan modem shutdown, connection kept open</li>
<li>Light sleep - less cpu usage, fast recovery</li>
<li>Deep sleep - suspend all, close wifi too, slow recovery</li>
</ol>

<p><a href="http://bbs.espressif.com/viewtopic.php?t=133" rel="nofollow noreferrer">http://bbs.espressif.com/viewtopic.php?t=133</a></p>
