Pad Power Mode Unlock

English | 中文 | Bahasa Indonesia

An LSPosed module that brings back the Performance mode and Ultra battery saver options in the Battery page of Xiaomi tablets — options Xiaomi hides on purpose, even though the modes themselves are fully present in the system.

Icon

Why does this exist?

On Xiaomi phones, the Battery page offers a mode picker: Performance mode / Balanced / Battery saver / Ultra battery saver.

On tablets running a stable HyperOS/MIUI build, the picker only shows Balanced and Battery saver. Reverse-engineering the SecurityCenter app on the target device shows why: the Performance entry is only added when an internal check (PowerSaverUtils.isSupportPerformanceMode) passes, and that check is hard-coded to fail when the device is a tablet and the build is stable:

SDK > 28 && (!Build.IS_TABLET || buildType != "stable") && miuiVersion > 10
            && persist.sys.power.default.powermode != "unSupported"

The Ultra battery saver entry is gated by a separate device-support check that also fails on this device. Nothing is broken — the buttons are simply withheld. The modes themselves work fine at system level.

This module forces those two genuine support checks to return true inside com.miui.securitycenter, so the real Xiaomi entries — real titles, real remaining-time estimates, real mode actions — appear in the picker again. No fake entries, no re-implementation.

What you get

The Battery page mode picker becomes:

  1. Performance mode — the system's high-performance profile (power_mode = high)
  2. Balanced — the default (power_mode = middle)
  3. Battery saver — the standard power-save mode
  4. Ultra battery saver — Xiaomi's super power saver

Tested on

  • Xiaomi Pad 6S Pro (codename sheng), HyperOS 1.0 V816.0.8.0.UNXIDXM, Android 14
  • SecurityCenter 8.9.1-240321.1.1.pad (versionCode 100891)
  • LSPosed (also compatible with Vector, the maintained LSPosed fork — both use the classic Xposed API)

⚠️ The hooks target obfuscated class names (cc.e, ke.i) from the SecurityCenter build above. A SecurityCenter/HyperOS update may rename them and the module will silently stop working (it logs and never crashes the app). Reports for other devices/builds are welcome.

Requirements

  • A Xiaomi tablet (or phone where the entries are hidden) running MIUI/HyperOS
  • Android 14 (minSdk 34 of this build)
  • A working Xposed framework: LSPosed or Vector
  • Scope: com.miui.securitycenter (pre-declared by the module)

Installation

  1. Download the APK from Releases.
  2. Install it.
  3. Open LSPosed/Vector Manager → Modules → enable Pad Power Mode Unlock (scope com.miui.securitycenter should be pre-selected).
  4. Force stop SecurityCenter (or just reopen the Battery page).
  5. Open Settings → Battery and enjoy the full mode picker.

How it works

Two hooks, both verified against the decompiled code and resources of the target SecurityCenter build:

Hook Real method Effect
cc.e.f() PowerSaverUtils.isSupportPerformanceMode() Adds the Performance mode entry (string/pc_hidemode_performance_title)
ke.i.C(Context) Super power support check Adds the Ultra battery saver entry (string/power_center_super_save_title_text)

The picker itself is built by com.miui.powercenter.batteryhistory.y (PowerFeatureViewHolder) in SecurityCenter — the module only flips the two support gates and lets Xiaomi's own UI do the rest.

Building

No Gradle needed — the project builds with a plain shell script using the Android SDK command-line tools:

./build.sh

The script downloads the Xposed API jar (compile-only) if missing, compiles resources with aapt2, compiles and dexes the Java sources, then zipaligns and signs the APK with a locally generated keystore (tools/release.keystore, created on first run — keep it private, it is git-ignored).

Changelog

  • 1.0.1 — Package renamed to io.github.ryandxter.padpower for the LSPosed Module Repository listing. Identical hooks; the 1.0 build used id.rvmeur.padpower.
  • 1.0 — First release.

License

MIT — see LICENSE.

Credits

Made by rvmeur after one too many encounters with a battery page that offered a grand total of two modes.

Releases

1.0.1

Stable

12/1/2026, 6:11:46 PM

First release in the LSPosed Module Repository. Package io.github.ryandxter.padpower, identical hooks to the source repo v1.0.1. Tested on Xiaomi Pad 6S Pro (sheng), HyperOS 1.0, Android 14.

Assets

1