Hello and welcome to Apple Support Communities, Karim Bastami.
If I understand your post correctly, Your MacBook Pro chimes upon waking and when you unplug the power cord. I'd like to help.
Try these steps:
Make sure that Energy Saver is set up the way you want: choose Apple () menu > System Preferences, then click Energy Saver. Adjust one or more of the following controls to affect when your Mac goes to sleep. Some of these controls might not be available on your Mac.
- "Turn display off after" slider
- "Display sleep" slider
- "Computer sleep" slider
If a slider is set to "Never," sleep is disabled for that feature.
- Schedule button
Make sure that you aren't putting your Mac to sleep accidentally:
- Pressing the power button can put your Mac to sleep.
- Moving your mouse pointer to a hot corner can put your Mac to sleep, depending on your Mission Control settings. Choose Apple menu > System Preferences, then click Mission Control. Click the Hot Corners button, then see if any of the corners are set to "Put Display to Sleep."
- Using magnets near your Mac notebook can put your Mac to sleep.

Check your Energy Saver settings as described above, and be aware that your Mac won't automatically go to sleep unless it's inactive:
- The same network activities that can wake your Mac can also keep your Mac from sleeping.
- Any app or other process that's running on your Mac could also be keeping your Mac awake. Check the Energy Saver pane of Activity Monitor to identify apps that need your Mac to be awake. If "Yes" appears in the Preventing Sleep column for an app, your Mac won't automatically sleep while the app is running. Other apps prevent sleep only when doing certain things, such playing music or video, printing, or downloading files.
If you started from macOS Recovery on a Mac notebook, automatic sleep is disabled as long as the Mac is using AC power.
These additional steps may help identify or resolve the issue:
- Reset the SMC.
- Reset NVRAM.
- Disconnect external devices other than your Apple keyboard, mouse, and display. If that resolves the issue, gradually reconnect your devices, testing each time, until you find the device that is interfering with sleep. Then check the documentation that came with the device, or contact the device manufacturer.
- Start up in Safe Mode to see if the issue is related to non-Apple startup items, login items, or kernel extensions.
- Try to isolate the issue by using another user account.
If you still see the issue, contact Apple Support.
See the full article here:
If your Mac doesn't sleep or wake when expected
Let us know if that resolves this issue for you.
Thanks for using the Apple Support Communities. Take care.