TekRevue

  • Home
  • Mac
  • Windows
  • Mobile
  • Games
  • Home Theater
  • Reviews
  • Editorials
  • Tips
    • Windows
    • Mac
    • Mobile
  • Twitter
  • Facebook
  • Google+
  • Feed
macbook magsafe

 010

Mac

How to Give Your Mac an iOS-Like Charging Sound

By Jim Tanous on April 22, 2015 at 3:43 PM • @mggjim

Your iPhone and iPad emit a nice chime sound whenever you connect a Lightning or 30-pin USB cable to let you know they’re charging and, it was recently discovered, so too does the new 12-inch MacBook. But that new MacBook has some serious limitations that won’t make it right for everyone. Wouldn’t it be nice to have a charging chime on your existing MacBook Air or MacBook Pro? The good news is that it’s easy to do, as Apple has included the hidden “Power Chime” service (not to be confused with the Mac’s startup chime) in the latest version of OS X Yosemite for all portable Macs. Here’s how to set it up.

It’s like Black Friday in July! Sign up for the free trial to shop Amazon Prime Day on July 11th.

Enable the Power Chime in OS X Yosemite

First, make sure you’re running at least OS X 10.10.3 (you can check for OS X updates via the Mac App Store). Then disconnect your MacBook from its power connector and launch Terminal, located in Macintosh HD/Applications/Utilities (or simply search for “Terminal” via Spotlight). With Terminal open, copy and paste the following command and press Return to execute it:

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

Now reattach your Mac’s power connector and you’ll hear the familiar iOS-style chime when the Mac recognizes the power connection (i.e., when the battery indicator in the Menu Bar is overlaid with a lightning bolt, indicating that its charging).

The power chime will sound each time your Mac is reconnected to power, and will even chime while the lid is closed if you have a Mac that supports and is using the Power Nap feature.

Disable the Power Chime

If you decide that you don’t like the power chime, you can disable it with the following command in Terminal:

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

Note that the above command to disable the power chime also works on the new 12-inch MacBook, allowing owners of the new laptop to optionally kill the sound if they find they don’t like it.

Also note that, just like with iOS, the volume of the power chime will depend on your system volume. If your Mac’s volume is set very low when you connect your MagSafe or USB-C power cable, you’ll barely hear the sound, and if it’s muted you won’t hear anything at all.

Locate or Play the Power Chime Sound File

If you’d like to preview the power chime sound, or access the actual sound file for any reason, you can find it located at the following path:

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

If you don’t want to go rummaging through app bundles in your System folder, you can quickly preview the sound by using the Unix command line audio player, afplay. Just copy and paste the following command into Terminal, and press Return:

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

Want news and tips from TekRevue delivered directly to your inbox? Sign up for the TekRevue Weekly Digest using the box below. Get tips, reviews, news, and giveaways reserved exclusively for subscribers.

 010

  • Categories: Mac
  • Tags: #iOS #MacBook with Retina Display #OS X #OS X Yosemite #Terminal #UI Customization

Sign Up for the TekRevue Weekly Digest

Read more in Mac on TekRevue

  • imac target display mode
    Target Display Mode Remains Absent from 2017 iMac Update

    Filed Under: Mac

  • mac ram
    Buying a New iMac? Here’s What You Need to Know About 2017 iMac RAM Upgrades

    Filed Under: Mac

  • macos high sierra wallpaper
    Download the macOS High Sierra Wallpaper and Spruce Up Your Mac

    Filed Under: Mac

  • Joey Pietrzak

    Hey, I tried changing the .aiff file to a different one, but it won’t play… Any ideas?

    • TekRevue

      Interesting, I hadn’t thought of customizing it that way. Don’t have a Mac in front of me at the moment, but possible explanations could be that OS X expects a file with a certain size or length, or that, because it resides in the System Library folder, the audio file need to be code signed. Let me play around with it this weekend and I’ll get back to you.

      • Joey Pietrzak

        I actually figured it out! A lot of audio programs make .aiff files, apple expects .aif. A simple drop of the second ‘f’ fixes this as they are just a variation of the same file type. 🙂

        • TekRevue

          Awesome!

Search

Related Articles

  • change safari search mac
    How to Change the Default Search Engine in Safari for Mac OS X
  • Two Quick Ways to Show OS X Dock Apps in Finder
  • os x volume precise shift-option
    How to Set Precise Mac Volume Levels in OS X

