Chosen Solution

The battery doesn’t charge does it mean it needs to be replaced?

Jacob van Dyk possibly. Not sure which version Windows (or any other OS you are running) but I would generate a status report for the battery first. Type powercfg /batteryreport at the command prompt, then hit the Enter key. The report will be saved under C:\Windows\System32 as battery-report. Should be an HTML file that will open with your Browser. See what it tells you about your battery. Let us know what you find out. It could be the battery (most likely), but it could be a couple of other things as well.

Is there any chance to check battery connection? There may be a data line connection problem with the battery

Common culprits include a faulty motherboard, damaged charging circuits, and malfunctioning battery sensors. Your particular make and model of laptop will likely have its own unique issues, and a seasoned tech support operator will have seen all of them. Regards, Will