Try resetting the SMC. Shut down the computer. Unplug the power cord from the computer, wait fifteen seconds, plug it back in, reboot.