XtremeBS (Xtreme Battery Saver)

Magisk KSU APatch

Standard Android battery savers only scratch the surface by restricting background data and lowering screen brightness. XtremeBS (Xtreme Battery Saver), developed by DethByte64, takes power efficiency to the absolute extreme. Operating systemlessly at the kernel and framework levels, it grants advanced users unparalleled, dynamic control over CPU core states, Wi-Fi radios, Google Mobile Services (GMS), and Android's deep Doze mechanics. With proper tuning, XtremeBS can significantly multiply your device's standby time and screen-on longevity.

Aggressive Power Optimization

Explore the sophisticated event-driven architecture that allows XtremeBS to drastically cut down power consumption.

Dynamic CPU Control

Forces CPU governors into powersave mode or completely disables specific high-performance cores (e.g., cpu4–cpu7) dynamically when the screen is off or the battery hits critical levels.

Event-Driven Architecture (v2)

Moves away from static constraints. You can configure entirely separate power profiles triggered by OS events such as boot, screen_off, charging, and low_power.

Instant Doze & GMS Management

Bypasses Android's delayed standby timers by forcing the device into Deep or Light Doze immediately upon screen lock. It also features logic to reprioritize (nice), suspend, or kill Google Mobile Services (GMS) wakelocks.

Local Web UI Configuration

No need to edit text files manually. Version 2 integrates a sleek, locally-hosted Web UI running at 127.0.0.1:8081, allowing you to intuitively adjust your allowlists, denylists, and core behaviors.

Technical Breakdown: How XtremeBS Saves Battery

Modern Android processors operate on a "big.LITTLE" architecture, combining low-power efficiency cores with high-power performance cores. When an application runs a background task while your screen is off, the OS may unnecessarily wake up the performance cores, draining significant battery capacity (often referred to as idle drain).

XtremeBS intercepts these states using background daemons. By tracking kernel and OS broadcast events (like android.intent.action.SCREEN_OFF), the module can forcefully execute echo 0 > /sys/devices/system/cpu/cpuX/online to completely shut off the power-hungry cores. Simultaneously, it pushes the device straight into Deep Doze using native dumpsys deviceidle commands, preventing background applications from establishing network connections or running sync tasks until the device screen is turned back on or a charging event is triggered.

XBSctl Command Line Interface

While the Web UI is recommended, power users can control the entire framework directly from a terminal emulator (like Termux) using the dedicated XBSctl command suite. If you apply a configuration that is too aggressive—resulting in system freezes or severe lag—you can instantly disable the tweaks by running safe mode via ADB:

adb shell su -c XBSctl safe

Other useful diagnostic commands include:

  • su -c XBSctl reload - Restarts the daemon and applies new config changes.
  • su -c XBSctl start - Manually forces the manual event block.

Frequently Asked Questions

XtremeBS is an advanced systemless root module engineered by DethByte64 that enforces aggressive power-saving protocols on Android. It allows users to dynamically control CPU cores, forcefully trigger Doze mode, and manage background processes based on specific device events like screen-off or low-battery.

In version 2 and above, the module uses an event-based structure instead of static configurations. You can set specific rules for states like screen_off, charging, or low_power. For example, you can program the module to completely disable specific high-performance CPU cores or kill Google Mobile Services (GMS) only when the screen turns off.

Because XtremeBS modifies low-level kernel and CPU behaviors, applying settings that are too aggressive can cause system UI crashes or unresponsiveness. If this happens, connect your device to a PC and run adb shell XBSctl safe to instantly enter safe mode and revert the aggressive parameters.

Yes, it features a built-in local Web UI accessible via http://127.0.0.1:8081 on your device, which can be launched via the XBSctl command or through your root manager's action button. This interface allows you to configure your event profiles without manually editing text files.

Download XtremeBS (Xtreme Battery Saver)

Module Info

  • Version v2.1.4
  • Module By
    DethByte64
  • Contributors DethByte64, vikasmistry
  • Source Code View Repository
  • Tags
    #XtremeBS #Battery Saver #Doze #CPU #Optimization #DethByte64 #Battery
  • Requirement
    Magisk KernelSU APatch
  • Latest Update