Sometimes a Dell laptop will refuse to charge a battery, or won’t recognize the battery. That **could** be because the battery is dead, or the laptop doesn’t recognize the off-brand battery you bought – but it could also be because the sensor chip in the battery has gotten confused.
Here is how to reset it. It takes no tools, and just a few minutes.
This information was taken from https://www.ncconsumer.org/news-articles-eg/resetting-a-dell-laptop-battery-in-five-quick-steps.html.