Modify Your Computer's Power Settings

Windows 7 power settings

A power plan is a collection of hardware and system settings that manages how your computer uses and conserves power. Power plans can save energy, maximize system performance, or balance energy conservation with performance. The default power plans—Balanced and Power saver—meet most people’s needs. But you can modify settings for existing plans or create your own plan.

See the below link for details, especially the first section “To change settings for a single plan”

via Change, create, or delete a power plan (scheme).

Windows 10 Power Settings

Modifying Windows 10 power settings are the same as Win 7 but to get to them click on Start, Settings, System, Power & Sleep, and Additional Power settings. Choose between Balanced, Power Saver or High performance  and change each according to your needs.

Mac Power Settings