The Xenon running the BLE System Log app broadcasting every second consumes 3.5mA. Turning the RGB LED brightness down to 0 bringing the power consumption down to 2.5mA! Pretty impressive!
Thanks a lot, you have been pretty useful. One last question: Do you know the difference between STOP mode and ULP mode? Again thanks a lot for all your help so far.
Both stop and ultra-low-power resume execution after System.sleep(). However, more peripherals in the MCU can be disabled in ultra-low-power, so the power consumption is less than stop but more than hibernate, but in hibernate the system is reset on wake.
In BLE sleep mode on the Argon and Boron, you can be a peripheral in advertising mode, and the device will periodically wake up just to send the advertising packet and check for incoming connections and go back to sleep in milliseconds. It can also be in either central or peripheral mode with connection(s) open, in which case the device will wake up to send and receive data and keep the connection alive.
Wow that's new to me and it's exactly what I'm going to need to do for a battery powered device that sends status info out every few seconds to small LCD display.
@rickkas7 Is this BLE sleep mode documented? It's the first I have heard of it.