A simple KernelSU module that adds a fast charging toggle for devices or ROMs without native support.
This module controls fast charging by writing to the Qualcomm kernel node:
/sys/class/qcom-battery/restrict_chg
Primarily designed for KernelSU-based root solutions.
- Toggle fast charging on or off
- Persistent state across reboots
- Lightweight and safe implementation
- KernelSU / KernelSU Next / SukiSU / Wild KSU
- Qualcomm-based device
- Kernel exposes the following node:
/sys/class/qcom-battery/restrict_chg
If the node does not exist, the module will exit safely.
- Install the module via a KernelSU-compatible manager
- Reboot the device
- Use the Action button to toggle fast charging
This module uses date-based versioning:
version=user-YYYY.MM.DD versionCode=YYYYMMDD
Test builds use the test-YYYY.MM.DD format.
- Fast charging support depends on kernel implementation
- This module only toggles charging behavior