Skip to content

Simple module that toggles fast charging behavior via kernel sysfs nodes.

License

Notifications You must be signed in to change notification settings

superuseryu/fastcharge-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastCharge Toggle

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.


Features

  • Toggle fast charging on or off
  • Persistent state across reboots
  • Lightweight and safe implementation

Requirements

  • 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.


Usage

  1. Install the module via a KernelSU-compatible manager
  2. Reboot the device
  3. Use the Action button to toggle fast charging

Versioning

This module uses date-based versioning:

version=user-YYYY.MM.DD versionCode=YYYYMMDD

Test builds use the test-YYYY.MM.DD format.


Notes

  • Fast charging support depends on kernel implementation
  • This module only toggles charging behavior

About

Simple module that toggles fast charging behavior via kernel sysfs nodes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages