Overnight battery drain is one of the most frustrating issues on Android devices. You lock your phone with a full battery, go to sleep, and wake up to find several percentage points gone for no apparent reason. Background apps, system wake locks, and improper idle management are usually the main culprits.
In this guide, you will learn everything about DeepDoze Enforcer, a popular open-source module designed to stop unnecessary battery drain while your phone is locked. We will cover what the module does, its key features, system requirements, download links, step-by-step installation instructions, usage tips, troubleshooting solutions, and answers to common questions.

Table of Contents
What is DeepDoze Enforcer?
DeepDoze Enforcer is a root module built for Android devices running Magisk, KernelSU, or APatch. Developed by developer Azyrn, this tool forces your device into Android’s deep sleep state (known as Doze mode) shortly after you turn off the screen and lock your phone.
While stock Android eventually puts idle devices to sleep, many third-party applications actively wake the phone up in the background. DeepDoze Enforcer steps in by immediately restricting background app behavior and forcing deep idle states when the display is off. Once you unlock your screen, the module restores your applications to their normal state within a few seconds so your user experience remains fast and smooth.
Features of DeepDoze Enforcer
DeepDoze Enforcer offers a variety of smart power-saving features without breaking essential phone functionality:
- Instant Deep Doze: Forces the operating system into deep sleep shortly after the device screen is locked.
- Smart App Standby Modes: Restricts background activity using three custom profiles:
- Gentle Mode: Moves unapproved apps into a light standby bucket. Recommended for daily use.
- Balanced Mode: Applies stricter standby rules and prevents background runs.
- Aggressive Mode: Force-stops non-essential background applications while the device is locked.
- Modern WebUI Dashboard: Includes an easy-to-use control panel built with Material 3 design, accessible through KernelSU, APatch, or MMRL. You can view live battery drain, system status, and recent activity directly from your manager app.
- Automated Whitelisting: Automatically protects critical applications such as your phone dialer, SMS app, keyboard, clock/alarms, and default launcher so basic features never fail.
- Custom App Protection: Allows you to search and select specific apps (like WhatsApp, Telegram, or Gmail) to keep awake so you never miss important notifications.
- Non-Intrusive Operation: Does not change or turn off your Wi-Fi, Bluetooth, network connection, location settings, or hardware sensors.
- Optional CPU Control: Offers an opt-in experimental CPU frequency throttling mode that slows down the processor only when the screen is off.
- Automatic Recovery: Fully restores original app settings and permissions when you unlock your phone.
Requirements for DeepDoze Enforcer
Before installing DeepDoze Enforcer, ensure your device meets the following basic requirements:
- Android Version: Android 8.0 (API level 26) or newer.
- Root Solution: Magisk version 24.0 or higher, KernelSU version 1.0 or higher, or APatch.
- Kernel: Works on standard stock kernels. A custom kernel is not required.
- Manager App: KernelSU Manager, APatch Manager, or MMRL (if you want to access the WebUI dashboard easily).
Download DeepDoze Enforcer
You can download the latest official release of DeepDoze Enforcer directly from the official GitHub repository releases page:
- Releases Page: https://github.com/Azyrn/DeepDoze-Enforcer/releases
Always download the compiled module .zip file from the official Releases tab rather than downloading the raw repository source code archive.
How to Install DeepDoze Enforcer
Installing DeepDoze Enforcer takes only a few simple steps:
- Download the latest DeepDoze-Enforcer-vX.X.X.zip file from the official GitHub releases page to your phone’s internal storage.
- Open your root management application (Magisk Manager, KernelSU, or APatch).
- Navigate to the Modules tab.
- Tap Install from storage (or Install ZIP) and select the downloaded DeepDoze Enforcer ZIP file.
- Wait for the installation script to complete.
- Reboot your device to activate the background service.
Check this also: Top 25 Best Magisk Modules in 2026
How to Use DeepDoze Enforcer
DeepDoze Enforcer is designed to work automatically out of the box, but you can customize its behavior to fit your needs:
1. Using the WebUI Dashboard
Open KernelSU, APatch, or MMRL, find DeepDoze Enforcer in your installed modules list, and tap the WebUI option. Here you can:
- View live service status and battery drain metrics.
- Toggle between Gentle, Balanced, and Aggressive modes.
- Search through installed apps and add messaging tools to your protected whitelist.
- Enable or disable optional controls like CPU throttling.
2. Manual Configuration File
If you prefer using a file manager or terminal with root access, you can edit the module settings directly on your device:
- Configuration File: /data/adb/deepdoze/config (allows you to set restriction modes and toggle features).
- Whitelist File: /data/adb/deepdoze/whitelist (add one package name per line, e.g., com.whatsapp, to keep an app awake).
Credits
DeepDoze Enforcer is an open-source project created and maintained by developer Azyrn (Azyrnskeler on GitHub).
Special recognition goes to project contributors including reasonto-live and claude, as well as the broader Android root community for continuous testing and feedback.
Troubleshooting Common Issues
If you run into any issues after installing DeepDoze Enforcer, try these troubleshooting solutions:
- Delayed Messaging Notifications: If apps like Telegram or WhatsApp stop sending notifications while the phone is locked, open the WebUI or whitelist file and add those applications to your protected list.
- Display or Video Glitches: Ensure you are using the latest version from the GitHub releases page. Early experimental builds had debug tracing properties that affected video rendering on some devices, which have been completely cleaned up in recent releases.
- Service Not Running: If the module status shows inactive after flashing, open the WebUI and tap the Action button to start the background service, or perform a quick device reboot.
- Performance Stutter: If you experience lag when unlocking, make sure you do not have the experimental CPU throttling setting enabled alongside another heavy performance or kernel manager app.
FAQs
No. DeepDoze Enforcer does not modify your Wi-Fi, Bluetooth, mobile data, GPS location, or sensor settings. Power savings come entirely from background app management and enforcing Android deep sleep states.
Yes. Essential applications including your phone dialer, messaging service, alarm clock, and system launcher are automatically detected and protected by default.
Yes. DeepDoze Enforcer works on standard stock kernels. Custom kernels are not required.
The default Gentle mode is recommended for most users because it saves significant battery while keeping important background tasks functioning normally.
Conclusion
DeepDoze Enforcer is an excellent tool for Android users who want to eliminate unnecessary idle battery drain. By combining automatic deep Doze enforcement with smart background app management and a clean WebUI dashboard, it gives you full control over how your phone behaves when locked.
Have you tried DeepDoze Enforcer on your rooted Android device? How much overnight battery savings did you notice? Please leave a comment below and share your experience or questions!


