Nevermind, I found the setting under power options and changed it.
I just had a new Seagate 1TB hard drive and Windows 8 installed in my Toshiba laptop. I also had ESET NOD32 Antivirus 6 installed. The only problem I have encountered so far is that the computer shuts down if unattended for about 30 minutes. Does anyone have any idea as to why this is happening and what I can do to prevent it?