RTOS for low power application