Hi,
I would like to be able to hook into the system idle thread before/after the CPU is put to sleep to do some more custom power management things. Is there a way to do that easily (using NCS v2.9.0)?
For context, as a baseline I would like to have the serial console/logging interface active while the CPU is awake for debug and QA purposes, but disable everything to get into the lowest power state possible when the CPU is asleep. So simply disabling the CONFIG_LOG and CONFIG_SERIAL at build time simply isn't good enough for my use case.
Thanks!
Bryan