well by reading your ...description.
could be a loose wire in your computer power plug, touch it and it disconnects(brothers computer does that)
could be a power supply problem
could be a heat problem and shutoff...without the blue screen
could be a faulty shutdown switch.
does this happen out of the blue? or does it happen when you bring up the usage, such as games