That sounds like a huge hassle to be honest. My android phone had a feature that made the screen stay on as long as I was looking at it - it was a disaster. It just did not work properly. I ended up deactivating all that crap and just set the screen to never go off, unless I explicitly press the button.