Put your Mac to sleep. Connect your computer's power adapter to an electrical outlet. Hold down the Shift, Control, Option, and Power buttons, and then let go. Turn on the MacBook, and then look in the battery status menu to see if the "Service Battery" message has gone away.