Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_pwr_mgmt_run() vs sd_app_evt_wait()

I'm struggling to understand the difference between nrf_pwr_mgmt_run() and sd_app_evt_wait(). When should I use each one? It looks like nrf_pwr_mgmt_run() calls sd_app_evt_wait() so is it safe to just always use nrf_pwr_mgmt_run()? Is there a reason I would want to bypass nrf_pwr_mgmt_run() and call sd_app_evt_wait() directly?

Related