When the Apple MacBook and Macbookpro Lithium-ion batteries are completely depleted, a red X icon appears in the menu bar when you boot again, indicating that your battery is still not recognized by your computer. The solution for Mac batteries that cannot be identified is as follows.
If your MacBook or MacBook Pro computer's battery is completely depleted, the computer's battery will automatically enter a low battery state to keep it in the future. Completely draining the battery may be caused by a period of time without charging because the battery is used until the computer sleeps, and then the battery is kept on the sleeping computer.
If you completely drain the battery, when you plug in the power cord of your MacBook or MacBook Pro and start your computer, you'll see an icon with a red X on the battery in the computer's menu bar. If you see the icon, charge the battery for more than 5 minutes to exit the low battery mode, and then start accepting the charge again. If your battery is still not recognized by the computer after 5 minutes (there is still a red X on the icon), you may need to reinstall the battery. If the battery is still not recognized after reinstalling the battery, try resetting the PMU.
Resetting the "System Management Controller" (SMC) for MacBook and MacBook Pro
A "System Management Controller" is an integrated circuit (computer chip) that is located in the logical motherboard of a MacBook or MacBook Pro computer. As the name implies, it is responsible for computer power management. It controls backlighting, the rotation of the hard disk, sleep and wake, charging performance, trackpad control, and some input/output when it is associated with the computer's sleep.
Over a certain amount of time, the settings in the System Management controller may be invalidated, which may cause the computer to operate abnormally. For example, you cannot turn on, wake from sleep, fail to charge the battery, recognize an AC adapter, and so on.
Resetting the SMC does not work as a preferred workaround when the computer is not responding. The SMC reset is not required, it is only the last workaround as a hardware failure to suspect a power management system. Performing an SMC reset will restore the MacBook Pro hardware, including NVRAM (non-volatile random access memory), to the default settings and force the computer to shut down.
For most cases, restarting is sufficient. If the computer stops responding, try the following steps one by one. Test between two steps to see if it works. If a step works, then you don't have to consider the following steps, because you've solved the problem and you're ready to run! If you try all the steps listed here and the computer still doesn't work, then you only have to reset the SMC.
1. Forced exit (Option-command-escape)
2. Restart (control-command-power)
3. Force shutdown (Press and hold the Power key for 10 seconds)
Consider performing an SMC reset on your computer only if the above steps do not solve the problem.
1. If the computer is open, turn it off.
2. Disconnect the AC adapter and remove the battery from the computer.
3. Press and hold the Power key for 5 seconds, and then release the key.
4. Reconnect the battery and the AC adapter.
5. Press and hold the Power key to restart the computer