I was having the same problem of the screen continuously going black but my lap top was on and running. I have a Dell lap top. I dimmed the screen by 2 notches and it hasn't blackened out since. Clcik on Fn and the up arrow to brighten OR Fn and the down arrow to dim the brightness of the screen.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.