Grarak / KernelAdiutor

An application which manages kernel parameters
GNU General Public License v3.0
596 stars 370 forks source link

Add Quick Charge (with complete sysFS and Descriptions) #526

Open Shoaib0597 opened 7 years ago

Shoaib0597 commented 7 years ago

Hi @Grarak

I request you to add Quick Charge, an Alternative Fast Charge Driver for Devices which Lack Support for Qualcomm's Quick Charge. I have developed this Driver myself.

This Driver offers a total of 3 sysFS entries as of now. They are (order-wise)---

1. Enable/Disable Toggle--- sysFS Path--- /sys/kernel/Quick_Charge/QC_Toggle Range--- 1 or 0

2. Dynamic Current Panel/Card--- sysFS Path--- /sys/kernel/Quick_Charge/Actual_Current Note--- ---This is NOT user-configurable. ---If the Output of this Variable is 0 (Zero), then please, show "Not Charging" instead of 0 (Zero). ---This just shows the users the Value of Current (mA) at which the Battery is being Charged. It is Dynamically Adjusted according to the Status (%) of Battery. ---This Variable updates its Value at 61% and 91% Battery. Further, the value is also updated when a Charger is Connected or Dis-Connected. So, it would be Great if you could make this Panel/Card refresh at the mentioned events so that the Updated Value can been seen instantly if the Battery TAB is open in Adiutor (currently, I have to switch to a Different TAB and then switch back to the Custom Controls TAB to see the Updated Value).

3. Charging Profiles Panel--- sysFS Path--- /sys/kernel/Quick_Charge/Charging_Profile Range--- 0 or 1 Note--- ---This is a Profile Panel. It should Offer Two Profiles for Users. These Profiles Control the Charging Speed. ---At Value 0, show "Safe" Profile. ---At Value 1, show "Fastest" Profile.

Titles and Descriptions---

1. Enable/Disable Toggle--- Main Title: Quick Charge Summary: A Fast-Charge Driver, developed by Shoaib Anwar (Shoaib0597).

2. Dynamic Current Panel/Card--- Main Title: Dynamic Current (AC) Summary: The Value of Current (mA) at which the Battery is being Charged. Note: Please, after the Value of Current, add mA unit. For ex, 1500 mA.

3. Charging Profiles Panel--- Main Title: Charging Profiles Summary: Leave Blank (as the Name of the Profiles is Self-Explanatory).

Please, if possible, try to copy/paste these descriptions exactly. :)

Thanks! I hope this gets included soon. :)

Shoaib0597 commented 7 years ago

@Grarak I have provided Complete Details regarding this Feature. Please, add it as soon as possible. :)

kalaiselvanJcks commented 6 years ago

How to add it. don't knoe help me