Install wakelock v3 app from play store. I fixed my note 8 which had the same problem by installing it.
open