Implementing Power Management Features on the Nucleus RTOS