The next time it's running, change the action on lid close from sleep to hibernate, and see if it works like that. If so, it's a software issue. When you say it won't start, do you mean you get absolutely no activity, if so, see if the lid switch is sticky.