pmset

Search pmset

How to Schedule Boot / Turn On, Shutdown, Wake / Sleep on MacOS Ventura

Nov 10, 2022 - 35 Comments
Mac Terminal icon

Scheduling a Mac to boot, sleep, and shutdown, have been longstanding features in the Energy preference panel on Mac OS since the beginning of the operating system, so if you updated to macOS Ventura and now you’re wondering where those settings went, you aren’t alone. You can still schedule a Mac to turn on and … Read More

Enable Low Power Mode on Mac via Command Line

Mar 30, 2022 - 2 Comments
Enable Low Power Mode on Mac Laptop from the command line

If you are a Mac laptop user and you spend a lot of time at the command line, you may appreciate knowing that you can enable Low Power Mode on a Mac laptop through a terminal command. Enabling Low Power Mode through the command line on a MacBook Pro, MacBook Air, and MacBook is the … Read More

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

Dec 10, 2015 - 5 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 - 12 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 - 21 Comments
Mac Terminal icon

Sleep can be invoked instantly on any Mac through the command line by running the pmset command or a very simple AppleScript run in Mac 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 … Read More

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

Jul 11, 2012 - 24 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 - 7 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

Troubleshooting

Shop on Amazon to help support this site