Curious battery issue w wipe of cache / dalvik cache in TWRP - OnePlus 2 Q&A, Help & Troubleshooting

I'm growing a little more accustomed to some of the odd behavior these Oneplus 2 batteries display. But my new (third party) battery was at around 54% when I backed up my Resurrection Rom in TWRP, then wiped, then installed the new AOSP Rom. Still had about 50% battery left. I then did something I used to always do when flashing on my Samsung Note 4 phone; before I rebooted I wiped the cache and dalvik cache. I next restarted the phone. It successfully brought up AOSP rom... but the battery reported in at just 1%! I rebooted back to TWRP and sure enough it too reported the battery at only 1%. I turned the phone off and recharged the battery; it charged to 100% within an hour (that's way faster than it is normally). I'm running it now and have been for quite a few hours, and it is still at 68%. So I'm a little perplexed. There's a lot of talk about battery calibration and such, but as only a rudimentary knowledge of Li-on batteries reveals, the battery itself cannot be calibrated / does not need to be calibrated. It is more the phone via software that needs to properly "calibrate" itself in relation to the battery. I feel this has been done with this battery. When charged on or off it reaches 100% and says so when I boot whatever version of android I'm running. I simply have never seen a battery drop within a few minutes from %50 to 1%. All that said.... any ideas? Was it wiping the cache that did that? It does no such thing when I wipe either the Samsung Note 4's cache or my Samsung 12.2 Pro tablet's cache. But here... yes, it did.

Related

Battery Issues SOLVED!- New Solution...after I tried many..this works!

