I'm using the code from Vidar supplied here. It works well, but shuts off after 3 minutes.
Based on the idle_state_handle brief, "If there is no pending log operation, then sleep until next the next event occurs." I am led to believe that this is a log issue, but the code is set to continuously check and report, so why would the logs stop?
static void idle_state_handle(void)
{
UNUSED_RETURN_VALUE(NRF_LOG_PROCESS());
nrf_pwr_mgmt_run();
}
I would like to debug this myself, I just don't know where to start.
[update] I rewrote the code after doing an internship and this problem has not come up. Since awneil has provided the only response and I want to close this case, I have selected his post as the answer.