As has been mostly covered already, when it's plugged in, most of the system is already booted so it doesn't have to do much work to boot the rest.