Add batching to Flip to Screen Off.

This reduces power drain when the screen is on and the phone is idle.

Bug: 189253126
Test: atest FaceDownDetectorTest
Change-Id: I1a7712b691654b5d0552171cc7419f34154da300
3 files changed