Through the years Apple has provided thoughtful details for Mac, iPhone, and iPad. For example, the nifty amber light on the Mag-Safe power connector (not to mention the magnetic connector itself) tells you a Mac notebook is charging, which turns green when the notebook is fully charged. Nice right? Is there a similar touch with iPhone and iPad?
Yes, but it’s in the plugin chime– the sound an iPhone or iPad makes when you plugin the charging cable. That’s a reassuring sound which tells you all is well and your device is now charging appropriately.
How would you like to have a similar chime on your Mac? Plug in the Mag-Safe connector and you’ll still get the amber charging light, but insert this code into your Mac’s Terminal.app and then when you plug in the power connector you’ll be treated to a charging chime just like the iPhone and iPad.
The steps to get the chime running on your Mac are simple and straightforward. First, make sure you’re running OS X 10.10.3– the latest version of Yosemite. Then, un-plug your Mac notebook from the Mag-Safe power cable. Next, open Terminal.app (it’s in the Applications folder, inside the Utilities folder), and enter this text (copy and paste is your friend):
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
That’s it. Now when you plug the Mag-Safe connector back into your Mac notebook you’ll hear the familiar iPhone and iPad charging chime. Newer Mac notebooks with PowerNap should play the chime even when the Mac is asleep.
What if you want to get rid of the charging chime? Enter this into Terminal.app and Voila! No more chime.
defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime