If you are facing slow down or battery life reduced more then 50% then what you were getting. You might be infected by Malicious cryptomining. Malicious cryptomining is when someone else is using your computer to mine cryptocurrency like Bitcoin. This program utilizes full CPU power which leads to poor performance, PC keeping hot and draining battery life. Often using the Mac Activity Monitor is enough to identify the culprit. Check out which program is taking most CPU power sometimes the name of programs will be mshelper (this is the most active malicious cryptomining).
Don’t visit sites which you are not sure of, as most of the time infection happens by browsing fishy sites like torrent search engines. So if you found one, killing the process will not help as it might get alive again. Follow this steps to remove mshelper from your Mac:
1. Kill mshelper process:
2. Delete following files from your Mac:
Library > LaunchDeamons > com.pplauncher.plist (file)
Library > Application Support > pplauncer (folder)
private > tmp > mshelper (folder)
3. Restart your Mac.
If you are using google chrome add No Coin extension which will block coin miners using your computer resources without your consent. You can install by clicking on this link: https://chrome.google.com/webstore/detail/no-coin-block-miners-on-t/gojamcfopckidlocpkbelmpjcgmbgjcl/related?hl=en
for Firefox you and use following addons https://addons.mozilla.org/en-US/firefox/addon/no-coin/?src=search
So keep your Mac safe from Malicious cryptomining. If you have any question do post it in comments and we will get back to you.