Skip to content

Commit 20046d4

Browse files
Delete-WPFTweaksLaptopHibernation (#4031)
* Update tweaks.json * Delete docs/content/dev/tweaks/Essential-Tweaks/LaptopHibernation.md --------- Co-authored-by: Chris Titus <dfm.titus@gmail.com>
1 parent b2ccb36 commit 20046d4

File tree

2 files changed

+0
-104
lines changed

2 files changed

+0
-104
lines changed

config/tweaks.json

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -82,53 +82,6 @@
8282
],
8383
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/widgets"
8484
},
85-
"WPFTweaksLaptopHibernation": {
86-
"Content": "Set Hibernation as default (good for laptops)",
87-
"Description": "Most modern laptops have connected standby enabled which drains the battery, this sets hibernation as default which will not drain the battery. See issue https://github.com/ChrisTitusTech/winutil/issues/1399",
88-
"category": "z__Advanced Tweaks - CAUTION",
89-
"panel": "1",
90-
"registry": [
91-
{
92-
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0",
93-
"OriginalValue": "1",
94-
"Name": "Attributes",
95-
"Value": "2",
96-
"Type": "DWord"
97-
},
98-
{
99-
"Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\abfc2519-3608-4c2a-94ea-171b0ed546ab\\94ac6d29-73ce-41a6-809f-6363ba21b47e",
100-
"OriginalValue": "0",
101-
"Name": "Attributes ",
102-
"Value": "2",
103-
"Type": "DWord"
104-
}
105-
],
106-
"InvokeScript": [
107-
"
108-
Write-Host \"Turn on Hibernation\"
109-
powercfg.exe /hibernate on
110-
111-
# Set hibernation as the default action
112-
powercfg.exe change standby-timeout-ac 60
113-
powercfg.exe change standby-timeout-dc 60
114-
powercfg.exe change monitor-timeout-ac 10
115-
powercfg.exe change monitor-timeout-dc 1
116-
"
117-
],
118-
"UndoScript": [
119-
"
120-
Write-Host \"Turn off Hibernation\"
121-
powercfg.exe /hibernate off
122-
123-
# Set standby to default values
124-
powercfg.exe change standby-timeout-ac 15
125-
powercfg.exe change standby-timeout-dc 15
126-
powercfg.exe change monitor-timeout-ac 15
127-
powercfg.exe change monitor-timeout-dc 15
128-
"
129-
],
130-
"link": "https://winutil.christitus.com/dev/tweaks/essential-tweaks/laptophibernation"
131-
},
13285
"WPFTweaksLocation": {
13386
"Content": "Disable Location Tracking",
13487
"Description": "Disables Location Tracking...DUH!",

docs/content/dev/tweaks/Essential-Tweaks/LaptopHibernation.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)