I have an HP AIO Envy Recline computer . Every once in a while the screen turns off for a second or two then it comes back on as if nothing has happened . The time interval between instances is very random . Does not happen every session . I remember this did not happen when the computer was running Windows 8.1 but happens after I upgraded to Window 10. Most of the time if it occurs , it will happen within a 5 mins or so of the computer waking up from sleep . My computer is never turned off , I just put it to sleep whenever I am not using it.

Any ideas what might be causing it? I keep the computer updated as required including drivers if advised by HP .