Whatever the case, the charger is detecting a problem and refusing to charge - and if it's a power tool battery, that probably means a totally dead cell group, which you can't fix, and trying to work ...
You grab your new DeWalt tool, pop in a fully charged battery, and expect to get to work, but nothing happens. The battery shows bars, so it looks fine at first glance, but your tool stays dead silent ...
When buying new power tool batteries, it's a good idea to know what the warranty includes. Here are the brands that offer the best coverage.