Introduction
Newer Mac Laptops have USB-C or MagSafe 3 instead of MagSafe or MagSafe 2 for charging. When you insert a USB-C or MagSafe 3 power adapter into a Mac laptop with those connectors, you'll hear a chime, indicating that the Mac laptop's battery is charging. Older Mac laptops without USB-C or MagSafe 3 don't have this function. You can enable this charging chime with a simple terminal command.
PS: The charging chime on newer Mac laptops is the same chime that's used on iPhones, iPads, and iPod touches to indicate charging on those devices.
-
-
Disconnect your MagSafe/MagSafe 2 power adapter.
-
Go to the spotlight search and search for Terminal. Open Terminal by double clicking it in the results area.
-
Paste the following command into the Terminal window and press enter
-
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
-
Done! Reconnect your MagSafe/MagSafe 2 power adapter and you should hear the charging chime
-
To disable the charging chime, simply change -bool true; in the command above to -bool false;
5 comments
This is cool, thank you!
how to DISABLE THIS SOUND ? :)
Hey there! You are able to turn off the chime by simply changing the command:
Turn on:
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
Turn off:
defaults write com.apple.PowerChime ChimeOnAllHardware -bool false; open /System/Library/CoreServices/PowerChime.app &
Difference is that the ‘on’ command states true and the off command states ‘false’
Try to attempt this, it may not work depending on your mac
EB R -
I enabled the sound on a 2014 MacBook Pro but ended up disabling it again when I noticed that if the laptop was already sleeping and you plugged it in, it would wake up just to make the sound, and then go back to sleep some 30s later. You can tell this by feeling the fans. With the chime disabled it doesn't wake up when you plug it in! If the author can confirm this, please add this to the article.
I will test this out and update the article if that happens to me with my machines! :)
excellent. it worked exactly how it said after i raised the volume without having to restart
Ajay Koonuru -