-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Description
Hello there,
Past few days/week I've been looking into how to limit power consumption using my Adafruit Feather Express nRF52840. I've asked in the general Slack but no response.
Currently I have about 1.1 mA current idle, and I'd like to 'sleep' the device as much as possible.
Looking at the Power Management section from Zephyr I understood you can either choose to set a power state to the system or to certain devices from your system.
Using pm_power_state_set() I'm able to set the power state. However after testing and looking into the code, nRF52 only supports SYS_POWER_STATE_DEEP_SLEEP_1 which results in powering the system completely off (relevant power.c file). This is too much, as I'd like to keep the memory/context the same.
Is there another way of putting this device to sleep besides pm_power_state_set? As I'm using the bluetooth stack, as far as I am aware there is no Bluetooth device in my build. There is no way to way to disable bluetooth (related issue on disabling Bluetooth), so I'm kind of stuck, unable to limit power consumption.
Sorry if this 'blank' issue is related to a certain topic, I was not sure which one it belonged to.
Thanks in advance,
Steven