It depends on the hardware and the PC manufacturer. Note: This setting isn’t available on all Windows 10 PCs. Mine is tuned for ‘better performance’, but you can opt for ‘Better battery life’ or Best battery life’. You’ll get four options when running on battery and three when plugged-in. Then drag the slider to select the power mode you want.
Click on the battery icon in the notification area of your Windows 10 taskbar.