Idle state in RTOS, sleep state or lowest frequency?
I depends entirely on the system requirements. Systems that need to operate at very low power could go to sleep until the next interrupt. Other systems might have plenty of power but need to be very reliable...these could be doing self-tests in the background task.