MacBook Charging Sound

Just for fun, when you connect the charger to your MacBook, you can gain the “chime” heard on iPhones and iPads.

Found on GitHub.

Open Terminal by pressing Command + Space.

Then type “Terminal” in the search box

Copy the code below and paste in, then press enter.

Test it works by connecting your charger. (Sound needs to be on)

defaults write com.apple.PowerChime ChimeOnAllHardware -bool true;
open /System/Library/CoreServices/PowerChime.app

And to disable the chime if it gets to annoying.

defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime

Why Does Hidden Feature Exist?

The 2015 MacBook uses USB-C connection instead of the MagSafe used on previous models. MagSafe included an LED which shined Green for charged or Orange for Charging.

With no visible indication on the USB-C connection, Apple decided to use sound instead to indicate to the user charging has started. It’s just cool it works retrospectively with MagSafe connectors.

Previous
Previous

Caffeinate Your Mac

Next
Next

Noun Project