I had that problem with a computer about less than three but more than two years ago. Sadly I didn't figure out what was wrong with it and I lost everything on it because one day it finally decided that it no longer wanted to turn on ever again.

I never looked into it because I had just purchased a new computer though and it wasn't worth it for me to bother with the old computer.