• That's odd - literally just NRF.sleep(); should be enough - and the voltage regulator is low power enough that you can get pretty low even using it. Are you sure that the code is being executed? You could check with the NRF Connect app to see if the MDBT42Q is advertising (it shouldn't be after 'sleep').

    You could also try the above. It won't sleep, but should reduce power consumption both when idle and connected

    NRF.setAdvertising({}, {interval:500, scannable:false}); // when disconnected
    NRF.setConnectionInterval(200); // for when you'r connected

Avatar for Gordon @Gordon started