You are reading a single comment by @iMartyn and its replies.
Click here to read the full conversation.
-
Sun 2019.12.01
This suggests automatically:
http://www.espruino.com/Reference#l__global_setDeepSleep
Description: 'This only works on STM32 Espruino Boards (nRF52 boards sleep automatically)'https://github.com/fanoush/ds-d6/wiki/Espruino
https://github.com/fanoush/ds-d6/tree/master/espruino
Hey @fanoush, great that you're active here. To reduce the power drain, does espruino on the D6 use deep sleep at all? I'd like to use setTimeout() but if there's a better way for battery life, I'd love to know. If we can get to the same level (1 week on battery) as the stock firmware, that'd be incredible!