Tested device: Boron LTE + I2C OLED (SSD1306)
Measurement device: Xenon + INA219 featherwing + OLED featherwing
Preliminary results for different modes:
- Active mode, cloud connected, not actively communicating:
~13 to 16 mA
System.sleep(BTN, FALLING, 60, SLEEP_NETWORK_STANDBY)
~10.5 mA most of the time, spikes of at least 56mA every 20 sec or so.
System.sleep(BTN, FALLING, 60)
I also tried to add Cellular.off() before the sleep command and the current slightly decreased to ~10mA for mode 2. which makes sense since it becomes equivalent to mode 3.
Now what doesn’t make sense is why power usage is that high in sleep modes, especially compared to xenon? Apart from mode 2. when cellular module is still on, the 2 others should be similar to what is found for Xenon c.f. this thread.
By the way, I replaced the Boron with a Xenon and run the same code. The power usage figures are the same ones found in aforementioned thread.
Can someone else conduct a similar test to rule out any mistake in my setup and/or code?
The code I’m using is shared here.
It can be compiled for either Boron or Xenon and the display is not required for the tests.