On XBOX, I don't see that option. I just told it to cut off after 6 hours of inactivity
Actually xbox has a mode similar to sleep. Just go to settings and change the xbox to instant on power mode and then turn it off. It will continue to install and this usually speeds up installs for me.