I would like to use an idle loop for non critical tasks. Is there any way this can be done with the scheduler implementation? I don't want this to be time based, I just want my code to run while other stuff is not happening. I want to keep the scheduler and power moding calls.