How to enable power chime: Step 1: Disconnect your Mac from power. Step 2: Launch Terminal using Spotlight, or open the application manually (it’s inside your Mac’s Applications folder).
Step 3: Paste the following line into Terminal and hit Enter: defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app & Step 4: Re-connect your Mac to the MagSafe power source. If the battery needs charging and there’s power, the familiar chime you’re used to hearing on your iOS devices should trigger. How to disable power chime: Just paste the following line into the Terminal window: defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime Hit Enter and you’re good. The command kills the running process which takes care of playing the chime while disabling the feature through the defaults command string. How to play power chime manually: Paste this into the Terminal window and hit Enter: afplay /System/Library/CoreServices/PowerChime.app/Contents/Resources/connect_power.aif You should head the chime immediately after hitting Enter. For those interested in technicalities, the Terminal command described in this article tells OS X to always play the power chime, regardless of the model of your Mac. It also launches the tiny PowerChime application which must be running in the background in order for the power chime to trigger upon connecting the device to power. But even this little feature couldn’t have gone without the attention to detail Apple’s always been associated with. As OS X Daily explains, if you keep an eye on the battery icon in your Mac’s menu bar, you’ll realize OS X triggers the power chime at the exact same time as the charging bolt appears on the battery icon. “Note the battery charging indicator will only display onscreen if there is less than 100 percent power available with the Mac battery and the Mac is either in sleep mode or the screen is locked,” OS X Daily said. Again, the new MacBook ships with the power chime enabled out of the box, providing an auditory confirmation that the charging cable is attached to its USB-C port and the computer is charging. >From an IDB article. > On Jul 8, 2018, at 6:22 PM, Sadam Ahmed <li...@sadamahmed.com> wrote: > > Hi all, > > A while ago someone posted a string which could be typed via terminal so that > the Mac would make the same chime noise that an iOS device makes when > connected to power. > > Can anyone assist with this? > > Many thanks for assistance rendered. > > Sincerely, > > sadam Ahmed > > -- > The following information is important for all members of the Mac Visionaries > list. > > If you have any questions or concerns about the running of this list, or if > you feel that a member's post is inappropriate, please contact the owners or > moderators directly rather than posting on the list itself. > > Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: > mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at > caraqu...@caraquinn.com > > The archives for this list can be searched at: > http://www.mail-archive.com/macvisionaries@googlegroups.com/ > --- You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com. > To post to this group, send email to macvisionaries@googlegroups.com. > Visit this group at https://groups.google.com/group/macvisionaries. > For more options, visit https://groups.google.com/d/optout. -- The following information is important for all members of the Mac Visionaries list. If you have any questions or concerns about the running of this list, or if you feel that a member's post is inappropriate, please contact the owners or moderators directly rather than posting on the list itself. Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at caraqu...@caraquinn.com The archives for this list can be searched at: http://www.mail-archive.com/macvisionaries@googlegroups.com/ --- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at https://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.