I am investigating ways reduce the power consumption as much as possible. The device will have a accelerometer that it needs to measure about every minute and if its over a threshold, it needs to connect to the cloud and send a message.
At the moment a program that just turns off the RGB led and calls System.sleep(SLEEP_MODE_CPU); as often as possible still uses about 250uA average, with peaks to 17mA every 30mS. I have already found that this interval will be configurable later.
Another ‘big’ draw is the 20uA from the flash. Is there a way to add a P-channel fet and have the software power it up when the flash is needed?
When i stop advertising and disconnect BLE, and then sleep, it feels like the device resets after a few seconds. should i use another sleepmode when BLE is disconnected?
anything else i can do?
i am looking to get down to under 25uA average.