https://bornsql.ca/blog/balanced-power-saving-t-sql-script/
Balanced Power Saving T-SQL script