If your mac is having trouble recognizing a replacement battery or other components, you may need to repair your main disk permissions. Follow this
How to Repair Disk Permissions on Mac - Make Tech Easier
Apple repair shops turn to documents leaked by ransom group to
Allow Code42 (Crashplan) Access to Backup Personal Files - iFixit
iFixit: 16-Inch MacBook Pro Has Easy to Repair Keyboard
How to verify and repair Mac OS X Disk Permissions - iFixit Repair
How to Speed Up Mac Yosemite? How to Fix If It's Running Slow?
How to verify and repair Mac OS X Disk Permissions - iFixit Repair Guide
How to Install macOS High Sierra - iFixit Repair Guide
Repair disk permissions to speed up your Mac - CNET
How to Repair Disk Permissions on Mac
How to convert your Mac's storage from HFS to APFS file system
How to verify and repair Mac OS X Disk Permissions - iFixit Repair