When the new MacBook launched last April, early adopters were surprised to find a familiar chime when plugging in their shiny new machines for the first time – one not unlike the one heard when any modern iOS device starts charging.
To enable the chime, open Terminal on your Mac (found in
/Applications/Utilities, or by searching for "Terminal” in Spotlight), and paste in the following command:
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
Because the sound file is located on your local machine, you can even replace the sound with another if you prefer. To do so, open Finder and navigate to
/System/Library/CoreServices/ (or just press Command+Shift+G, and paste in the path).
Then, find and right-click on “PowerChime”, and select “Show Package Contents”.
Open the “Contents” directory, then “Resources”, and rename
connect_power1.aif (or anything that will remind you that it’s the original file). Take the sound effect you want to use as the charging chime, change its name to
connect_power.aif, and drag it into the folder.
To undo this, simply delete the file you replaced the original sound with, and rename