|
122 | 122 | ], |
123 | 123 | "link": "https://winutil.christitus.com/dev/tweaks/z--Advanced-Tweaks---CAUTION/revertstartmenu" |
124 | 124 | }, |
125 | | - "WPFTweaksLaptopHibernation": { |
126 | | - "Content": "Set Hibernation as default (good for laptops)", |
127 | | - "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", |
128 | | - "category": "z__Advanced Tweaks - CAUTION", |
129 | | - "panel": "1", |
130 | | - "Order": "a030_", |
131 | | - "registry": [ |
132 | | - { |
133 | | - "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0", |
134 | | - "OriginalValue": "1", |
135 | | - "Name": "Attributes", |
136 | | - "Value": "2", |
137 | | - "Type": "DWord" |
138 | | - }, |
139 | | - { |
140 | | - "Path": "HKLM:\\SYSTEM\\CurrentControlSet\\Control\\Power\\PowerSettings\\abfc2519-3608-4c2a-94ea-171b0ed546ab\\94ac6d29-73ce-41a6-809f-6363ba21b47e", |
141 | | - "OriginalValue": "0", |
142 | | - "Name": "Attributes ", |
143 | | - "Value": "2", |
144 | | - "Type": "DWord" |
145 | | - } |
146 | | - ], |
147 | | - "InvokeScript": [ |
148 | | - " |
149 | | - Write-Host \"Turn on Hibernation\" |
150 | | - powercfg.exe /hibernate on |
151 | | - |
152 | | - # Set hibernation as the default action |
153 | | - powercfg.exe change standby-timeout-ac 60 |
154 | | - powercfg.exe change standby-timeout-dc 60 |
155 | | - powercfg.exe change monitor-timeout-ac 10 |
156 | | - powercfg.exe change monitor-timeout-dc 1 |
157 | | - " |
158 | | - ], |
159 | | - "UndoScript": [ |
160 | | - " |
161 | | - Write-Host \"Turn off Hibernation\" |
162 | | - powercfg.exe /hibernate off |
163 | | - |
164 | | - # Set standby to default values |
165 | | - powercfg.exe change standby-timeout-ac 15 |
166 | | - powercfg.exe change standby-timeout-dc 15 |
167 | | - powercfg.exe change monitor-timeout-ac 15 |
168 | | - powercfg.exe change monitor-timeout-dc 15 |
169 | | - " |
170 | | - ], |
171 | | - "link": "https://winutil.christitus.com/dev/tweaks/z--advanced-tweaks---caution/laptophibernation" |
172 | | - }, |
173 | 125 | "WPFTweaksLocation": { |
174 | 126 | "Content": "Disable Location Tracking", |
175 | 127 | "Description": "Disables Location Tracking...DUH!", |
|
0 commit comments