My computer comes with win10 system, the settings are as follows:
Solution steps:
1. Win + R, bring up the run box (or search for [Run] with Xiaona);
2. Enter regedit.exe, click OK to call up the registry;
3. Copy all the content in the following brackets to the search box [Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0], click the keyboard [ Enter] key; (or you can press the above directory level by level to find it down)
4. Double-click Attributes, change the value data to 2, and click OK;
5. Settings-power and sleep-other power settings-change computer sleep time-change advanced power settings-sleep-unattended system sleep timeout, set the time you want;
6. It finally works. . .