If you are not sure if Laptop is functioning properly or it need to be replaced, this can easily be identified by following below steps.
1: Open Windows PowerShell (Run as Administrator)
2: Execute below command
powercfg /batteryreport /output "C:\batteryHealth.html"
You can conclude if battery need to be replaced or not by checking section "Battery Capacity History"