macbook has x on battery icon?
If an X appears on your Mac battery icon. If the battery icon in the menu bar contains an X, either your Mac does not recognize the battery or the battery is not properly installed in your portable Mac. ... After you plug in your Mac and let the battery charge for five minutes, the battery should be recognized.