- Start by changing some power options.
- Right click on the battery icon and select Power Options.
- Once open click on Change plan settings then Change advanced power settings.
- Expand Hard disk and set Turn off hard disk after to Never.
- Expand Sleep and set Allow hybrid sleep to OFF then set Hibernate after to Never.
- Click Apply then OK.
Next is to change settings in Device Manager.
- In Device Manager expand System devices, right click on ACPI lid and select Properties.
- Click on Power Management tab and put a check on Allow this device to wake the computer.
- Test weather if it will work or not after doing all these changes.