How to turn on the Power Charging Sound Effect on you Mac similar just like your Iphone sounds when it’s Plugged in.
defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime