Controlling Automatic Startup on Apple M-series MacBooks
The Apple M-series line of MacBooks features a convenient functionality that powers the device on automatically when you either open the lid or connect the power adapter. This behavior is intuitive, as one would assume that opening the laptop indicates a desire to use it immediately. However, Apple’s rationale for triggering startup upon plugging in power remains unclear.
A New Option with macOS Sequoia
If you prefer more control over this feature, macOS Sequoia introduces an ability to prevent your MacBook from turning on under these circumstances. Whether you’re inclined to keep your device asleep when revealing its screen or wish for it not to boot up while charging, this update will allow you those choices easily.
Changing Settings via Terminal
To modify these preferences, you’ll need to venture into the Terminal application found within Applications > Utilities. Once you’ve opened Terminal, input one of the following commands based on your desired setting:
- To enable startup upon opening or connecting power:
sudo nvram BootPreference=%00
- To disable startup solely when opening the lid:
sudo nvram BootPreference=%01
- If you want to prevent turning on only by connecting power:
sudo nvram BootPreference=%02
After entering your chosen command, hit Return. You’ll then be prompted for your password—it’s important to note that while typing it in Terminal no characters will show up onscreen for security reasons. Once entered correctly, press Return again, and you’ll have applied your changes.
Easily Reverting Changes
If at any point you’d like to restore this feature so that opening your MacBook or plugging in power allows it to boot normally again, simply return to Terminal and type: sudo nvram -d BootPreference
. After pressing Return, enjoy having your device revert back to its default configuration of powering up automatically when interacted with.
Addendum: Optimizing External Display Usage with Your MacBook
If you’re interested in maximizing productivity when using an external display setup with your MacBook—especially tips on preventing sleep mode activation when closing the lid—further resources are available online detailing straightforward steps tailored just for that situation.