You will need to check the specifications for each of the MAC's. One issue might be that the batteries might be non replaceable<==meaning Apple Service. The following link won't answer all your questions but will be a good place to start.
https://en.wikipedia.org/wiki/MacBook_(2006-2012)#Model_specifications_3
What you can d is log onto the Apple Support Community and post the question.