Modern CPUs have many different levels of "going to sleep" and many of them can be switched in and out of very quickly.