Skip to content

Releases: Xposed-Modules-Repo/com.github.dhangofa.batteryremapper

v1.1.0 - Material 3 Manager, Dynamic Range Slider & Smart Automations

Choose a tag to compare

@Dhangofa Dhangofa released this 23 Sep 13:25
b734e36

🔋 BatteryRemapper v1.1.0 (59)

Thrilled to release BatteryRemapper 1.1.0! This major milestone transforms BatteryRemapper from a background module into a full-featured management application paired with an intelligent, dynamic Xposed/LSPosed hook.


🌟 What's New

🎨 Interactive Material 3 Manager

  • Modern UI: Complete Material 3 visual redesign with system bar edge-to-edge support and automatic dark/light theme switching.
  • Interactive Dual-Thumb Range Slider: Customize your physical battery boundaries dynamically (e.g., 20%–80%, 15%–85%, or any custom span with a 10% minimum delta) instead of being locked to static values.
  • Live Hook Status: Real-time dashboard status card showing whether the System UI hook is Active, Inactive, or Checking.
  • One-Click System UI Restart: Integrated root-enabled shortcut to restart System UI instantly without a full device reboot.

⚡ Intelligent Automation & Safety

  • Smart Hysteresis Battery Saver:
    • Automatically switches Battery Saver ON at $\le 20%$ remapped battery.
    • Automatically switches Battery Saver OFF when charged past $50%$ remapped battery.
    • 21%–50% dead-zone maintains current state while unplugged to prevent toggle flutter.
    • Instantly disables Battery Saver when connected to any power source.
  • Low-Battery Shutdown Protection:
    • Optional system-level 30-second countdown when reaching your chosen trigger level (defaulting to 0% remapped / 20% physical).
    • Plugging in a charger immediately cancels the countdown.
    • Dismissing the dialog prevents repeat popups during the same discharge session.

ℹ️ About & Credits Hub

  • Dedicated About screen with dynamic version tracking, open-source MIT license link, Telegram community chat, and GitHub repository links.
  • Full support for Android 13+ (API 33+) Predictive Back gestures.

🌐 Internationalization & Distribution

  • Bilingual Support: Full native translations in English and Simplified Chinese (zh-CN).
  • Adaptive & Themed App Icon: Crisp vector adaptive icon with full Android 13+ Material You Themed Icon support.

🔧 Technical & Architecture Improvements

  • Rootless IPC: Settings are shared dynamically between the Manager App and System UI hook via an internal Content Provider (SettingsProvider).
  • Toolchain Upgrade: Built on Android compileSdk 36 / targetSdk 37 using Java 17.
  • Optimized Release Builds: Enabled ProGuard/R8 code shrinking while strictly preserving LSPosed reflection entry points.
  • Lifecycle & Render Fixes: Decoupled activity window transitions from touch ripples to eliminate frame release warnings.

📱 Requirements

  • Android Version: Android 10 (API 29) to Android 17.
  • Root & Framework: Magisk or KernelSU/Apatch with Zygisk, and LSPosed (or compatible modern Xposed framework).
  • LSPosed Scope: Check System UI (com.android.systemui) in LSPosed Manager.
  • Root Access (Optional): Required only for the in-app "Restart System UI" button.

👥 Credits


Change details

Full Changelog: Dhangofa/BatteryRemapper@v1.0.17...v1.1.0

v1.0.17 — Smart Hysteresis Battery Saver Automation

Choose a tag to compare

@Dhangofa Dhangofa released this 24 May 11:18
e33dde5

What's New in v1.0.17

This is the second official release of BatteryRemapper. Building on our initial release—which established the core 20%–80% status bar visual remapping—version v1.0.17 introduces fully automated, intelligent power management.

You no longer need to toggle your Battery Saver manually. The module now completely automates your device's power profile based on your custom remapped scale, deploying a smart layout that prevents power flickering and optimizes battery health.

🚀 Key Enhancements

  • Smart Hysteresis Battery Saver Automation: Fully automated background control of your native Android Battery Saver profile:
    • Triggers ON: Automatically forces Battery Saver ON the moment your remapped visual scale drops to 20% or below.
    • Triggers OFF: Automatically forces Battery Saver OFF once your scale charges past 50%.
    • Hysteresis Dead-Zone: Keeps the existing power state completely stable between 21%–50% when unplugged. If you disconnect your phone within this zone, the module safely maintains its current state without rapidly flickering on and off.
    • Charging Bypass: Instantly disengages and disables Battery Saver mode the moment a charger (AC/USB/Wireless) is connected, ensuring unthrottled performance during your charging cycles.
  • Seamless UI Integration: Leverages system reflection utilities to mimic manual Quick Settings tile presses. This ensures 100% compatibility with custom ROM background optimization rules (such as Evolution X and crDroid) without requiring extra app privileges.
  • Automated CI/CD Compilation: Shifted our pipeline to Kotlin DSL (build.gradle.kts). Build tracking is now directly integrated with GitHub Actions workflow run counts for seamless version increments.

⚙️ Setup & Scope Configuration

To get the new automation features up and running, configure your scope settings inside the LSPosed / Vector Manager interface:

  1. Install the updated v1.0.17 APK.
  2. Open your LSPosed / Vector Manager app and navigate to the BatteryRemapper module.
  3. Ensure the target scope is correctly set:
    • System UI (com.android.systemui)
  4. Perform a soft reboot or system ui reboot

What's Changed

New Contributors

Full Changelog: Dhangofa/BatteryRemapper@v1.0.0...v1.0.17

v1.0.0 - Initial Stable Release

Choose a tag to compare

@Dhangofa Dhangofa released this 22 May 08:52

🚀 Features & Changes

  • Initial Stable Release: The core functionality of the LSPosed module is fully operational.
  • Status Bar Enhancements: Tailored for custom system software configurations, optimizing status bar modifications and countdown logic.
  • Permanent Production Key: This and all future builds are signed with a permanent cryptographic signature. You can seamlessly update future versions directly without ever needing to uninstall the module again.