pmset

Search pmset

Get MacBook Battery Life Percent Time Remaining from Command Line in Mac OS X

Dec 10, 2015 - 2 Comments
Get Mac Battery Life from the Command Line in OS X

While most Mac laptop users will rely on the battery percentage indicator found in the menu bar of OS X, those who spend a lot of time at the command line may find it useful to know that MacBook battery life and battery charge percentage remaining information can be retrieved directly from the Terminal in … Read More

Maximize FileVault Security by Destroying Key Storage in Standby Mode

Jul 6, 2013 - Leave a Comment
Maximum FileVault Security

Standby mode is a power saving feature that automatically hibernates a Mac after it has been in sleep mode for a while, which it does to further decrease drain on battery. When a Mac using FileVault encryption is placed into standby mode, a FileVault key (yes, this key is encrypted) is stored in EFI (firmware) … Read More

Is Your Mac Slow to Wake from Sleep? Try this pmset Workaround

Jan 21, 2013 - 11 Comments
Fixing Slow Wake on a Mac

If your MacBook Pro or MacBook Air feels slow to wake from sleep after it’s been sleeping for a while, there may be a fairly simple cause: standby mode. Standby mode allows a Mac to potentially have up to 30 days of ‘standby’ time, meaning it can sit in a prolonged sleep state for that … Read More

Sleep a Mac from the Command Line

Jul 22, 2012 - 20 Comments
Sleep a Mac from command line

Sleep can be invoked instantly on any Mac through the command line by running the pmset command or a very simple AppleScript run in OS X. This can be useful for many reasons, whether scripting, system administration, remote management with SSH, or perhaps you just live in the command line. We’ll show you two ways … Read More

Mac Won’t Sleep? Here’s How to Find Out Why And Fix It

Jul 11, 2012 - 22 Comments
Find why a Mac won't go to sleep

On the rare occasion that you go to put a Mac to sleep and, well, it won’t sleep, there’s an easy to way to find out what the holdup is. Though this is a somewhat technical approach, it should give a good starting point to anyone who’s confused as to why something like automatic sleep … Read More

Disable Wake From Sleep When Opening the Lid of a MacBook Pro

Apr 26, 2011 - 6 Comments

If you don’t want your MacBook Pro to wake from sleep when you open the lid of the machine, all you need to do is launch the Terminal and type the following command:

Schedule a Mac to Startup via Command Line with pmset

Nov 28, 2009 - 5 Comments
Terminal in macOS

Most Mac users who want to schedule a Mac to startup at a specific time will use the Energy Saver schedule tool in System Preferences, but for the more technically savvy, another option is to schedule the boot time of a Mac through the command line. We’ll show you how to use the pmset command … Read More

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac