I had the same problem on a Dell laptop with a GTX 1060 graphic card. I found this solution on the Web and it solved my problem:
"fix is done by right-clicking on the Start button, clicking "Control Panel", then "System..." then "Power Options" then when you see the "power plans", click "Change...