This has been slowly driving me insane since I got my S4. I charge my phone overnight on my nightstand. When it is fully charged, the screen turns on and stays on, bathing the room with enough light to summon Batman. I finally found a solution buried in an Android forum.
If you do not have Developer options, tap on “About Phone”.
To enable developer mode, tap on the Build number 7 times. Seriously, you have to tap on it 7 times. You’ll get a message that tells you that you are now a developer.
Now go into the Developer options screen and uncheck “Stay awake”. With this setting unchecked, the phone won’t wake up and neither will you.