If the terminal is a PC, the device can enter the dormancy state only when the PC is shut down and its network adapter is powered off (this can be set in the power management module of BIOS).
After a switch enters the sleeping mode, you can log in to the switch through its serial port and press Ctrl+\ to check the remaining sleeping time.