Keep Screen Always On for Cocos2d-js

Hi.
Is there a way to keep the screen always on, because in my game is only tilting used, so the screen get darker after a while.

@ludingping maybe?

Hi @Kolonka ,
I’m sorry that I didn’t understand “in my game is only tilting used”, why did the screen get darker after a while?

Could you please give us a demo to reproduce the Issue?

Bests
David