How does a task switching into READY state exit low power mode?

The documentation for Low Power Support mentions the following:

Stopping the tick interrupt allows the microcontroller to remain in a deep power saving state until either an interrupt occurs, or it is time for the RTOS kernel to transition a task into the Ready state.

How does a task switching into READY state exit low power mode? Is an interrupt triggered when a task enters READY state? Specifically, this question is for ARM cortex-m ports.

Thank you in advance

Depends on how the task enters READY state -

  1. It is because of an interrupt, then the interrupt will cause the MCU to exit from low power mode.
  2. If it is because of a time expire, then we program timer interrupt to interrupt at that moment (before we enter low power mode) which causes the MCU to exit from low power mode.