Hi,
Thank you for posting on Microsoft Community.
This issue can be caused due to power settings.
I would suggest you to provide us some information to help you better.
1. Did you make any changes on to your computer prior to this issue?
2. What is the make and model of your computer?
I would suggest you to follow the methods given below and check.
Method 1: I would suggest you to run the Power troubleshooterand check if it helps.
a) Press the ‘Windows + X’ key on the keyboard and select
Control Panel.
b) Type troubleshooter in the search box and then press enter.
c) Select Troubleshooting. Click on view all and select
Power.
d) Click next and follow the on-screen instructions.
If issue didn’t get resolve try method 2.
Method 2: I would suggest you to restore default settings of power plan and check if it helps.
5. Press Windows + X, and select the option Control Panel (Classic View).
6. Click on the Power Options icon.
7. Click on Change plan settings.
8. Select the option “Restore default settings for this plan”.
If issue still persists try method 3.
Method 3: Create a power plan
6. Type Power in search box
7. Select "Choose a Power Plan"
8. Click where it says "Create a power plan" in the area on the left side of the
Power options window.
9. Select a power plan to start with such as "Balanced" or "High performance" and then click "Next."
10. Select a number of minutes you want both the display and the computer sleep mode, and then click "Create."
You can refer to the article given below.
Power plans: frequently asked questions. Refer to the section “Can I create a power plan?”
http://windows.microsoft.com/en-IN/windows-8/power-plans-faq
(Applies to Windows 10)
Keep us informed if the issue is resolved. We are glad to help you further.