• And btw the softOff would be enough for your habit of turning it off so often, the real off makes sense if putting it away for several months.

    Maybe the RAM can be kept on by poking the registers RAM[x].POWER directly by poke32 before turning it off (unless they are protected), more info
    https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=5_2_0_17_1#unique_2047546596

    EDIT: they are protected, and RAM is indeed set to be turned off too peek32(0x40000000+0x524).toString(16), you can try to run this to change it

    setTimeout(function() { NRF.restart(function(){
    poke32(0x40000554,3|3<<16)
    poke32(0x40000524,3|3<<16)
    }) }, 2000);NRF.disconnect();
    

    to enable RAM retention in OFF mode and then you can try to power it off if it makes a difference.

    Copy paste (ctrl+v) whole block when connected to watch via IDE https://www.espruino.com/ide/
    It will disconnect. Then reconnect in few seconds and check via peek32 if the value changed.

About

Avatar for fanoush @fanoush started