How To: Enable the charging notification sound on Mac

The latest USB Type-C on the MacBook ditches the MagSafe charge light and opts in for an audible notification sound (like iPhone, iPad, etc) instead. In this video below, Snazzy Labs show you how to enable the charging sound on an older MacBook Pro or MacBook Air running OS X Yosemite 10.10.3 or higher.

Here are your terminal commands.

Code to activate:

defaults write ChimeOnAllHardware -bool true; open /System/Library/CoreServices/ &

Code to deactivate:

defaults write ChimeOnAllHardware -bool false; open /System/Library/CoreServices/ &

To create a custom sound:

  1. Open Finder
  2. Press Shift+Command+G
  3. Paste: /System/Library/CoreServices/
  4. Right-click “PowerChime” and click “Show Package Contents
  5. Contents –> Resources –> rename “connect_power.aif” to “connect_power1.aif
  6. Make sure the sound file you want to use is .aif and name it “connect_power.aif
  7. Put it into a folder (authentication may be required) and close window.