This patch allows one to force AC or USB charging for any charger. It also provides additional security when connecting to public charging stations because with either force AC or force USB mode on, USB transfers are disabled, protecting your data.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_charge_mode
echo 2 > /sys/kernel/fast_charge/force_charge_mode
echo 0 > /sys/kernel/fast_charge/force_charge_mode
Plug your phone into the charger AFTER toggling the desired mode.
In addition I have created a toggle fast charge widget that may be used to toggle fast/slow charge on and off right from your home screen:
I have not yet implemented the three way toggle into incredicontrol (free), but I will be. I have to change it to support slow charge also and haven't yet gotten the chance to. I will be implementing it when I get the chance though so you guys have a convenient free way to toggle also.
For the widget (or any fast/slow charge toggle) to work, you MUST be running a kernel that has this patch implemented.
As a good gesture to support a fellow dev, I ask that if you implement the patch into your kernel, please link to my widget as one means to toggle it. You are of course free to provide other ways to toggle it as well if you so desire.
Kernel devs, if you would like to test the widget yourself to confirm its working, and for convenience of testing, please contact me and I will provide you with a copy. You must show that you are a kernel dev though (i.e. link me to your kernel post so I can match your username).
Good luck have fun!
Here is the neoblaze kernel (stock froyo/gb, not AOSP) patched with the mod so that you guys can test. I will not be supporting anything regarding this kernel except the charging mod itself!