It sounds like you may have a faulty sensor. Your unit should still be under warranty and I would take it to Apple and let them fix it for free.
+
Just noticed you did a hard drive upgrade so Apple would probably not cover your problem. Please go over the steps in your upgrade and see if you missed a sensor.