How to Enable and Use Screen Attention on Android to Prevent Display Timeouts

Few mobile experiences are as frustrating as having your smartphone display dim and lock while you are actively reading a long-form article, following a cooking recipe, or reviewing technical documentation. While extending your general display timeout to five or ten minutes prevents premature sleep, it severely compromises battery life and leaves your phone vulnerable if you leave it unattended on a desk. Android solves this dilemma intelligently with Screen Attention.

What Is Screen Attention and How Does It Function?

Screen Attention (also known as Keep screen on while viewing on Samsung Galaxy devices) is an intelligent display retention technology built into modern Android releases. Rather than enforcing an arbitrary timer, the operating system uses the front-facing camera right before the standard screen timeout threshold expires:

  • On-Device Gaze Detection: If the sensor detects that your face and eyes are directed toward the screen, Android resets the timeout counter silently, keeping the screen fully illuminated.
  • Zero Image Storage or Transmission: Face recognition operates exclusively within the on-device Private Compute Core. No photographic frames are saved to disk, logged in memory, or uploaded to cloud servers.
  • Negligible Battery Drain: The front camera does not run continuously; it wakes up for only a fraction of a second when the display is preparing to dim, preserving battery efficiency.

Enabling Screen Attention on Google Pixel and Stock Android

On Google Pixel smartphones and devices running stock Android 12, 13, 14, or 15:

  1. Open the Settings app on your Android device.
  2. Tap Display.
  3. Select Screen timeout.
  4. Locate the Screen attention section beneath the timer options.
  5. Toggle the switch beside Screen attention to On.
  6. If prompted, grant the necessary system camera permissions to allow on-device face detection during idle countdowns.

Enabling “Keep Screen On While Viewing” on Samsung Galaxy (One UI)

On Samsung Galaxy devices running One UI, the feature is situated within motion and gesture preferences:

  1. Launch Settings on your Samsung smartphone or tablet.
  2. Scroll down and tap Advanced features.
  3. Select Motions and gestures.
  4. Locate the option labelled Keep screen on while viewing.
  5. Switch the toggle to On.

Ensuring Reliable Performance in Real-World Conditions

To ensure Screen Attention detects your gaze consistently and avoids unintended timeouts:

  • Adequate Ambient Illumination: In pitch-black rooms, standard RGB front cameras may struggle to distinguish facial contours. Some flagship devices use IR sensors, but ensuring subtle ambient light dramatically improves detection accuracy.
  • Clear Camera View: Avoid resting your thumb over the top bezel or front camera notch while holding your phone in landscape mode or reading in bed.
  • Camera Privacy Toggles: Android includes a global Camera access toggle in Quick Settings and Privacy preferences. If you have disabled camera access system-wide, Screen Attention cannot activate. Ensure Camera access is turned on in Settings > Privacy > Camera access.

Combining Screen Attention with Sensible Timeouts

With Screen Attention active, you no longer need prolonged timeout timers. Set your base Screen timeout to 30 seconds or 1 minute. Your phone will now sleep almost instantly when set down on a table—preserving battery longevity and preventing unauthorized access—while remaining persistently awake whenever you are actively reading.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.