Right off the bat, sounds like a hardware issue to me, but try: Reset the System Management Controller (SMC) on your Mac - Apple Support.
If that does not help, it should probably be evaluated by Apple. You can set that up at http://getsupport.apple.com.