You know how the iPhone and iPad plays a little chime when you plug it in? The new MacBook also does that. But sadly, the MacBook Air and MacBook Pro remain completely silent when they connect to juice — which can make it hard to tell when you’ve accidentally knocked the MagSafe loose.
If you’ve got a MacBook Pro or MacBook Air, though, it’s easy to hack in the new MacBook’s power-charging sound. Here’s how.
This tip comes from the always excellent OS X Daily, which notes that enabling a power chime sound effect when plugging in a MacBook Pro or MacBook Air is as easy as unplugging your device, loading up the Terminal app, and pasting this in:
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
Plug your MacBook Pro or Air back in and voila! There’s the chime.
As for turning it back off again if you don’t like it, just turn the “true” in the above command to “false.”
If you need more details, head over to OS X Daily for the full run-through.
Source: OS X Daily