Ok i need your help. I have a macbook pro 2011. I had some battery problems (mac couldn't see battery every now and then) and i decided to replace the battery (not from apple cause they needed up to 3 weeks to do it). Now my computer works perfectly when it is plugged in to the power BUT when not, it randomly shuts off or goes to sleep. Sometimes it works from 100 to 75% and then goes to sleep. If i press the buttons 5-6 times, it comes back from sleep and continues for sometime but then it goes to sleep again or completely shuts off. Then if i reboot, it shuts off constantly until i plugged it to the power and then works perfectly. I have tried SMC reset and PRAM reset numerous times with no result. Any suggestions apart from buying a new battery?!