Recently after replacing the battery in my late 2011 MBP, the system will shut off after several hours of having the lid closed. When opening the lid, instead of waking from sleep, the system won't power on unless it is plugged into the power adapter. I've tried holding the power button for 10 seconds; I've reset the SMC; and I've checked the Energy Saver settings and schedule to ensure that is not the culprit. OS is on the latest release (Sierra 10.12.5). Very frustrating as I must have AC power in order to boot my laptop every day. Any help is appreciated.