Make MacBooks sound when charger plugged in as iPhone

make sound when get macbook chargedIf using iPhone, when plugging the charger in, you will hear a sound and the device gets vibrated to signal the user that the machine is being charged. Interestingly, we can make MacBooks sound when charger is plugged in by a command line through Terminal in OS X.

I am not sure if my tip works only in OS X Yosemite.

Launch Terminal (Launchpad –> Utilities). Copy and paste the following code and Enter.

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

Make Macbooks sound when charging via Terminal
Now you can plug the charger in and here the cool sound.