Disable Critical Battery Shutdown? - Galaxy S III Q&A, Help & Troubleshooting

Hi Folks,
I'm on Cyanogenmod 11, running M5. I've been having problems with my battery gauge (or both batteries themselves) since early April nightlies.
The low-level battery gauge shown when the phone is off and charging seems accurate, but the gauge in the OS is all over the place, and will go from 90% to 2% in seconds, then shutdown. I might also be confusing the battery stats by swapping batteries; I don't know.
Is there a way to disable the shutdown? (For what it's worth, I went looking for "reset battery stats" in my modern Clockwork Mod Recovery, but couldn't find it. I don't know if that would help or not.)
I've seen people talk about being able to disable the critical battery shutdown in Xposed, but I know nothing about Xposed, and I'd rather not get into if not completely necessary.
Thanks,
Jamie

Try to do a recharge cycle each month.
Let your battery to be fully over so the phone won't turn on anymore, then recharge it back to 100% without turning the phone on.
Then again let it become dead then repeat the charging process 3 times to recalibrate the Battery meters on the device.
AFAIK "Reset Battery Stats" was removed from newer versions of CWM since it didn't have any effect or actually done anything.

If the above solution doesn't work you can also try the app called "battery calibration", i know that it work for me even if a lot of people are saying that it do nothing :good:

Well, I've tried both of the above, but no luck. I'm back to wondering if there's a way to disable the critical battery shutdown until my Moto G order arrives. The phone's unusable, as it is.

As always some brilliant advice, completely draining li-ion batteries can damage them, doing it multiple times deliberately is just flat out stupid.

I can't get the Xposed DisableCriticalBatteryShutdown module to work, either (http://forum.xda-developers.com/showpost.php?p=52833676&postcount=78), so I'm still looking for a way to do this, by whatever means necessary.

Jamie Jackson said:
I can't get the Xposed DisableCriticalBatteryShutdown module to work, either (http://forum.xda-developers.com/showpost.php?p=52833676&postcount=78), so I'm still looking for a way to do this, by whatever means necessary.
Click to expand...
Click to collapse
I´v tryied this module under CyanogenMod 13, Android 6.0
But no success, still looking for the same solution!
Just to encourage this approach, i´m gonna tell what´s happening with my phone.
It goes down to 0% of battery and it shutdown, after that I boot it to the recovery (Clockworkmod) and it stays there with bright screen for more the 3 hours without shutting down!
So 0 % of battery is like 50%!

Related

Inaccurate battery% ALWAYS

Regardless of any calibration method i try, i can never get an accurate battery reading. (Before i continue, ill point out that every app ive used to check my battery health has said "good")
Ive tried calibrating with/without the calibration app. Ive tried just deleting the batterystats via rootexplorer. ive tried calibrating before/after cycling. nothing seems to work.
the reason i know its not working, is because i will calibrate/cycle. lets say ill start a day with 100%. ill unplug my phone, leave for work, and use my phone moderately to feel out the battery drain. then at some point, ill plug it into my charger at work......just now, for example, after three hours of use my phone went from 100%-71%....i went to charge it, and once i plugged it in my percentage display changed from 71% to 63%!!! my percentage will constantly jump up and down throughout the day when i plug/unplug my phone.
anyone else experience this?
PS - its not ROM or kernel, its been happening to me for the last 2-3 months...ive flashed several roms/kernels in that timespan, and have ODINed at least once.
PPS - Ill also add that when i unplug my phone to start my day (after its been charging all night), it will stay at 100% for about 30-45min, at which point it will then start draining on an average of 1%/10min. i feel this may have something to do with it.....does it have something to do with me calibrating at too high of a voltage??
Well as for your inaccurate battery readings, i would suggest that you to odin back to stock and. Leave the phone to charge for 4hours(the time my phone takes to charge from 0-100%)then use the battery calibration app or wipe battery stats via cwm. And as for the draining it might be corrected after you calibrate it.
I know this coz I have experienced this in the past and i'd lose around 1% every 20-25mins now.
Sent from my SGH-T959 using XDA App
stanton93 said:
Well as for your inaccurate battery readings, i would suggest that you to odin back to stock and then use the battery calibration app or wipe battery stats via cwm. And as for the draining it might be corrected after you calibrate it.
I know this coz I have experienced this in the past and i'd lose around 1% every 20-25mins now.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
please read OP
UPDATE: i just rebooted my phone at 56%....it booted up and it displayed 24%......wtf is this
You said you've ODIN'd like once.... dude, if you aren't going to be cool with suggestions, esp the most obvious ones, not sure what it is you expect from us.
Should I hit thanks? JK
Call T-Mo and tell them and get a new battery.... they WILL give you one.
the best way to calibrate ur phone and its worked perfect for me. Charge it to 100% and then unplug it and as soon as unplug it go to sgs tools and run apply script and inside apply script there is delete battery stats. Click on that and it will take less then 10 sec and ur battery will be running great. Now this works great on my phone i hope it works on urs nicely.
At your PPS: This is completely normal and expected battery behaviour. It SHOULD happen. Here is why
http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
Please read this article fully to understand why it happens and why it SHOULD happen. As for your plug/unplug deviations...I have seen those but it has rarely been more than 2-3% difference which is around the normal range. It sounds like a bad calibration issue to me but then again I can't be sure, especially if you said you have done a calibration correctly. You can try a new battery like the poster above me suggests.
s15274n said:
You said you've ODIN'd like once.... dude, if you aren't going to be cool with suggestions, esp the most obvious ones, not sure what it is you expect from us.
Should I hit thanks? JK
Call T-Mo and tell them and get a new battery.... they WILL give you one.
Click to expand...
Click to collapse
So if i clearly state in the OP that it was happening to me before and after ive ODINed, and someone says you should ODIN...thats not a lazy suggestion?
or if someone says to try calibrating, when I stated several times in the OP that ive tried multiple calibration methods...thats not a lazy suggestion?
What i expect is if ive pointed out that ive already taken troubleshooting steps, then dont suggest those troubleshooting steps. no one is forcing a response, so if you dont know, simply dont answer. dont just read the title, skim the post, and give programmed suggestions.
theres absolutely nothing wrong with trying to seek out answers other than the conventional ones. ODIN and reflash are the laziest responses......granted, they will often fix problems, but there may be other ways to solve certain issues.
The goal of my OP was to see if anyone else had experienced it, and if someone responded affirmatively, i would ask them about their calibration methods and we could brainstorm. I would much rather seek out problem-solving knowledge before resorting to ODIN/reflash/new battery/new device...which teach nothing.
movieaddict said:
the best way to calibrate ur phone and its worked perfect for me. Charge it to 100% and then unplug it and as soon as unplug it go to sgs tools and run apply script and inside apply script there is delete battery stats. Click on that and it will take less then 10 sec and ur battery will be running great. Now this works great on my phone i hope it works on urs nicely.
Click to expand...
Click to collapse
This is typically the method i use. i usually let it charge for an hour or so beyond when it reaches 100%, just to ensure i have a full charge. this has not worked for me. i also take it a step further and let my phone discharge all the way until it dies, let it charge overnight when powered off, then ill wipe the battery stats first thing when i wake up.
}{Alienz}{ said:
At your PPS: This is completely normal and expected battery behaviour. It SHOULD happen. Here is why
http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
Please read this article fully to understand why it happens and why it SHOULD happen. As for your plug/unplug deviations...I have seen those but it has rarely been more than 2-3% difference which is around the normal range. It sounds like a bad calibration issue to me but then again I can't be sure, especially if you said you have done a calibration correctly. You can try a new battery like the poster above me suggests.
Click to expand...
Click to collapse
i will definitely read this...this is something ive always been very curious about
}{Alienz}{ said:
At your PPS: This is completely normal and expected battery behaviour. It SHOULD happen. Here is why
http://phandroid.com/2010/12/25/you...is-lying-to-you-and-its-not-such-a-bad-thing/
Please read this article fully to understand why it happens and why it SHOULD happen. As for your plug/unplug deviations...I have seen those but it has rarely been more than 2-3% difference which is around the normal range. It sounds like a bad calibration issue to me but then again I can't be sure, especially if you said you have done a calibration correctly. You can try a new battery like the poster above me suggests.
Click to expand...
Click to collapse
this was an extremely informative read. it doesnt shed light on all of my problems...but it definitely explains the longer battery life upon unplugging in the morning. my only question is how am i getting that extra juice when im not actually "bump charging"...i just plug it in when i go to bed, and unplug it when i wake up.....maybe my phone doesnt stop sucking in a charge the moment it hits 100%?
i agree with what he says about not paying too much attention to your battery.....but when its bouncing up and down by 20% increments, thats cause for concern haha. im going to calibrate one more time tonight, and i i get similar results i will swap batteries with another vibrant user.
do you guys suggest deep cycling, before or after wiping battery stats? (or should i just wipe stats at a full charge, and not deep cycle at all) >>> there seems to be different opinions on deep cycling throughout XDA
I have had a similar issue. After flashing Roms, plyugging and unplugging it was jumping by a good 10-15%. This turned out to be a simple bad calibration. Normal jumping should be up to 2%, more than that usually indicates bad calibration. Granted, normally nowdays, mine does not jump at all.
I recommend cycling it fully empty. That means, go ahead and drain to 0. Then let it shut off. Then turn it on again. Keep turning it on till it STOPs being able to turn on. Then charge it completely. Don't charge overnight as that will charge to 90-95% as the article suggested. Charge it while you're awake so you see when it hits 100%. It's even preffered if you charged it while the phone is off. After it hits 100%, give it another hour on the charger. You can even bump charge to ensure it hits full charge. To bump charge, after it's full, disconnect and reconnect the charger every 20 minutes for that last hour you're charging. Then unplug it, boot into recovery using the 3 buttons. Wipe the battery stats from there. Boot normally into your ROM. See if it is still jumping by 20%. Worst case scenario should be a 5% jump. Let us know what happens.
^ See, there is my confusion... there is a great example of how to calibrate, but the OP seems to get in a tiffy for offering up a suggestion he has done (calibrating). I'd also be cautious about the bump charging as that will really hurt the battery. I'm not one to try and get something for free, but why not just get a new battery?
s15274n said:
^ See, there is my confusion... there is a great example of how to calibrate, but the OP seems to get in a tiffy for offering up a suggestion he has done (calibrating). I'd also be cautious about the bump charging as that will really hurt the battery. I'm not one to try and get something for free, but why not just get a new battery?
Click to expand...
Click to collapse
I support the new battery notion too. It's FREE.
Drain your phone til its dead.... charge it up full.... run a battery calibration app on the market and let it die fully again then charge to 100 percent one last time... good to go!
You might even try using a differnet battery
TopShelf10 said:
Regardless of any calibration method i try, i can never get an accurate battery reading. (Before i continue, ill point out that every app ive used to check my battery health has said "good")
Ive tried calibrating with/without the calibration app. Ive tried just deleting the batterystats via rootexplorer. ive tried calibrating before/after cycling. nothing seems to work.
the reason i know its not working, is because i will calibrate/cycle. lets say ill start a day with 100%. ill unplug my phone, leave for work, and use my phone moderately to feel out the battery drain. then at some point, ill plug it into my charger at work......just now, for example, after three hours of use my phone went from 100%-71%....i went to charge it, and once i plugged it in my percentage display changed from 71% to 63%!!! my percentage will constantly jump up and down throughout the day when i plug/unplug my phone.
anyone else experience this?
Topshelf, I have run into these problems, There are a couple of things that cause the battery to be wonky.
1st Samsung has the battery set not to 100% but actually less (95-98%) so when it is charged and reads 100% as soon as you unplug you get a immediate reading of 95-98% (nice huh?)
The dev/mods, and others have tried to rectify this. No one has found an exact fix for this. On thing I have found that does help is to charge to 100% then unplug and then plug into the computer and recharge back to 100% (the lower milliamp off the computer seems to allow you to get to a higher percentage). Then calibrate. Now when you do that the battery calibration/battery widget/and phone All will read more close (for me +/-3%). This is one of the issues you raised.
The other is the battery drain, with some of the custom roms the gallery seems to one of the culprits, mms sometimes stays on with others and some others that are in TSR but instead of being asleep they are taking resources.
I have used systems panel to trouble shoot and that has helped me. I think you may want to ask Explodingboy70, Roman or whitehawkx, they know more on this and maybe can help.
Hope you get it solved......... stay with it you will........... I did.........
PS the mv setting for the battery is supposed to be 4200mv mine never gets above 4196mv
Click to expand...
Click to collapse

Wiping battery stats

Interesting article on Rootzwiki:
Wiping Battery Stats is Pointless, Says Google Jan 13 2012 09:30 PM | Ashley Glenn in Articles
Over time wiping battery stats has become a regular ritual among the Android enthusiast community. Buy a new battery? Wipe your battery stats! Upgrade to a bigger battery? Wipe your battery stats! Change kernels or restore a nandroid backup? You know what to do: wipe battery stats! But this ritual may soon become a thing of the past thanks to Google engineer Dianne Hackborn, who sheds a light on the subject that puts the tightly-held practice of wiping battery stats in the same league as carrying a lucky rabbit's foot or throwing a pinch of spilled salt over your shoulder.
Recommending that users wipe their battery stats appears in so many places and as a cure for so many ills that it has become ubiquitous. Adherents to this practice will sit and wait for their phones to report a full charge, then use an app that deletes the batterystats.bin file or reboot into recovery mode and wipe it from there. This supposedly cures a number of ills such as battery scaling issues, poor battery percentage reporting, and any of a myriad other number of issues. The truth is, according to Android Framework Engineer Dianne Hackborn, that this file is a repository for information about system activity and that it actually takes care of itself without the need for user intervention. From Dianne's post:
Quote
This file is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the "Battery Use" UI in settings.
That is, it has deeply significant things like "app X held a wake lock for 2 minutes" and "the screen was on at 60% brightness for 10 minutes."
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
Deleting it is not going to do anything to make your more device more fantastic and wonderful... well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it go away.
It really can't be put more straightforward than that, folks. So rest assured next time you put a new battery in or flash a new kernel or restore an old backup that all you have to do to help your phone or tablet play nice with its battery is charge it to 100% and do nothing else. It really is that simple. But don't worry, enthusiasts - you'll find plenty of other reasons to hang out in recovery anyway.
Know of a sweet app, trick, mod, or hack for your Android device? Send us a tip! [email protected]
Sent from my MB870 using xda premium
This is interesting, so Google engineering will incorporate it into new OTA's? Or does this mean I've wasted time while flashing countless Roms?
Pixelation said:
This is interesting, so Google engineering will incorporate it into new OTA's? Or does this mean I've wasted time while flashing countless Roms?
Click to expand...
Click to collapse
I'm reading this as we've been wasting time.
Sent from my MB870 using xda premium
Not wasting time flashing countless roms. Just wasting time wiping battery stats. That's the way it looks to me. Personally, I've always thought wiping battery stats was nothing but a whole lot of voodoo. Never had the need for it, don't see why anybody else would either. Let the flames begin.
I knew it couldn't possibly have an effect on actual battery life, but I thought maybe the file collected information about the length of the battery to calibrate the meter (because let's face it, with the X2 battery bug it's pretty clear that it doesn't get the value directly from the battery).
Funny thing about calibrating when it gets to 100 though...if there truly is something wrong with the meter, why would you suddenly trust it to know when it's charged? This is why I'd always charge it for a little extra and go by the voltage meter.
So basically, I've seen a couple of different readings. I've always waited past 100% and in different ROMs I've seen 4192, 4196, 4198, & 4200 mah.
I use the extended battery, sooooo readings may vary between regular battery.
Pixelation said:
So basically, I've seen a couple of different readings. I've always waited past 100% and in different ROMs I've seen 4192, 4196, 4198, & 4200 mah.
I use the extended battery, sooooo readings may vary between regular battery.
Click to expand...
Click to collapse
I have an extended battery as well. Actually, I have two extended batteries and two regular batteries. Got the first one with my droid X, then a faulty extended battery (bad batch where the meter doesn't read right), then a replacement extended battery, then the one that came with my X2. No two are the same, but they should all max out near 4200 mV.
Edit: I use one extended battery.
Ok this screen is after install of CM 7 tonight, it reads 4205 mah, so why is it different, with different Roms?
Weird isn't it?
Pixelation said:
Edit: I use one extended battery.
Ok this screen is after install of CM 7 tonight, it reads 4205 mah, so why is it different, with different Roms?
Weird isn't it?
Click to expand...
Click to collapse
The stats can easily drift if you don't flash ROMs with your phone at 100% battery, hence why sometimes the calibration is needed [be sure to wipe stats when at 100% [either via app or recovery], best thing to do is fully discharge battery until auto off occurs and then fully charge with AC Wall Adapter and charge only screen, then when it hits 100% wait a few min, restart to OS to be sure it also says 100% [if not wait until it does and wait about 20 min longer] then restart to recovery and flash away [you could also wipe battery stats as part of flash if you do as stated before flashing]. I usually set it up so I fully discharge the phone [restarting to be sure a couple to few times] and then charge with phone off and charge only screen overnight and flash my ROM first thing in the morning right before I unplug it and unplug once I reach the point I am ready to restart device and do initial boot after flashing. Further details below...
Basically charge to 100% [or as absolutely close as you can get it [AC Wall charger is best unless you REALLY are forced to do it via USB and is best to charge via the charge only screen [phone is powered off and not booted in to the OS and all you normally see is just a battery filling on screen [and is fastest way to charge battery]]. Wait an additional 20 - 30 min after it registers 100% [this is to be sure the battery is absolutely topped off essentially] and I will generally do a restart as sometimes the battery may come back to less than 100% on a restart if your phone is not judging the battery right and is in need of calibration. If it does not register after restart wait until it hits 100% and wait the additional 20 min [you can cut out the initial 20 min wait if you want to do the restart to verify just wait the 20 min once you feel sure battery is as topped off as you can get it], then after wiping restart from recovery and unplug. Now be sure to drain the battery until auto shutoff [either stream media if in a hurry or through general usage. Either way wait until auto shut off.]. I usually will power the device back on and be sure it is not going to get back to the OS [if it even gets to boot logo I wait a few seconds and power it on again to be sure all I get is the boot vibrate on my device [some don't have this, but usually it's tablets almost all phones [and definitely both Motorola and Samsung do this]. I then charge it to full [again AC wall charger recommended as above and again with charge only, but as stated if you cant live with phone off or whatever you can do it with OS running as well. You are free to go as you wish after this second full charge really though if you do a couple more [dont have to be insane] it can help ensure the statistics get a good start.
As I believe I stated above the best way to avoid calibration as long as possible is to charge phone to 100% via phone off screen [with AC Adapter and wait the extra 20 min after it registers full before you flash [I will sometimes take it a step further, leave it plugged in while flashing my install zips and then once I go to restart system for the initial boot after ROM flash I will unplug the charger from the phone.
Hope this helps

battery caliberation

hi
is it required to battery caliberate after flashing new rom?
and when ever i reboot my system either battery jumps from 10% to 30 or more
or becomes less than 10%..
if i should then which app should i use?
any guidnace
plz
TY
No such thing. After you flash a new rom, charge the phone to 100%, turn it off, remove the battery for 30 seconds, replace the battery, turn phone on, enjoy.
Anyone selling you the whole calibration thing is selling you voodoo.
hi
thanks for your reply
plz suggest me best battery app with battery saving feature , suggestion on what we can do with remaining battery , expected full time charge , complete graph or battery usage history by apps?
paid or free , tell me best one
thank you
There's lots of battery apps on Google Play, there's no such thing as the best one, go have a look under the Tools section in Apps (you'll also find some under productivity). Stay away from apps like Juice Defender that claim to save you battery by doing things automatically which you can do yourself in two seconds, these have been proven time & again on XDA to use more juice than they save.
ivl try battery monitor
thank you
No probs ;-)
MistahBungle said:
No such thing. After you flash a new rom, charge the phone to 100%, turn it off, remove the battery for 30 seconds, replace the battery, turn phone on, enjoy.
Anyone selling you the whole calibration thing is selling you voodoo.
Click to expand...
Click to collapse
Wouldn't that procedure above be considered calibrating the battery? LOL. J/K. Couldn't resist .
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
@up
actually it cannot. this way you only help the system in your phone recognize full capacity of battery (which is not even full because not one battery works at it's full capacity - but it's fullest you will get at this point of your battery life). when it's about calibrating - listen to MistahBungle - it's all voodoo. you cannot calibrate li-ion battery unless you kill it and then revive. by killing it I don't mean depleting it in your phone, because even when phone shows the battery is fully depleted it's really not - there is still some juice in it. you'd have to use e.g. special charger which can drawn juice out of battery and make it really empty. only then your battery is dead and useless. you may revive it by applying cca. 5V but actually it not always works. so you cannot calibrate your battery in home environment.
what you can do is "re-calibrating" so called fuel gauge (description under links given below) and you may also help your system recognize the real state of your battery charge. sometimes it happens that systems readings are wrong and battery is on 85% but system is reading it as 50 or 100%. to help it read battery chip correctly you do the thing MistahBungle so helpfully described. sometimes you even don't have to do it but wait 2-3 charging cycles and system will adjust it's reading itself. by charging cycles I mean charging like from 20-100%. why not from 0%? because even if it's not a real depletion state, li-ion batteries doesn't like the state of being discharged too much.
more on this and lot of other helpfull information you will find here:
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
http://www.androidpolice.com/2010/1...bump-charging-and-inconsistent-battery-drain/
gaeilge said:
@up
actually it cannot. this way you only help the system in your phone recognize full capacity of battery (which is not even full because not one battery works at it's full capacity - but it's fullest you will get at this point of your battery life). when it's about calibrating - listen to MistahBungle - it's all voodoo. you cannot calibrate li-ion battery unless you kill it and then revive. by killing it I don't mean depleting it in your phone, because even when phone shows the battery is fully depleted it's really not - there is still some juice in it. you'd have to use e.g. special charger which can drawn juice out of battery and make it really empty. only then your battery is dead and useless. you may revive it by applying cca. 5V but actually it not always works. so you cannot calibrate your battery in home environment.
what you can do is "re-calibrating" so called fuel gauge (description under links given below) and you may also help your system recognize the real state of your battery charge. sometimes it happens that systems readings are wrong and battery is on 85% but system is reading it as 50 or 100%. to help it read battery chip correctly you do the thing MistahBungle so helpfully described. sometimes you even don't have to do it but wait 2-3 charging cycles and system will adjust it's reading itself. by charging cycles I mean charging like from 20-100%. why not from 0%? because even if it's not a real depletion state, li-ion batteries doesn't like the state of being discharged too much.
more on this and lot of other helpfull information you will find here:
http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
http://www.androidpolice.com/2010/1...bump-charging-and-inconsistent-battery-drain/
Click to expand...
Click to collapse
read that ..
thank you
and is there any way to stop auto startups of apps?i have around 200apps and most of them i use around once a day or not even once
i use android assistant to manage startup but it does on boot and after some time if i check running apps most of apps will be there running
is there any app to block it running automatically? not just at startup ? full control like anything?
thank you
actually I cannot help with that. I don't use such a software and really don't believe in it. but, the fact is that I do not use so many apps. other fact is that surely there is some useful software that could help you with that task, i just do not use one and personally I'm not interested in it. I know that perhaps the best method is to freeze them with titanium but if you use these apps from time to time then it would become complicated and not worth the effort.
still I have few questions:
why would you like to stop them from working? do they drain your battery? if so then check your logs with bbs and find out which ones are draining, try to change their setting or get rid of them, or at least close only these ones. long time ago I was fighting with some apps that I do not use often and they start themselves from time to time. I didn't want to get rid of them, so before every night I was killing them one-by-one from applications menu (actually most of them didn't wake up until I ran them myself). finally, after many tests I got to the point that it doesn't make any difference. apps I was killing, even if running, didn't use any recourses, didn't produce wakelocks, they were just using some RAM. and if it is the reason of your concern then do not be worried - they may use as much RAM as they want - android will free RAM when it will need it.
now I do not kill any apps and by night I lose 0-2% of battery which is my only concern - what should we care more? CPU, RAM - let it work as long as it doesn't stop us from enjoying our phone and make a usage of it uncomfortable.
and if you're worried about packet data then you may limit it for each app using system menu in ICS.
ancilary said:
read that ..
thank you
and is there any way to stop auto startups of apps?i have around 200apps and most of them i use around once a day or not even once
i use android assistant to manage startup but it does on boot and after some time if i check running apps most of apps will be there running
is there any app to block it running automatically? not just at startup ? full control like anything?
thank you
Click to expand...
Click to collapse
Thanks dude. I also have the similar problem. I have spent months on it without any improvement. Now I'm quite frustrated and not optimistic on the solution you have provided towards my issue, but your decription gives me a lot of clue.
But my problem is even more tricky, I would like to share it here so see if anyone have met it before, or if I need to start a new thread to deal with it:
The problem can be generally decribed as below:
1. When the battery is fully charged, unplug and consume the juice until the level reach around 30%, then the phone is shut down automatically; after I plugin the power and restart the phone, the battery level is displayed as 0%;
2. After charging for a while from 0% , restart the phone and you will see the battery level directly goes back to 50%, but still with very low voltage;
3. Changing with a new battery won't solve the issue -- though the new battery itself may also have problem(not sure if it is genuine), but I don't think a fake battery and an old battery should behave almost the same, so I don't think it is the battery's problem; criticize if I'm wrong
4. Re-flashing a new rom won't solve the issue either. I have tried different CM9 nightlies and now I'm using CM10 nightlies, none of them is immune to the problem;
5. Clear the battery state won't solve the problem. It is hard to say whether it improves the situation at least a tiny bit. I mean it may work somehow, e.g. My phone used to be shut down at 50% battery level and now it can last to 36%. But it never totally solve the problem once and for all, so I still don't trust this caliberation thing may work.
I hope I have clearly stated my issue. I'm so at the end of my patience, this little bastard have been always torturing me You guys are the last I can count on I really hope I came here earlier so as not to have wasted so much time.

My Android OS battery drain fix

Hey guys.
It seems like almost everyone with battery drain issues has Android OS at the top of their battery stats.
I just want to share my experiences with this particular Bug.
Maybe it will help anyone. Please share if it also helped with your problem.
I had the Android OS bug since I dropped my phone a few months ago and had the screen replaced. The guy who replaced it (official Vodafone shop employee) said that they didn't just replace the screen and that something else was also damaged (they didn't say what) so they also replaced the rest. Well, that's when the Android OS problems started. I tried many ROMs and many Kernels. Sometimes the problem went away for an hour or so, but it always came back.
Then I finally decided to use BetterBatteryStats two days ago (I really should have done this earlier, I know...). I came to the conclusion that I had some sort of the well-known "fuel_alerted" bug, since fuel_alerted was the service that kept my phone from going into Deep Sleep.
This bug should have been fixed long ago but for me it somehow still persists, even on stock JB.
It didn't only drain a lot of battery (I had 8-10h maximum without doing much), it also used up a lot of CPU time, effectively slowing down the whole system to the point that I wasn't able to use Spotify on my phone without severe stuttering.
Well. I found a solution to the fuel_alerted bug.
The procedure is: turning airplane mode on, shutting phone off, taking out battery, putting it back in after a few minutes, turning phone back on.
This solved the problem. No more Android OS draining the power. Phone goes into Deep Sleep again. Only 2% drain after an hour. Spotify runs smoothly again. Yeah!
BUT well... It seems like the problem comes back randomly for me, today I had to replace the battery 5 times...
Now I am trying to strictly follow another "rule" to keep the problem from coming back: Always waking and unlocking the phone before plugging it in or out of power. I never did this before so it could have been the cause of the bug. Now let's see how long it stays bug-free.
If it still doesn't help, I guess I have to conclude it's some kind of hardware problem, which could only be solved by Samsung...
EDIT: Nope. Problem still there. So not really a fix, but maybe still helpful for somebody.
Okay, what ROM are you on?
Sent from the little guy
gastonw said:
Okay, what ROM are you on?
Sent from the little guy
Click to expand...
Click to collapse
It's the up-to-date stock Samsung ROM I guess. See attachment for infos.
Damn, it seems like the problem just came back without me doing much. I only checked BetterBatteryStats every 30 minutes or so and recieved 1 SMS just a minute ago. Seems like the bug started 20 minutes ago, when battery was around 78%. Now it's draining battery like hell again, Spotify stutters, Deep Sleep won't work...
Guess I'll have to pull the battery again.
Since I'm pretty new to all this: What kind of information would be useful to narrow down the source of the problem?
I can provide my BetterBatteryStats screenshots and logcat/dmesg files as well as my Android Battery Stats screenshots.
Is there anything else I could post?
Yeah, screen shots of partial and kernel wakelocks.
Sent from the little guy
I just rebooted the phone, waited for a few minutes and took screenshots.
Here they are.
Okay, this is what you need to do now, drain it empty, charge it (while phone off) till 100 %. Remove the battery, wait for 90 sec or so, put it back and power on.
It's a placebo, but it might work.
Sent from the little guy
Okay, I will try and do the charging overnight. Thanks!
derSchmiddi said:
Okay, I will try and do the charging overnight. Thanks!
Click to expand...
Click to collapse
Good luck man.
Sent from the little guy
I don't know much about kernel and ROM stuff, but I was just wondering...
As far as I understand, the fuel_alerted thing turns on if the battery charge goes below a certain threshold. The old bug with it was that, when recharging, the fuel_alerted thing would sometimes still stay on, even if battery charge is no longer critical.
Could it somehow be possible that this threshold is not set to 15% for me, but something around 80% due to some horrible bug?
This would explain why it suddenly turned on at around 80% when everything was fine before.
We're trying to adjust your fuel gauge and sort of calibrating your battery.
Sent from the little guy
Okay, I did exactly what you recommended.
Everything went well for about 2.5 hours.
Then the fuel_alerted process began again, but this time only for a short while apparently.
It took about 5 minutes kernel wakelock time in a 30 minutes measurement.
Way less than usual and when I check now, it's no longer active.
So. The problem might still be there, or it might not.
Do you recommend going through a few more recharge cycles to get the gauge set properly or do you think this won't make it better?
By the way, thanks for your quick responses!
derSchmiddi said:
Okay, I did exactly what you recommended.
Everything went well for about 2.5 hours.
Then the fuel_alerted process began again, but this time only for a short while apparently.
It took about 5 minutes kernel wakelock time in a 30 minutes measurement.
Way less than usual and when I check now, it's no longer active.
So. The problem might still be there, or it might not.
Do you recommend going through a few more recharge cycles to get the gauge set properly or do you think this won't make it better?
By the way, thanks for your quick responses!
Click to expand...
Click to collapse
Not really.
Now, when it gets to 15% or so plug it in (while phone ON), get battery calibration from play store.
Run the app, when it gets to 100 % hit calibrate. Plug off the device. Turn off.
Take out the battery for 90 sec again, reinsert it and power it on.
That calibration app is another placebo but as I said before, placebos sometimes work.
Sent from the little guy
Since the battery calibration app requires Root access, I flashed a Dorimanx kernel a few hours ago. Then I did a factory reset and the battery-removal thing. 5 hours have passed now without the bug, 3h of which were without wireless access (maybe it correlates with that).
I'll now let the battery (slowly) drain below 15% and then recharge it with phone on overnight. I will use the battery calibration tomorrow and will inform you about the results later.
Thanks man!
Good to know
Sent from the little guy
I did the battery calibration. Bug is still there, no changes
Post you battery details and a couple of BBS screens.
Sent from the little guy
Okay, here are some screenshots.
From the graph you can clearly see when the bug started.
Is it normal to have >26 kworker processes running?
Something else that concerns me: >2h without or with unknown signal. The whole day I was in an inner city area where the signal should be good...
Can you conclude anything from the screenshots?
I will now try something which I also should have tried earlier
I have a spare battery (not original samsung, less capacity) which I just put into the phone.
I'll let it fully charge with phone off and then I will try if the problem persists even with the other battery.
If it doesn't, the problem might come from the battery itself...
Is this a good idea?
No it's not.
You gotta post detailed info there, we can only guess what's draining your battery.
Sent from the little guy
Okay... I posted the screenshots you asked for...
What more should I post?

Battery gauge going nuts. :/

Hii!
My LG G2 mini D620r is 2 and a half years old, and most of that time everything was ok. But, since two months ago, I noticed that the battery is draining much faster than usual. And also discharge wasn't happening continuously, but it had sam jums i.e. I would use phone for some ammount of time, and the battery gauge would show decrease in capacity of only a couple of percents, and then suddenly it would drop couple of percents more for no reason. Also I noticed that phone wouldn't charge up to the max. It would show that it is 100% full, but after only couple of minutes of idling it would drop to 97%.
After all that I thought that there was a problem with the battery and bought a new one. But it din's solve the problem at all. Problem just continued to apper so I came to conclusion that there was no problem with a battery.
I read somewhere that Android battery gauge can go crazy after certain ammount of time, and my phone in quite old.
So my question is:
Does anyone know what is the solution to the aforementioned problem?
Does this problem have anything with battery gauge?
And if it does, can it be solved by reflashing the stock ROM?
I forgot to mention that I'm using stock Android Lollipop 5.0.2, software version V20b-EUR-xx. Phone is rooted.
kazamat said:
Hii!
My LG G2 mini D620r is 2 and a half years old, and most of that time everything was ok. But, since two months ago, I noticed that the battery is draining much faster than usual. And also discharge wasn't happening continuously, but it had sam jums i.e. I would use phone for some ammount of time, and the battery gauge would show decrease in capacity of only a couple of percents, and then suddenly it would drop couple of percents more for no reason. Also I noticed that phone wouldn't charge up to the max. It would show that it is 100% full, but after only couple of minutes of idling it would drop to 97%.
After all that I thought that there was a problem with the battery and bought a new one. But it din's solve the problem at all. Problem just continued to apper so I came to conclusion that there was no problem with a battery.
I read somewhere that Android battery gauge can go crazy after certain ammount of time, and my phone in quite old.
So my question is:
Does anyone know what is the solution to the aforementioned problem?
Does this problem have anything with battery gauge?
And if it does, can it be solved by reflashing the stock ROM?
I forgot to mention that I'm using stock Android Lollipop 5.0.2, software version V20b-EUR-xx. Phone is rooted.
Click to expand...
Click to collapse
A few options you can try, cuz i had the same problem on my d620r:
- Calibrate your battery;
- Uninstall/rootuninstall bloatware by LG/google, and apps you don't need;
- Use Facebook Lite;
- Use Greenify and Amplify (ideally with xposed framework);
- You can try reflashing stock after full wipe, but i dont think it will fix your problems;
- Best solution > Flash a custom rom and do all the things above.
I didn't have that problem on stock, but on CM13. I was running xposed framework with lots of modules, V4A in the background and a custom kernel, but still, i don't think that was the drainage problem. I'm still using the battery that came with the phone, and flashing Resurrection Remix Nougat 7.1 by mobiusm, governor on ondemand and greenify almost doubled my battery life since cm13!
kasa ssg said:
A few options you can try, cuz i had the same problem on my d620r:
- Calibrate your battery;
- Uninstall/rootuninstall bloatware by LG/google, and apps you don't need;
- Use Facebook Lite;
- Use Greenify and Amplify (ideally with xposed framework);
- You can try reflashing stock after full wipe, but i dont think it will fix your problems;
- Best solution > Flash a custom rom and do all the things above.
I didn't have that problem on stock, but on CM13. I was running xposed framework with lots of modules, V4A in the background and a custom kernel, but still, i don't think that was the drainage problem. I'm still using the battery that came with the phone, and flashing Resurrection Remix Nougat 7.1 by mobiusm, governor on ondemand and greenify almost doubled my battery life since cm13!
Click to expand...
Click to collapse
In september, I flashed CM 13 snapshot from august, and I noticed some bugs with it so I returned to stock Lollipop. I think that's when the problems started. Since then I have used Battery Calibration app (if you know some better apps of that kind please do recommend), installed Greenify, but not Amplify and removed some of the preinstalled LG/Google bloatware, but not all. I do not use Facebook app at all. After all that it came to my mind to do full phone wipe and maybe that would eliminate the problem.
kazamat said:
In september, I flashed CM 13 snapshot from august, and I noticed some bugs with it so I returned to stock Lollipop. I think that's when the problems started. Since then I have used Battery Calibration app (if you know some better apps of that kind please do recommend), installed Greenify, but not Amplify and removed some of the preinstalled LG/Google bloatware, but not all. I do not use Facebook app at all. After all that it came to my mind to do full phone wipe and maybe that would eliminate the problem.
Click to expand...
Click to collapse
I'd still recommend custom rom tho, preferably RR 7.1
And if you don't want a custom rom, make sure you are calibrating your battery correctly. By deleting the batterystats.bin file you dont really calibrate the battery, rather you reset the battery percentage meter. That is important of course, but before using the calibration app, make sure to do these steps:
Preparation: Hard reset the phone, root it again, install greenify (and amplify if you want), uninstall bloatware, charge to 100%. DON'T USE THE PHONE DURING THIS PROCESS FOR BEST RESULTS
1)Download Battery Waster and Battery Calibration from Play Store
2) Turn on battery waster (turn off flashlight option, it heats up the phone, turn on data, location and other battery consuming settings)
3)Drain battery to 0% until phone shuts down by itself.
4)When it shuts down, turn the phone back again for about 5 times
5)After those 5 or so times of turning on, put your phone on a charger without turning on (use wall charger if u can, and please use correct voltage of 5V)
6)When your phone shows full charge, unplug it and turn it on.
7)When you get to the homescreen, if you have less than 100% battery, plug in your charger again (without turning your phone off)
8)When it shows 100%, unplug your phone
9) Turn on battery waster
10) Let it turn off by itself
11) Do steps 4,5,6,7,8 again
12) Launch battery calibration app (root), and press calibrate
13) Restart phone
14) Greenify your apps and enable agressive doze in settings
NOTES: If on step 4 your phone sucessfully boots again without immediately shutting down, just continue draining your battery until it shuts down.
TIP: Keep between 40% and 80% battery
Hopefully your battery is like new again and free of its problems, but again flashing a custom rom other than fixing your battery, might even boost it, and custom kernels might boost it even more! (If configured right, that is).
IF YOU DECIDE TO FLASH A CUSTOM ROM, PLEASE DO THIS REGARDLESS
I hope I helped you!
Thank you very much @kasa ssg!
If this doesn't help, then there's no way to help me at all.
EDIT: Finally I found some time to do a recalibration of my phone's battery, and I think it worked. It definitely lasts longer now than before calibration. Also I returned to my phone's original battery that came with it first time it was bought.

Categories

Resources