My laptop shut off this morning and will not come back on. Last night it was sitting on a couch and was heating up a lot, but it operated fine and shut down normally. This morning my roomate was using it on another surface that causes it to heat up. Both it and the power cord were significantly hot. She tells me that it shut down spontaneously and will not turn on again. No lights, no response, nothing. She gave it nearly an hour to cool, to no avail. It is not taking a charge, its power lights won't come on when plugged in. My roomate told me that it didn't appear to be taking a charge while it was still running today, but she's not sure if it died from a low battery or if it burned out. My computer has never really done something like this before. It overheated once before and came back an hour later, and it was able to charge while turned off.
Does this sound like a problem with the power cord and not the computer? I wasn't there when it shut down and I don't have the details. Does anyone know if there's a way to tell whether or not my power cord is broken and the computer is just on a dead battery?