Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall Documentation #6

Open
cromulus opened this issue May 12, 2014 · 4 comments
Open

Uninstall Documentation #6

cromulus opened this issue May 12, 2014 · 4 comments

Comments

@cromulus
Copy link

I'd like to know how to revert the power management settings, aside from just putting the app in the garbage.

@andyleejordan
Copy link

These are the three commands that YoNTMA executes that modify your power settings:

sudo pmset -a DestroyFVKeyOnStandby 1
sudo pmset -a hibernatemode 25
sudo pmset -a standbydelay 0

The first governs whether the FireVault keys should be destroyed on standby; the default is '0' (no), and is changed to '1' (yes).

The second is the hibernation mode. On a laptop, the default is '3':

The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from disk image.

It is changed to '25':

The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want "hibernation" - slower sleeps, slower wakes, and better battery life, you should use this setting.

The third is one:

specifies the delay, in seconds, before writing the hibernation image to disk and powering off memory for Standby.

The default appears to be 70 minutes, or 4200 seconds, but that isn't specified in the man pmset pages, I only found it via Google.

@andyleejordan
Copy link

Also, the -a option supplied to pmset simply means to apply the setting to all power modes, i.e., battery, charger, and UPS.

@tomrittervg
Copy link
Collaborator

@andschwa is correct, but I will try and turn this into a wiki page later.

@spjpgrd
Copy link

spjpgrd commented Jan 21, 2017

Thank you @andschwa 😃
My computer was rebooting every time I open it without this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants