If this happened within a year I would simply insist they replace the battery under warranty and highlight that there was no element of discretion about it. They would do it.
I was overseas at the time and they dragged the process out long enough that eventually warranty was up and they told me they wouldn't replace it.
I replaced it myself but I'll never buy a Dell again and recommend others go with Lenovo.