github.com/yydsapi/setpowerplan


Install
go get github.com/yydsapi/setpowerplan

Documentation

setPowerPlan

If your computer is good enough, use the excellent mode, and it will automatically enter the balanced state after you leave it for 30 minutes.