I have a Raspberry Pi running headlessly as a display. Therefore, the screen should never blank.
Here's the link where I got the solution to my problem:
User jwzumwalt came up with the post, I'm just repeating it here for my own reference.
The long and the short of it: there are 2 files to be modified
change two settings in /etc/kbd/config
Add these lines to /etc/xdg/lxsession/LXDE/autostart
@xset s noblank
@xset s off
Then reboot and test.