Previous replacement was through an "authorized repair center" but after having replaced a battery on a 2016 MacBook Pro, I thought it would be easy to do it on this old laptop.
It went very smoothly and everything is back as it should, and I can use the trackpad.....
I also replaced both fans that were starting to get quite noisy
My 2015 hard-drive was showing signs of imminent failure (grinding noise) so I ordered a 1TB SSD and carried out the cloning of the original drive. The cloning part took some 13 hours, so I left it unteil next day.
I check that I could boot from the clone installed as an external drive. Everything was OK
Then I did proceed with the replacement, based on this tutorial
I did a fair bit of dusting, including the fans
I did not bother to diconnect the battery.
Replacement went smoothly and as soon as the power was turned on it started (much faster that the hard drive)
Now, I shall consider replacing a fan that is getting noisy and upgrade the OS to the latest available for thet old machine