Some tips. After the battery is charged, remove the charger. Do not use MacBook on power all the time. Charge only when it's less then 2% left. Then check after few days
How old your phone is? If it's under warranty, you can get swapping warranty from apple service provider. The problem is of hardware only. Replacing the microphone unit should solve the problem.