Skip to content

Commit 3f8523a

Browse files
committed
Still Not properly working....
1 parent 8fbbebb commit 3f8523a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

BUILDING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ Another feature that might interrupt the sleep Link State Power Management. It c
5050

5151
![Link Power Management](./docs/wake%20on%20lan%20settings/Disabling-link-power-management.png)
5252

53+
### Disabling Power off Hard Drive
54+
55+
Another recommended thing I found was to disable the power off hard drive feature
56+
57+
![Power Off Hard Drive](./docs/wake%20on%20lan%20settings/power-off-hard-drive.png)
58+
5359
### ChatGPT Extract for Power Issues
5460

5561
Read the conversation [here](./ChatGptExtract.md)
24.5 KB
Loading

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
logger.info("Closing socket")
6565
sock.close()
6666
logger.info("Turning PC off")
67-
os.system("rundll32.exe powrprof.dll,SetSuspendState 0,1,0")
67+
os.system("Rundll32.exe Powrprof.dll,SetSuspendState Sleep") # Put PC to Sleep NOT Hibernate
6868
# os.system("shutdown /s /t 0")
6969
else:
7070
logger.info("Closing socket")

0 commit comments

Comments
 (0)