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 com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
Code to deactivate:
defaults write com.apple.PowerChime ChimeOnAllHardware -bool false; open /System/Library/CoreServices/PowerChime.app &
To create a custom sound:
- Open Finder
- Right-click “PowerChime” and click “Show Package Contents“
- Contents –> Resources –> rename “
connect_power.aif” to “
- Make sure the sound file you want to use is .aif and name it “
- Put it into a folder (authentication may be required) and close window.