Hi all;
so over the last few months i have flashed many custom roms, kernels etc...and always had battery issues...i have tried jugs battery fix, wiping battery stats..following many other battery optimization threads..but i never got the battery life i once had (when i first bought my phone)...
a few days ago my phone totally crashed..wouldnt charge etc..and i ended up having to do a complete restore..i did this by following these instructions
http://www.youtube.com/watch?v=hRFJJFW-XxI
....so from there, i unlocked again, reloaded CWM etc and i loaded 2.3.4 flashable zip (found in the forums) via CWM.
and voila..battery life AMAZING....after 8hours im usually still at 85%...by evening time after using the phone all day im still at about 60%
from here do what you want with roms..
i loaded the alien rom without adding the themes..and the battery life is as stated above..
so if you are having issues try hard resetting the phone then re unlocking the BL and upgrading via cwm to 2.3.4
my battery life i back to amazing.....
p.s. would be great if someone else who is having issues tried this and reported back as well...
p.s. this worked for me but i am not responsible if you mess up your phone!
Erm..
Ok Ill bite >,>
Where are these camera buttons your referring to in this guide of yours Atrix has three hard buttons and four soft buttons power, vol- and vol+ and menu home back and search.... you hard mod a camera button into this already packed phone Ill like to hear it XP
Interesting..
Couple of q's:
- which camera button?
- unlock bootloader again? Once unlocked it stays unlocked.
- I don't understand how doing a reset leads you to unlocking the bootloader again?
Sent from my Motorola Olympus using XDA Premium App.
updated the hard reset instructions to reference a youtube video (not mine but describes how to do it)
http://www.youtube.com/watch?v=hRFJJFW-XxI
it doesn't actually re-lock the bootloader. The BootLogo is replaced with the stock logo, which does NOT include the "UNLOCKED" in the upper left hand corner
sorry i didnt realize that..so skip this step for anyone that is going to try it...
jakew02 said:
it doesn't actually re-lock the bootloader. The BootLogo is replaced with the stock logo, which does NOT include the "UNLOCKED" in the upper left hand corner
Click to expand...
Click to collapse
well dont have the old recovery and even if i did cant read the things at all quality is very bad
me too really can't understand it properly, i need to get back that battery time, but How? can anyone else explain it Please?
Anyone except TC try this with sucess? I have Alien 4 with stock kernel and i am getting about 15 to 20 hours before death.
I could be wrong, but I'm fairly confident that the following information is correct:
Doing a factory reset on the stock android recovery simply wipes data, cache, and dalvik - all of which can be done with any of the after market recoveries.
I am unsure as to whether or not factory reset also wipes the battery stats in the stock android recovery.
Edit: It is highly recommended to wipe the battery stats after you install a new ROM or kernel. To do so the quick and easy way - charge the phone to 100%, reboot to recovery, clear battery, reboot. If is then recommended that you let the phone die (or at least get low) followed by a full charge 2-3 times to make the battery accurate. The most involved way to reset the battery stats is to charge to full with the phone off. When it says 100%, pull the battery, plug it back in, let it charge for an additional hour or two while still off like this. It will likely not show 100% after an hour or two, that's fine. Boot into recovery, wipe stats, start up the phone, then unplug it. Follow this will drains and full charges 2-3 times and you will be set. This helps to fix poor battery life when it is caused by a battery that will not fully charge.
OP you should try to drain the battery down to nothing. A lot of people who screw up their battery stats end up with bad battery, however at times you can get a very slow draining batter that will give you 20 hours with 60% left, and then when the phone hits 53% (random example), the battery will fall from there to dead in just a few minutes. This happened to me when I first flashed Ninja SF. I was amazed the battery until I decided to let the phone actually die.
DK
Well im on Cm7 so far only 48% left after 18 hours of moderate use
Sent from my MB860 using xda premium
hi i did try what you said below and it didnt give me the same results...
DeathKoil said:
I could be wrong, but I'm fairly confident that the following information is correct:
Doing a factory reset on the stock android recovery simply wipes data, cache, and dalvik - all of which can be done with any of the after market recoveries.
I am unsure as to whether or not factory reset also wipes the battery stats in the stock android recovery.
Edit: It is highly recommended to wipe the battery stats after you install a new ROM or kernel. To do so the quick and easy way - charge the phone to 100%, reboot to recovery, clear battery, reboot. If is then recommended that you let the phone die (or at least get low) followed by a full charge 2-3 times to make the battery accurate. The most involved way to reset the battery stats is to charge to full with the phone off. When it says 100%, pull the battery, plug it back in, let it charge for an additional hour or two while still off like this. It will likely not show 100% after an hour or two, that's fine. Boot into recovery, wipe stats, start up the phone, then unplug it. Follow this will drains and full charges 2-3 times and you will be set. This helps to fix poor battery life when it is caused by a battery that will not fully charge.
OP you should try to drain the battery down to nothing. A lot of people who screw up their battery stats end up with bad battery, however at times you can get a very slow draining batter that will give you 20 hours with 60% left, and then when the phone hits 53% (random example), the battery will fall from there to dead in just a few minutes. This happened to me when I first flashed Ninja SF. I was amazed the battery until I decided to let the phone actually die.
DK
Click to expand...
Click to collapse

Y u no sleep? help me, thanks.