Connect with TekRevue

  • TekRevue on Twitter
  • TekRevue on Facebook
  • TekRevue on Google+
  • Cheats
  • Deals
  • Distractions
  • Editorials
  • Gadgets
  • Games
  • Giveaway
  • Hardware
  • Home Theater
  • More in Mac
  • Mobile
  • News
  • Podcast
  • Reviews
  • Sponsor
  • Tips
  • Windows
  • How to Extract Text from a PDF Using Your Mac’s Free Built-In Tools
  • bootable macos high sierra usb installer
    How to Create a Bootable macOS High Sierra USB Installer
  • imac target display mode
    Target Display Mode Remains Absent from 2017 iMac Update
  • signature
    How to Sign a PDF in Mail on the Mac
  • calendar desk keyboard
    How to Change the Default Calendar Alerts on Your Mac
  • mac ram
    Buying a New iMac? Here’s What You Need to Know About 2017 iMac RAM Upgrades
  • mac magnifying glass
    How to Use the Get Info Window to View the Combined Size of Multiple Files in macOS
  • macos high sierra wallpaper
    Download the macOS High Sierra Wallpaper and Spruce Up Your Mac
  • calendar pins
    How to Turn Off Automatic Calendar Invites on the Mac
  • Mac OS X Dock
    macOS: Tips on Minimizing Windows into the Dock
  • mac apple support options
    Trouble With Your Mac? How to Check Your Apple Support Options
  • mac finder sad
    How to Turn Off iCloud Drive Warnings When Moving Files on Your Mac
  • Spruce Up Your Desktop with Custom Folder Icons in macOS
  • manage windows mac
    4 Tips for Managing Application Windows on the Mac
  • email macbook
    Send Bulk Email Easily on the Mac with Contact Groups
  • bookmark
    How to Use Bookmarks in Pages on the Mac
  • mac apps
    How to Stop Apps from Launching Automatically on Your Mac
  • emojis mac
    How to Insert Emojis on the Mac
  • quicktime screen recordings
    How to Create QuickTime Screen Recordings in macOS
  • macbook syncing
    How to Turn on Desktop and Documents Syncing in macOS Sierra

Explore More Topics

Amazon Apple Apps Beta Software Consoles Deals Editorial Email Finder Games Gaming Google How To iOS iOS 7 iOS 8 iPad iPhone iTunes Mac macOS Microsoft Microsoft Office Operating Systems OS X OS X Mavericks OS X Yosemite Podcast Review Safari Security Smartphones Software Updates Sponsor System Preferences Tablets Tips UI Customization Web Browser Windows Windows 7 Windows 8 Windows 8.1 Windows 10 Xbox One

Tips

  • Apps
  • Gaming
  • Mac
  • Mobile
  • Online
  • Windows
  • reset kindle gift
    How to Factory Reset Your Kindle Before Selling or Giving It Away
  • office offline installer download
    Office 365 Tip: How to Download the Office Offline Installer
  • adobe acrobat
    How to Change the Default View for PDFs in Adobe Acrobat
  • gotomeeting mac
    Quick Tip: Remove Old Versions of GoToMeeting for Mac
  • classic solitaire windows xp
    How to Play Classic Windows XP Solitaire in Windows 10
  • ipad controller game
    How to Set Up and Game With an iOS Controller on Your iPhone or iPad
  • ps4 remote play mac
    How to Change PS4 Remote Play Resolution & Frame Rate on the Mac
  • steam trash
    How to Remove a Game From Your Steam Library
  • How to Extract Text from a PDF Using Your Mac’s Free Built-In Tools
  • bootable macos high sierra usb installer
    How to Create a Bootable macOS High Sierra USB Installer
  • signature
    How to Sign a PDF in Mail on the Mac
  • calendar desk keyboard
    How to Change the Default Calendar Alerts on Your Mac
  • email trash
    How to Configure Your iPhone to Ask Before Deleting Emails
  • iphone delete
    iPhone Running Out of Space? Here’s How to Free Up Space By Deleting Videos
  • email iphone
    How to Customize the Mailboxes View in Mail for iPhone and iPad
  • iphone email
    How to Configure Per Account Email Signatures on the iPhone and iPad
  • dropbox file request
    How to Get Files From Anyone Using Dropbox File Request
  • How to Turn on Google 2-Step Verification (And Why You Should!)
  • youtube loop
    How to Loop YouTube Videos
  • netflix bandwidth data usage
    How to Reduce Netflix Bandwidth Usage to Avoid ISP Data Caps
  • mouse speed
    How to Change Your Mouse Speed in Windows 10
  • windows 10 classic paint
    How to Use Classic Paint Instead of Paint 3D in Windows 10 Creators Update
  • use computer at night
    Reduce Computer Eye Strain With Windows 10 Night Light
  • microsoft edge
    Windows 10 Creators Update: Save and Manage Tabs in Edge
Company
  • About TekRevue
  • Get in Touch
  • Sponsorships

Sign Up for the TekRevue Weekly Digest

© TekRevue LLC. All Rights Reserved.

  • TekRevue User Agreement
  • TekRevue Privacy Policy

Built by Blazer Six