Chosen Solution

I just replaced battery and it is not recognized, shows X in battery life display. I can only use laptop when plugged in, once I remove power cord it shuts off.

its either wrong type/ bad battery or not hooked up properly