This repository was archived by the owner on Oct 5, 2019. It is now read-only.
ADD Full control of yank555.lu's Fast Charge#553
Open
micky387 wants to merge 1 commit intoGrarak:masterfrom
Open
ADD Full control of yank555.lu's Fast Charge#553micky387 wants to merge 1 commit intoGrarak:masterfrom
micky387 wants to merge 1 commit intoGrarak:masterfrom
Conversation
This is a full interface for our fast charge. You can customize your AC ,USB, and Wireless charging current /* * Forced Fast Charge - SysFS interface : * -------------------------------------- * * /sys/kernel/fast_charge/force_fast_charge (rw) * * 0 - disabled (default) * 1 - substitute AC to USB * 2 - use custom mA configured through sysfs interface (see below) * * /sys/kernel/fast_charge/use_mtp_during_fast_charge (rw) * * 0 - disabled * 1 - enabled (default) * * /sys/kernel/fast_charge/screen_on_current_limit (rw) * * 0 - disabled * 1 - enabled (default) * * /sys/kernel/fast_charge/ac_charge_level (rw) * * rate at which to charge when on AC (1.0A/h to 2.2A/h) * * /sys/kernel/fast_charge/usb_charge_level (r/w) * * rate at which to charge when on USB (0.460A/h to 1.2A/h) * * /sys/kernel/fast_charge/wireless_charge_level (r/w) * * rate at which to charge when on WIRELESS (0.650A/h to 1.4A/h) * * /sys/kernel/fast_charge/failsafe (rw) * * 0 - disabled - allow anything up to 2.2A/h to be used as AC / USB / WIRELESS custom current * 1 - enabled - behaviour as described above (default) * * /sys/kernel/fast_charge/ac_levels (ro) * * display available levels for AC (for failsafe enabled mode) * * /sys/kernel/fast_charge/usb_levels (ro) * * display available levels for USB (for failsafe enabled mode) * * /sys/kernel/fast_charge/wireless_levels (ro) * * display available levels for WIRELESS (for failsafe enabled mode) * */
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a full interface for our fast charge.
You can customize your AC ,USB, and Wireless charging current
/*
*/