Hello, i'm currently with quarx CM10 last build (2 nov). First time i installed it i noticed it help A LOT with battery consumption.. from 12 midnight till 10 am from the other day it went from 99 to 97... that is.. like a miracle. then i did something stupid.. i used "battery calibrator" and it ruined it. Today it wen from 12 to 10 am in the morning with 99 to 60 then 49 (typical battery jump)...
I repeat, it's in the night, were wifi is off, refresh is off and nothing (that's what i'm planning to discover) is running or updating.
I attach some screens.
1) first install of the new rom. you can see it sleeps like a baby.... plain.
2).. goes down.. and down... even though i'm not using it.
any comments, help or suggestions? thanks in advanced!
missgothika said:
Hello, i'm currently with quarx CM10 last build (2 nov). First time i installed it i noticed it help A LOT with battery consumption.. from 12 midnight till 10 am from the other day it went from 99 to 97... that is.. like a miracle. then i did something stupid.. i used "battery calibrator" and it ruined it. Today it wen from 12 to 10 am in the morning with 99 to 60 then 49 (typical battery jump)...
I repeat, it's in the night, were wifi is off, refresh is off and nothing (that's what i'm planning to discover) is running or updating.
I attach some screens.
1) first install of the new rom. you can see it sleeps like a baby.... plain.
2).. goes down.. and down... even though i'm not using it.
any comments, help or suggestions? thanks in advanced!
Click to expand...
Click to collapse
Make your phone recalibrate the battery. Follow the following steps:
1 Use the phone till you have 10% or less battery left.
2 Wipe battery stats from 2ndinit recovery.
3 Boot into CM10.
4 Charge your battery to 100%.
Doing this will make the phone generate a new battery stats file and should solve your problems.
krushnam said:
Make your phone recalibrate the battery. Follow the following steps:
1 Use the phone till you have 10% or less battery left.
2 Wipe battery stats from 2ndinit recovery.
3 Boot into CM10.
4 Charge your battery to 100%.
Doing this will make the phone generate a new battery stats file and should solve your problems.
Click to expand...
Click to collapse
i'll try that. but already done it when installed the last build for the second time. i do wipe cache / dalvik / batt stats then flash ROM and all over again with the wipes.
missgothika said:
i'll try that. but already done it when installed the last build for the second time. i do wipe cache / dalvik / batt stats then flash ROM and all over again with the wipes.
Click to expand...
Click to collapse
If you've uninstalled your battery calibrator app or if you've not used it after the wipe, then you shouldn't have any abnormal battery drain...
If wiping battery stats doesn't work, then most people recommend reflashing the ROM, but you've already done that, so you shouldn't have the battery drain now.
Just put your phone to sleep for a few hours, and let's see what happens after doing that.
This is what i did after seeing the sudden drop the other night:
- let it drain normal till the day finishes (at midnight, that's when i did the following)
- charged the battery to 100% and turn off phone.
- pull battery., connect charger to wall and recovery.
- install ROM without battery on. Wipe cache, dalvik, stats batt, install rom, wipe cache, dalvik and statts (again)
- boot into cm10, turn off screen and went to sleep.
- THIS morning, i saw it drained me up to 60 all night.
...
so as you can see.. i've already seen that after reflashing nothing has happened.
no, i didn't use again the calibrator.
missgothika said:
This is what i did after seeing the sudden drop the other night:
- let it drain normal till the day finishes (at midnight, that's when i did the following)
- charged the battery to 100% and turn off phone.
- pull battery., connect charger to wall and recovery.
- install ROM without battery on. Wipe cache, dalvik, stats batt, install rom, wipe cache, dalvik and statts (again)
- boot into cm10, turn off screen and went to sleep.
- THIS morning, i saw it drained me up to 60 all night.
...
so as you can see.. i've already seen that after reflashing nothing has happened.
no, i didn't use again the calibrator.
Click to expand...
Click to collapse
I'm not 100% sure, but as far as I remember, the battery stats gets generated while CHARGING a drained battery.
That's why you should drain the battery, wipe stats and THEN charge it to 100%. As it charges, the battery sensor detects levels (15, 30, 60 and such I think) and generates the battery stats based on these readings.
Afterwards, based on these stats, it generates a reading of battery drain, as the battery sensor itself senses only certain levels.
So, drain, wipe and THEN charge. Do this and let me know if the problem still persists.
krushnam said:
I'm not 100% sure, but as far as I remember, the battery stats gets generated while CHARGING a drained battery.
That's why you should drain the battery, wipe stats and THEN charge it to 100%. As it charges, the battery sensor detects levels (15, 30, 60 and such I think) and generates the battery stats based on these readings.
Afterwards, based on these stats, it generates a reading of battery drain, as the battery sensor itself senses only certain levels.
So, drain, wipe and THEN charge. Do this and let me know if the problem still persists.
Click to expand...
Click to collapse
hmmm! never tried that!.. i was just charging it and it's in 90.. so i'll let it drain and tell you later thanks for that suggestion.
Still open to other comments though thanks to everyone who reads this.
https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT
Just read and engrave to your memory folks! Battery calibration never ever had a positive effect on the battery life and the battery usage shown in the android in-built "Battery Use"-app... and by the way, the stats are reset every time you unplug your nearly fully charged phone from the cable.
Hey, rather than blaming your battery stats I'd search for a process running all the time. Looks like something is keeping the phone awake.
The battery calibration IS A MYTH, as explained here, so don't waste your time wiping the values in Recovery. If you don't find any hyper-active processes with the following procedure, the drops might be related to a worn battery (I don't know how old your phone/battery is).
Open a terminal console and type:
$ top -n 1|head
(if you don't have Hacker's Keyboard installed and selected as Input Method you might need to copy and paste the line above, off course without the dollar sign).
Look at the processes listed as output and paste them here.
slimshady76 said:
Look at the processes listed as output and paste them here.
Click to expand...
Click to collapse
Hola slim , thanks for answering. here's the screen
You had it coming since you are using Swipe... It's chewing up your CPU, and consequently your battery. Search the site. Off the top of my head I think it was a common issue.
slimshady76 said:
You had it coming since you are using Swipe... It's chewing up your CPU, and consequently your battery. Search the site. Off the top of my head I think it was a common issue.
Click to expand...
Click to collapse
Swype? really?? shoot.. i love it.. even though i don't use it that much. Searched a bit but couldn't find much. Gonna try freezing it and see what happens. thanks.
Finally i managed with your help to accomplish some good sleep! here's the screen. i think it's awesome, never ever seen this.
thank you!!
we'll see if it gets better.
There's an interesting lesson to be learned here: if no deep sleep can be achieved, don't blame the ROM, and look for a stubborn process which refuses to stop when the kernel tell is to.

Battery levels not reading properly

Every few kernel flashes, I like to completely deplete, then one shot recharge my battery. recently, i've been noticing that while the system is showing 1-2%. upon reboot it reads ~20%. after that goes down to ~2%, the next reboot shows ~14% and so on. it takes a couple of cycles until the battery stays fully depleted.
I'd like to fix this to regain the extra battery life my phone doesn't realize it has. i remember from back in my Droid X days that CWMR could wipe battery stats. However, I've been using TWRP for quite awhile now and I haven't been following CWMR.
Is there anything I can do to fix this?
You can still wipe battery stats if you are using cwmr. I am not sure of its effective but give it a try.
I recommend to backup your data and flash stock image. That should fix it.
Always charge the phone 100% and use it till it reaches 5%. Do this for couple days.
Sent from my Nexus 4 using Tapatalk 4

[Q] wipe cache due tk battery life but recovery is in Korean?!

Hi,
Few days ago I bought a new European open D802 32gb. I immediately updated it to lollipop via lg software (completely stock), and lollipop works amazing. I didn't notice ANY bug except fast battery drain, especially on mobile data (about 60 percebt usage on 11 hours with 2 hours sot). Every battery analyzing software showed me that the battery condition is fine. Another thing is that the battery bar is not acting in a linear way (can be on 100% for more than a hour, and than 2 or 3 percent per hour in light use).
Since I already did factory reset twice, I wanted to clean my cache partition. Wheb I entered the stock recovery, I got a mebu with 3 options.. But in korean.
So, if someone have any idea about the battery issue and/or anything about the korean recovery, I'd love to hear.
Thanks!

Replacement Battery not charging Fully

Hi everyone! I'm running the latest Lineage 15.1 on my 32GB Aluminum 6P and I just replaced the battery(about time as I was dying at 90% lol). Now after leaving the battery all night to charge(Was 81% went I went to bed) I woke up this morning to it still. at 81%. I've wiped battery stats, I've tried different cables and blocks. It just refuses to go past 81% the battery I got is performing as expected however it is 100mAh more than the stock battery which I suspect may be the issue.
Has anyone else had this problem or know of another way to fix it?
Solved: For some reason you must also wipe cache for it to charge fully. So make sure you wipe both /data/system/batterystats.bin and the cache partition. Charge with the phone off to 100% then let it fully discharge so that your stats are correct.
Mods please mark this solved

Resources