According to this page on Dell Support,
Problem: May randomly shutdown
The Studio 1558 may intermittently restart or shut down during use.
Resolution: Update the BIOS
To resolve the issue, download and install BIOS (System Setup) version
A04 or later. If you need help to download or install the BIOS, click
here for downloading and installation instructions.
Click here to proceed to Dell Drivers and Downloads
Your next question/step would be how do I update BIOS on your Dell from Linux? For that the answer is provided by our moderator Bruno Pereira here. Following is the information provided in that answer:
Dell has a very nifty utility to download and apply latest BIOS to
their computers that are using Linux. It should theoretically run
without any problems and you can run it in Ubuntu.
Please visit their page for more information, there are precise
instructions there
Here are the instructions from the linked page
sudo wget -q -O - http://linux.dell.com/repo/firmware/bootstrap.cgi | bash
sudo apt-get install firmware-addon-dell
sudo apt-get install $(bootstrap_firmware -a)
sudo update_firmware
Please note: I have not tested this myself, you might first drop an
email to Dell support to ask them if this method deprecated or if
there are any issues with it.