We may have to try several things. First let's reset the Power Management Unit:
How to Clear the PMU 1. Step 1 Quit all of your active applications and shut down your Mac. 2. Step 2 Once your computer is completely shut down, disconnect the computer's AC power Adapter and remove the battery from your Mac. 3. Step 3 Press and hold down the power button on your MacBook or MacBook Pro for at least five seconds and then release the power button. 4. Step 4 With your Mac still shut off, reinstall the battery in your MacBook or MacBook Pro and reconnect the AC Adapter. The PMU/SMU has now been reset on your computer.