Table of Contents
Overview
Force DeepSleep is the ultimate solution for Android users struggling with “idle drain”—the annoying battery loss that happens while your phone is just sitting on your desk. This Magisk module ensures that your device’s CPU and background processes enter the lowest possible power state (Deep Sleep) the moment you turn off the screen.
Key Features
- 💤 Aggressive Doze Mode: Forces the Android Doze mechanism to trigger almost instantly when the screen is locked.
- 🚫 Wakelock Suppression: Blocks unnecessary system wakelocks that prevent the CPU from resting.
- 📊 Background Process Restriction: Temporarily suspends non-critical background activities to maintain power efficiency.
- 🔋 Battery Life Extension: Significant reduction in percentage drops during overnight or long idle periods.
How It Works
The module utilizes shell scripts to modify the device_idle settings and dumpsys deviceidle parameters. It overrides the default system timers that usually wait for hours before entering Deep Sleep, reducing that wait time to just a few seconds.
By fine-tuning the Doze Mode constants, Force DeepSleep makes the system “ignore” minor movement or insignificant sensors that would otherwise wake the device up.
Benefits
- Optimized Standby: Your battery percentage stays virtually the same even after hours of inactivity.
- Universal Support: Works seamlessly across different ROMs (AOSP, MIUI, OxygenOS, etc.).
- Minimalist Footprint: Extremely lightweight with zero impact on system performance when the screen is back on.
Installation
- Download the module from the GitHub Repository.
- Install via Magisk or KernelSU.
- Reboot your device.
- Enjoy a device that actually sleeps when you do.
Final Thoughts
Force DeepSleep is designed for those who value longevity. It is the perfect companion for high-performance modules, ensuring that while your phone is powerful when you use it, it remains incredibly efficient when you don’t.