I am utlizing the System OFF feature of nRF52840 XIAO BLE Sense but it doesn’t seem to make any impact on the power consumption.
For example, I uploaded a simple code to light the red LED for 4 seconds then go to sytem off. Below is the power off function-
void goToPowerOff() {
setLedRGB(false, false, false);
// BLE.disconnect();
// while(BLE.connected()){}
delay(500);
Serial.println("Going to System OFF");
NRF_POWER->SYSTEMOFF = 1;
}
Power consumption in System ON is around 30mA and still ~28mA after the board goes to system off…
Is there something else to do that just use the “NRF_POWER->SYSTEMOFF = 1;” command?
(Looking at some solutions I saw someone recommend to use 1.0.0 or 1.1.1 versions of the board instead but that is causing a multitude of compilation errors for me.)
Hi there,
LOL, Your doing it wrong…
Yes, You need more. Check out MsFujino’s links on how to achieve such goals.
de facto standard for squeezing the most out of the battery power.
Your not far off…
HTH
GL PJ