The macOS has had some very sophisticated Energy Saver Settings for a while now. This may not be of much concern to you if you are using a Mac Desktop, but if you are using a Mac laptop, then it may have more significance. You can even save a little on your home electric bill using these settings on a Desktop machine. This article explains all of the settings in the Energy Saver Preference Pane. It has suggestions that apply more to Laptops, but some can be used on a Desktop machine as well.