Set an Automatic Bedtime Screen-Lock Sleep Timer for YouTube & Streams
1. The Problem
Falling asleep to long YouTube essays, Twitch streams, rain videos, or podcasts keeps `FLAG_KEEP_SCREEN_ON` active—leaving your screen blazing for 7 hours.
2. Common Trap
Android's built-in 2-minute Display Timeout is completely ignored whenever a video player or stream holds a wake lock.
3. Fast Fix
Screen Off Timer (`com.thewizard.screenofftimer`) enforces a clean 15, 30, 45, or custom minute countdown that automatically locks your screen when time expires.
Step-by-Step Android Instructions
- 1
Open Screen Off Timer Before Starting Video
Pick a 1-tap bedtime preset (15m, 30m, 45m, 60m) or enter a custom countdown.
- 2
Start Your Video, Stream, or Audiobook
Switch to YouTube, Twitch, browser video, or podcast app and get comfortable.
- 3
Extend from Notification If Still Awake
Need 15 more minutes? Tap +15m right from the notification shade without leaving your video.
- 4
Wake Up to a Cool, Charged Phone
When the timer hits zero, Screen Off Timer locks your display so autoplay stops and your morning alarm is safe.
OLED Bedtime Battery Calculator & Nightpad
Calculate how much battery & OLED wear an 8-hour unlocked video stream wastes overnight.
Pro Tips for Best Results
- ✓ Prevents static video player chrome from baking into OLED panels overnight.
- ✓ Especially vital when camping, traveling, or sleeping without your phone plugged into a charger.
- ✓ All TheWizard Android apps are engineered natively in Kotlin & Jetpack Compose for fast cold starts and clean Material Design 3 navigation.
Frequently Asked Questions
Why doesn't Android's normal Screen Timeout turn off YouTube when I fall asleep? +
Video players explicitly request an Android `KEEP_SCREEN_ON` wake lock during playback; Screen Off Timer overrides bedtime marathons on your schedule.
Can I test a free browser tool alongside this workflow? +
Yes! You can use our 100% client-side OLED Bedtime Battery Calculator & Nightpad (/tools/oled-notepad) right in your browser with zero sign-up or watermarks.
Where do I install the official Android app for this guide? +
Use the verified Google Play link or scan the QR code on this page to open the official TheWizard listing directly in the Google Play Store.
More Screen Off Timer & Studio Playbooks
All 60 Playbooks →Stop Overnight Autoplay From Overheating Your Phone Under Pillows
Leaving a 1080p60 video decoding on Wi-Fi/5G all night drains 60%–90% battery—or generates sustained heat if plugged in on bedding.
Photo RescueHow to Unblur Night-Out Flash & Club Photos on Android
Candid rooftop, bar, and club photos shot on smartphones combine slow-shutter hand shake with harsh LED flash, leaving eyes soft and backgrounds noisy.
Vintage RestorationRestore Faded 1970s & 1980s Scanned Family Prints in 8K
Decades-old silver-halide and Kodacolor prints shift toward magenta/amber, lose shadow contrast, and look soft when photographed with a phone.
Compression CleanupFix Blurry WhatsApp, Telegram & Messenger Compressed Photos
Photos forwarded through group chats get downscaled to ~1280px and crushed with aggressive 4:2:0 JPEG quantization, leaving mosquito noise around faces and text.
Action & PetsSharpen Motion-Blurred Photos of Kids, Dogs & Cats on Android
Toddlers and pets rarely hold still; indoor auto-exposure drops shutter speed to 1/30s, smearing fur, whiskers, and laughing expressions.
Selfie StudioRescue Grainy Indoor & Front-Camera Low-Light Selfies
Smartphone front-facing selfie sensors are tiny; dim cafés, cars, and evening lounges push ISO past 1600, turning skin blotchy and watercolor-soft.