Repository navigation
Releases
Releases · mhmithu/Smart-Bypass-Charging
Smart Bypass Charging v1.1.2
Changelog
🛠️ Bug Fixes & Core Improvements
- Multi-Stage Fuel Gauge Polling: Added a 3-step settling check (up to 6s) during initial switch detection so high-wattage fast-charging devices (Xiaomi/Qualcomm/OEM kernels) have enough time for
current_nowsensors to drop before validating bypass state. - Accurate Bypass & Idle Verification:
- Aligned the current threshold in
is_charging_paused()to< 100mA(100000 uA) to accurately detect hardware idle/bypass mode. - Explicitly rejected
Dischargingbattery status and removedinput_suspendnodes so forced battery discharging is never misidentified as bypass charging. - Removed non-stopping
night_chargingnode and prioritizedconstant_charge_currentfor reliable OEM compatibility.
- Aligned the current threshold in
- Switch Probe Failure Caching: If no compatible charging control node is found on a device,
service.shnow cachesNONEinactive_switch.confinstead of re-probing sysfs nodes every 2 seconds. (Automatically resets on a fresh reboot to support kernel updates). - Standard Magisk & KernelSU Installer: Replaced the custom
update-binarywith the official Magiskutil_functions.shinstaller (install_module) for 100% compatibility across Magisk, KernelSU, and APatch. - Safety Documentation: Added a detailed Hardware & Kernel Risk Notice in
README.mdexplaining how sysfs power-supply node manipulation works.
v1.1.1
- Fixed (Installer): Replaced the custom 6-line
update-binarywith the official standard Magiskutil_functions.shinstaller for full Magisk & KernelSU compatibility. - Fixed (Bypass Detection): Corrected current threshold to
50000 uA(50mA), removedinput_suspend, and explicitly rejectedDischargingstatus so battery discharge is never misidentified as valid bypass/idle mode. - Fixed (Switch Probing): Cached probe failure (
NONEinactive_switch.conf) when no compatible kernel switch is found, preventing continuous sysfs re-probing every 2 seconds on unsupported devices. - Docs: Added a clear Risk Notice & Disclaimer in
README.mdregarding writing directly to kernel charging controlsysfsnodes.
v1.1.0
- Fixed: Resolved 14W (3A) fast charging ceiling cap issue on first charger plug-in.
- New: Added Charging Speed Controller (Fast Max, Balanced 10W, and Cool Night 5W modes).
- New: Added Live Power & Health Telemetry in WebUI (Live Wattage, Current mA, Voltage, Battery Health %, and Cycle Count).
- New: Added Smart Thermal Auto-Pause (Automatically pauses charging at >=42°C and resumes at <=38°C).
- New: Added Auto-Bypass in Games (Automatically activates bypass mode when a configured game is in the foreground).
- New: Added Charge to 100% Once toggle.
v1.0.1
- Added Universal Auto-Detection Engine for charging & bypass switches.
- Added Material Design 3 WebUI (Auto Light/Dark theme).
- Added Force Bypass Mode for gaming and Smart Charging Limits.
- Added Smart Notifications (Plug/Unplug, State changes, and >=42°C Overheating warning).
v1.0.0 (Initial Release)
- Initial stable release with Universal Auto-Detection Engine and Material 3 WebUI.
Smart Bypass Charging v1.1.1
Changelog
v1.1.1
- Fixed (Installer): Replaced the custom 6-line
update-binarywith the official standard Magiskutil_functions.shinstaller for full Magisk & KernelSU compatibility. - Fixed (Bypass Detection): Corrected current threshold to
50000 uA(50mA), removedinput_suspend, and explicitly rejectedDischargingstatus so battery discharge is never misidentified as valid bypass/idle mode. - Fixed (Switch Probing): Cached probe failure (
NONEinactive_switch.conf) when no compatible kernel switch is found, preventing continuous sysfs re-probing every 2 seconds on unsupported devices. - Docs: Added a clear Risk Notice & Disclaimer in
README.mdregarding writing directly to kernel charging controlsysfsnodes.
v1.1.0
- Fixed: Resolved 14W (3A) fast charging ceiling cap issue on first charger plug-in.
- New: Added Charging Speed Controller (Fast Max, Balanced 10W, and Cool Night 5W modes).
- New: Added Live Power & Health Telemetry in WebUI (Live Wattage, Current mA, Voltage, Battery Health %, and Cycle Count).
- New: Added Smart Thermal Auto-Pause (Automatically pauses charging at >=42°C and resumes at <=38°C).
- New: Added Auto-Bypass in Games (Automatically activates bypass mode when a configured game is in the foreground).
- New: Added Charge to 100% Once toggle.
v1.0.1
- Added Universal Auto-Detection Engine for charging & bypass switches.
- Added Material Design 3 WebUI (Auto Light/Dark theme).
- Added Force Bypass Mode for gaming and Smart Charging Limits.
- Added Smart Notifications (Plug/Unplug, State changes, and >=42°C Overheating warning).
v1.0.0 (Initial Release)
- Initial stable release with Universal Auto-Detection Engine and Material 3 WebUI.
Smart Bypass Charging v1.1.0
Changelog
v1.1.0
- Fixed: Resolved 14W (3A) fast charging ceiling cap issue on first charger plug-in.
- New: Added Charging Speed Controller (Fast Max, Balanced 10W, and Cool Night 5W modes).
- New: Added Live Power & Health Telemetry in WebUI (Live Wattage, Current mA, Voltage, Battery Health %, and Cycle Count).
- New: Added Smart Thermal Auto-Pause (Automatically pauses charging at >=42°C and resumes at <=38°C).
- New: Added Auto-Bypass in Games (Automatically activates bypass mode when a configured game is in the foreground).
- New: Added Charge to 100% Once toggle.
v1.0.1
- Added Universal Auto-Detection Engine for charging & bypass switches.
- Added Material Design 3 WebUI (Auto Light/Dark theme).
- Added Force Bypass Mode for gaming and Smart Charging Limits.
- Added Smart Notifications (Plug/Unplug, State changes, and >=42°C Overheating warning).
v1.0.0 (Initial Release)
- Initial stable release with Universal Auto-Detection Engine and Material 3 WebUI.
Smart Bypass Charging v1.0.1
Changelog
v1.0.0 (Initial Release)
- Added Universal Auto-Detection Engine for charging & bypass switches.
- Added Material Design 3 WebUI (Auto Light/Dark theme).
- Added Force Bypass Mode for gaming and Smart Charging Limits.
- Added Smart Notifications (Plug/Unplug, State changes, and >=42°C Overheating warning).