41

On new Macbook Pro, Power Chime runs. Whenever I delete from core services it comes right back. It makes a sound when plugging in your power cord even when the volume is at 0%.

The solution I have now to disable this annoying sound is an AppleScript application that runs on login to kill the process via terminal. Is there a better way?

  • 1
    What's your address? I'll send you something. LOL Oh wait, maybe I should send it to Tetsujin? :) – Monomeeth May 5 '17 at 7:24
  • unfortunately idont think his solution works. – user7875084 May 5 '17 at 16:22
  • Has anyone tried to just delete the power chime app in the system files folder? – Jake Feb 16 '18 at 18:31
  • OP, you should accept the answer below: apple.stackexchange.com/a/309947/190701 – guyarad Mar 28 '18 at 3:11
  • @Jake sudo rm: /System/Library/CoreServices/PowerChime.app/Contents/MacOS/PowerChime: Operation not permitted – John Jiang Jan 5 at 16:33
58

The solution is to set ChimeOnNoHardware to true instead of setting ChimeOnAllHardware to false (note, No instead of All):

defaults write com.apple.PowerChime ChimeOnNoHardware -bool true
killall PowerChime
  • 4
    Thank you. This what worked for me on high sierra. – SFbay007 Mar 20 '18 at 3:46
  • 1
    I tried this command and got this message: "No matching processes belonging to you were found" – Disco Danny Nov 7 '18 at 4:32
  • 1
    @DiscoDanny use sudo – Matthew Barclay Feb 1 at 3:20
  • 2
    ran this once and it works mostly, but the chime still goes off with the lid closed and the laptop locked/sleeping. – worc Feb 13 at 17:54
  • 5
    Works on Mojave, but yes the chime still goes off w/the lid closed. Also, just from testing this ~5 times I feel like the USB-C cable or port is likely to break in short order. Port is too tight & the cable is as flimsy as they always are from Apple. RIP Magsafe... – mc01 Apr 9 at 17:26
9

Here's another solution since the others provided don't seem to be working for you. You can create an empty AIFF file to replace the default chime. The chime audio is located here:

/System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif

I created an empty AIFF file using Adobe Audition. With SIP disabled, I backed up the original chime and replaced it with my new audio file:

sudo mv /System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif /System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif_bak
sudo mv ~/Desktop/null.aif /System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif

Be sure to fix the permissions on the file:

sudo chown root:wheel /System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif
sudo chmod 644 /System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif

No more audio when connecting your power source.

  • 1
    Thanks a million this worked like a charm! I copied the AIF to the desktop, opened the file, muted it and then saved it. Disabled SIP and replaced it (I didn't use Terminal I just dragged and dropped), then ran those two permissions line commands and BOOM! No more power chime. – Disco Danny Feb 3 '18 at 1:56
  • 1
    This stopped working after updating to OS 10.13.6! I looked at the AIF file and it is silent, so I have NO IDEA how it found that horrible sound again! Now I'm back to square one. – Disco Danny Nov 7 '18 at 4:30
  • Ditto @DiscoDanny. – Philip Jul 26 at 12:50
  • Doesn't work with lid closed on Mojave. – minipif Aug 1 at 3:19
1

In case anyone wants my AppleScript I'm using to stop this:

tell application "System Events"
    delay 3
    set ProcessList to name of every process
    if "PowerChime" is in ProcessList then
        set ThePID to unix id of process "PowerChime"
        do shell script "kill -KILL " & ThePID
    end if
end tell

But really looking for another way. Any help is appreciated. Thanks.

1

I'm using this tool on all MacBooks after 2015, it allows to quickly switch PowerChime sound

https://github.com/DaFuqtor/powerchime

0

How to disable Startup Sound on Mac?

Tested on MacBook Air - MacOS High Sierra

Open Terminal And type / or copy and paste:

================================

sudo nvram SystemAudioVolume=%00

================================

Hit Enter / Return key You’ll be asked to enter your password. Hit Enter / Return key Restart

0

In order to make this also take effect when the computer is asleep you need to use sudo also:

defaults write com.apple.PowerChime ChimeOnNoHardware -bool true
sudo defaults write com.apple.PowerChime ChimeOnNoHardware -bool true
sudo killall PowerChime
  • I forgot to mention that on OS 10.13.6, this works! – Disco Danny Jul 28 at 20:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .