I got battery drain because i fully charged my cell lastnight and when i woke up says 75% , thats 3 night in a row
Rference Holiraider 1.5 with last holicakes kernel
Did you do a full wipe before installing the ROM? Are you utilizing any overclocking features of the kernel?
What are you using to charge your phone? USB or the included wall charger?
Sent from my HTC PH39100 using xda premium
This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
This was a pretty big hit on some other devices so I figured I'd give it a shot for you guys. This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
It is essentially a software version of the modified charge only usb cables.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
I have also implemented a toggle in IncrediControl (free) that will allow you to turn it on and off.
https://play.google.com/store/apps/details?id=com.incredicontrol
For the widget (or any fast 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).
http://www.incredikernel.com/wp-con.../download.php?id=vivo_force_fast_charge.patch
i'm not a dev, but im very looking forward to seeing this in future kernel updates.
there are still many car chargers out there that could do 1ah charging but are recognized as standard usb chargers. with that you cant even use navigation without loosing battery over some time.
btw your apps are awesome!
veitograf said:
i'm not a dev, but im very looking forward to seeing this in future kernel updates.
there are still many car chargers out there that could do 1ah charging but are recognized as standard usb chargers. with that you cant even use navigation without loosing battery over some time.
btw your apps are awesome!
Click to expand...
Click to collapse
What kernel do you use? I'll patch it and build a copy for you real quick.
Edit: I looked at your signature and saw virtuous quattro. Here is the kernel built from the github from that ROM:
http://chad0989.dyndns.org/mirror/virtuous-quattro-vivo-fastcharge.zip
Enjoy.
I'm sure interested in this, am sick of my phone dying when connected to car charger. Hopefully someone can write this for affinity as I just don't have the skills.
Amazes me how you guys can do this stuff
chad0989 said:
What kernel do you use? I'll patch it and build a copy for you real quick.
Edit: I looked at your signature and saw virtuous quattro. Here is the kernel built from the github from that ROM:
http://chad0989.dyndns.org/mirror/virtuous-quattro-vivo-fastcharge.zip
Enjoy.
Click to expand...
Click to collapse
thanks man, appreciate that!
edit, does this work with sensation too? i got one lying around.
veitograf said:
thanks man, appreciate that!
edit, does this work with sensation too? i got one lying around.
Click to expand...
Click to collapse
Not yet, but if there is interest I can make a patch for the sensation also.
Hi chad! Would really like to port your patch to the Sony's Xperia Devices but I'm stuck at the moment on
msm72k_udc.c
Could I ask some help?
We don't have charger_detect() function so I'm lost on where to apply some of the patches on that file. If you want you could browse the file here
http://108.166.90.15/.rom/XPR/kernel/drivers/usb/gadget/msm72k_udc.c
Or browse the entire kernel for Xperia 2011 devices here
http://108.166.90.15/.rom/XPR/kernel/
and tarball here if you want
http://108.166.90.15/.rom/XPR.tar
Anyone knows if any existing IncS kernels support Force AC? I really like to use it to boost the charge time.
@chad0989, if possible, can you also mod the X-ICS AOSP V3 kernel for us? The source link is here. Many thanks!
chad0989 said:
This is for kernel devs only. The patch itself is useless to those who do not/can not compile their own kernel.
This was a pretty big hit on some other devices so I figured I'd give it a shot for you guys. This allows one to force AC charging for any charger that is detected as USB (e.g. many car chargers) and pull the full current the charger can support. It also provides additional security when connecting to public charging stations because by forcing AC charging, USB/adb data transfers are disabled, protecting your data.
It is essentially a software version of the modified charge only usb cables.
Fast charge can be toggled by issuing:
echo 1 > /sys/kernel/fast_charge/force_fast_charge
and off:
echo 0 > /sys/kernel/fast_charge/force_fast_charge
In addition I have created a toggle fast charge widget that may be used to toggle fast charge on and off right from your home screen:
https://play.google.com/store/apps/details?id=com.incredicontrol.fastchargewidget
I have also implemented a toggle in IncrediControl (free) that will allow you to turn it on and off.
https://play.google.com/store/apps/details?id=com.incredicontrol
For the widget (or any fast 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).
http://www.incredikernel.com/wp-con.../download.php?id=vivo_force_fast_charge.patch
Click to expand...
Click to collapse
Can you make a Kernel for sense Rom with that and uv support?
Sent from my HTC Incredible S using xda premium
ignore---sry
Hi, I'm using Nik's Project X and I would really really like to be able to force ac charge as I lost my original HTC charger. How can I go about doing this
JerryBYong said:
Hi, I'm using Nik's Project X and I would really really like to be able to force ac charge as I lost my original HTC charger. How can I go about doing this
Click to expand...
Click to collapse
Downloading the widget should be sufficient.
Sent from my HTC Incredible S using Tapatalk 2
I just got the widget, and it says kernel not supported. What kernel must I use and how do I install it
Sent from my HTC Incredible S using xda premium
JerryBYong said:
I just got the widget, and it says kernel not supported. What kernel must I use and how do I install it
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
A kernel with force ac charging included, like the one itandy made a while ago for ice cold sandwich
Edit: found it
http://forum.xda-developers.com/showthread.php?t=1686995
Sent from my Nexus 7
markj338 said:
A kernel with force ac charging included, like the one itandy made a while ago for ice cold sandwich
Edit: found it
http://forum.xda-developers.com/showthread.php?t=1686995
Sent from my Nexus 7
Click to expand...
Click to collapse
Ok but that kernel is a asop one and I'm project x is a sense rom right? So its not compatible
Sent from my HTC Incredible S using xda premium
JerryBYong said:
Ok but that kernel is a asop one and I'm project x is a sense rom right? So its not compatible
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
Yeah it won't work, its one of those 'wait for source' things but now that we have it, the code needs to be merged into the kernel
markj338 said:
Yeah it won't work, its one of those 'wait for source' things but now that we have it, the code needs to be merged into the kernel
Click to expand...
Click to collapse
So there's nothing that can be done?
Sent from my HTC Incredible S using xda premium
JerryBYong said:
So there's nothing that can be done?
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
Can be done, since we have kernel sources as of yesterday
Just that someone needs to do it
If you don't mind, will you pm me when there is a kernel for project x?
Sent from my HTC Incredible S using xda premium
JerryBYong said:
If you don't mind, will you pm me when there is a kernel for project x?
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
L0st.prophet's kernel works for project x, just doesn't have force ac
I will let you know if I remember
maybe you could put a request in his kernel thread
Hi,
Off later my mobile's battery has stopped charging to 100%
It started while I was using the Paranoid Android ROM and I thought it was due to some kernel issue. However, post that I have flashed other ROMs including the stock ones but the issue remains.
I had installed Android Tuner and it showed that battery is in good health and the scale is 100%
Has someone faced similar issues? Please share solutions if any
srv.abhishek said:
Hi,
Off later my mobile's battery has stopped charging to 100%
It started while I was using the Paranoid Android ROM and I thought it was due to some kernel issue. However, post that I have flashed other ROMs including the stock ones but the issue remains.
I had installed Android Tuner and it showed that battery is in good health and the scale is 100%
Has someone faced similar issues? Please share solutions if any
Click to expand...
Click to collapse
Have you tried wiping the battery stats in recovery? Otherwise try some battery maintenance by letting it completely drain and charge again a few times over.
Hi
Yes I wipe the battery stats when flashing a Rom.. Have also tried discharging the battery completely and then charging it but no improvement..
If there is any specific tool for battery maintenance then I can give it a shot..
Sent from my HTC Incredible S using xda app-developers app
I had the problem earlier, drain your battery completely , take it out , after 5 mins plug it in then switch on....let it completely charge
Sent from my Transformer Prime TF201 using xda app-developers app
srv.abhishek said:
Hi
Yes I wipe the battery stats when flashing a Rom.. Have also tried discharging the battery completely and then charging it but no improvement..
If there is any specific tool for battery maintenance then I can give it a shot..
Sent from my HTC Incredible S using xda app-developers app
Click to expand...
Click to collapse
Hmm, my only suggestion is to try yashwantpiduru a few times over. Also, until you get this sorted, try only charging it using your computer to get a slow charge. Don't "rapid" charge your phone using the AC adapter.
Other than that, you may require a new battery, even if it's reporting "100% health"
Hi...m using arhd rom 10.3 ...on my htc one...m very satisfied with rom but everytime i wanted to flash coustom kernel ....it do not install....stock kernel is using a lots of battery.....is there any kernel tht is available which works....sply to battery life....thanks in advance
Sent from my HTC One using xda premium
There aren't any kernels that work with 4.2.2 based ROMs as far as I am aware. You'd have to go back to 4.1.2 if you want to flash a custom kernel.
Thnx.....but m a heavy user my battery drains very very fast...moreover it chargers very slowly too....any mod or tweak for tht....i put it on auto brightness...and autosync off......but didnt helped much...only get 5% better result......
Sent from my HTC One using xda premium
aneet11 said:
Thnx.....but m a heavy user my battery drains very very fast...moreover it chargers very slowly too....any mod or tweak for tht....i put it on auto brightness...and autosync off......but didnt helped much...only get 5% better result......
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
How heavy are we talking? Just turn Power Saver on, you'll save battery by not heating up as much, and heat also reduces the power of your battery so double dip gain.
I'd say invest in a battery case or pack if your phone can't last you a day.
Sent from my HTC One using Tapatalk 4 Beta
Well i use fone sixteen hours a day with always on data or wifi...power saving is on...except heptic feedback...as m very use to of haptic feedback.....slow chargering is also a big issue....it drains at the rate of 10% per 25 minutes.....
Sent from my HTC One using xda premium
Ya u r right.....these type accessories r nt much available or famous in india...except the iphone but i must get it from online store.....
Sent from my HTC One using xda premium
We have the same problem in Egypt. Just order one.
Sent from my HTC One using Tapatalk 4 Beta
When I let my phone charge over night, once it reaches 100% it starts to go up and down in percentage. This started happening after root and some app freezes/ disable
Sent from my LG-P880 using xda app-developers app
It might be helpful to name the "some" apps you froze (the "disabled" should not matter). Apart from that: At the second half of your screenshot, the device was permanently connected to power? So it goes down as far as 94% while connected?
Yes that's when I left it on the charger throughout the night. And when you see the slight decrease near the 50% range is when I got a text.
Here are the apps I froze:
Sent from my LG-P880 using xda app-developers app
I have the same problem using jellybeer and iodak kernel v7 (but also had this problem using optimus prime)
Percentage drop is inconsistent, 92-93-96-98 %, depends on the days
Battery stat reference points are created on power unplug so it's hard to know what's draining battery...while on power, it's not easy to troubleshoot
I'm glad I'm not the only one.
So have you tried to do anything ?
Sent from my LG-P880 using xda app-developers app
I'm heaving the same problem.
Sent from my LG-P880 using Tapatalk 2
At least nothing special about the frozen/quarantined apps. It's about the same stuff I froze (except for "Smart Log Service", "SystemBackupService", and "Talkback"). What ROMs you are on? Maybe that might shed some light (I'm on stock 4.0.3, v10h, and do not have that issue).
I'm currently on stock everything
Sent from my LG-P880 using xda app-developers app
Well, "stock everything" is not detailed enough. There have been several "v10" versions (with Android 4.0.x), and now there are also "v20" versions (Jelly Bean). You need to be a little more precise