Is the laptop overheated? If so, it will shutdown so that it doesn't fry. You may need to clean it out (if if has a lot of dust and hair in the fans). And set it on a flat surface not your bed/lap so that it can get enough air flow. If it's not a heat problem, give more details.