The CPU runs the main thread every 3 seconds, and for the remaining time, it enters the idle thread. However, after entering the idle thread, it doesn’t save power.
But if I directly call the function shown in the image, it can enter power-saving mode. I’m not sure what operations I need to perform to enable the idle thread to enter power-saving mode.