My son's hand-me-down 2017 MacBook Pro has a failing battery. Is it worth replac...

@adarsh@ruby.social

My son's hand-me-down 2017 MacBook Pro has a failing battery.

Is it worth replacing via Apple Store or is it not worth the cost given modern machines?