Get any MacBook to make a sound when you connect a charger


Since the 10th of this month we have on the market the new laptop from the house of the bitten apple. It is an ultra-thin twelve-inch laptop that marks a before and after in the world of computing. For the first time the new USB-C connection port and any other is removed, making this computer the first in being able to be classified as a cable-free laptop.

In this article we are going to teach you how to modify the behavior of the OS X Yosemite 10.10.3 system so that, on any MacBook you can have a feature that the Cupertino have activated for that new 12-inch MacBook.

When we connect any iOS device to the electrical network, the system emits a characteristic sound that indicates that the device is already starting to charge. In the company's laptops, until now, this situation did not occur, not because those from Cupertino could not put it but because it was not necessary to have a small LED on the end of the charger cable that tells us whether or not the equipment began to load or was already loaded by its color.


In the new MacBook things have changed and the charger is no longer the mythical MagSafe with its LED diode at the end of the cable and its magnet effect. Now it uses a USB-C cable that is very similar to what we can see with an iPhone or an iPad. That is why a signal is needed to indicate to the user that their laptop is charging. To get it, Apple has enabled this behavior in OS X Yosemite for the newer MacBooks.

However, if you want to activate this behavior on your MacBook, you can do it but by executing the following commands in the OS X Terminal:

The first thing you should do is open the Terminal and write this command on one line:

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

As you can see, in the command you have executed, the system is told to activate an application called It will be activated when we connect the MagSafe connector of the charger.

In the event that you want to disable this behavior again, the command you should use is the following:

defaults write ChimeOnAllHardware -bool false; killall PowerChime

As an extra, we can inform you that if you do not have the charger on hand right now and you want to hear how it sounds, just execute the following command:

afplay /System/Library/CoreServices/

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

4 comments, leave yours

Leave a Comment

Your email address will not be published.



  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   fidel garcia said

    Don't know how to increase the sound? It sounds very low and the volume is at the top

  2.   ADAL said

    I get this: Last login: Fri Apr 17 15:33:14 on ttys000
    Champion-MacBook-Pro: ~ championcarlos $ defaults write ChimeOnAllHardware -bool true; open /System/Library/CoreServices/ &
    [1] 2303
    Champion's MacBook-Pro: ~ champion $ The file /System/Library/CoreServices/ does not exist.

    it's a macbook pro mid 2012

    1.    black said

      You have not updated your system to the most recent

  3.   antonioquevedoTony said

    They are improving a lot @soydemac. Keep in that way!