Today I will be showing you how to fix the problem on a mac when it says "No Battery Available" or when there is an X on your battery icon. I had this problem once and I am glad to help others out with this problem.
"STEPS TO SOLVING"
1) Hold Shift+Control+Option+power Button
2) Your Apple computer should turn off
3) Once it turned off turn your computer back on
4) Now your problem should be fixed