The symptoms that you describe are either a hardware problem - or a virus.
Since you've reformatted, the most likely cause is a hardware problem - but a virus is possible also.

I'd suggest taking it in for warranty work and describe what you've already done.