When your system just shutsdown is usaealy because of a power relaited issue. Either because there was a power spike from the source or there was over voltage used by the system componets that the power supply unit could handle.
For the first part, make sure you have either a battery back-up (Uninterupted power supply), or surge protecter.
For the second get a higher watt PSU.