From 3f8523ab411711a19099965369319cbf8c1c3690 Mon Sep 17 00:00:00 2001 From: Scott Date: Mon, 26 Aug 2024 13:37:14 +0100 Subject: [PATCH] Still Not properly working.... --- BUILDING.md | 6 ++++++ .../power-off-hard-drive.png | Bin 0 -> 25042 bytes main.py | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 docs/wake on lan settings/power-off-hard-drive.png diff --git a/BUILDING.md b/BUILDING.md index ce20a4a..f6f0303 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -50,6 +50,12 @@ Another feature that might interrupt the sleep Link State Power Management. It c ![Link Power Management](./docs/wake%20on%20lan%20settings/Disabling-link-power-management.png) +### Disabling Power off Hard Drive + +Another recommended thing I found was to disable the power off hard drive feature + +![Power Off Hard Drive](./docs/wake%20on%20lan%20settings/power-off-hard-drive.png) + ### ChatGPT Extract for Power Issues Read the conversation [here](./ChatGptExtract.md) diff --git a/docs/wake on lan settings/power-off-hard-drive.png b/docs/wake on lan settings/power-off-hard-drive.png new file mode 100644 index 0000000000000000000000000000000000000000..c2673dce50280380e40c34416ddedd256883c380 GIT binary patch literal 25042 zcmbrmbyQSe^gaw245+jq-7vJ$4GuAMhqOvdNq5Nr(gH*0(A^=eAT1q3Bh5$&3^fS6 zgP-^NTi^H3cm38~XD#O36Z_n=@3Wt?_r64EsDYp1Qs81>U_4V)kk!J#z=Wbp7vM3v zCa{WL7XyP1Ls9m%ju+-Zhj#;$T%)AnUHgS^VEb9}#ma1B)vdDxJ1*{Ls@#JRAm2HY zjL?+rF+bhR(}f_wCk8MkCZR|%;d54dX-rBAg00U#xjz3qo#w|1e@s#U>s=e#46p-l zk1i2Dk5AIQzs|B6Pb~TxE@F8YE>Z{$$TeGTQDzg(9)Z{$8=q;%r>9A7Q1GrIj_US= zs`iujqTaWQi1GUB++m)sOzyV*y3056*kh@$`FLYnSdFDQ^s5SzI9My&v3WMWCN;Rs zf49AoVO3q)gmJoZ``@$+$FYsU$;RP3VMxVW9rZl13Fnu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.info("Turning PC off") - os.system("rundll32.exe powrprof.dll,SetSuspendState 0,1,0") + os.system("Rundll32.exe Powrprof.dll,SetSuspendState Sleep") # Put PC to Sleep NOT Hibernate # os.system("shutdown /s /t 0") else: logger.info("Closing socket")