Does battery affect smc problem

I had this problem from a week before. It does say my battery need to change and my laptop kept randomly shut down. I restarted the smc and after i restarted the mac wont turn on but after i force turn on the fan spinning in full speed and i kept restarting the smc and the mac wont turn on and this always continue. I do not know if battery affect with smc problem especially the full fan speed but there is chance that the logicboard broke too. Should i replace the battery??? (Sorry for bad english)

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

Install this gem of an app CoconutBattery post a snapshot of the apps main window so we can see Adding images to an existing question

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0