Battery levels not reading properly - Nexus 4 Q&A, Help & Troubleshooting

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

Related

Wipe battery stats

will that help with the full charged at 95 problem?
...
If you mean wiping the stats under battery usage, then no. They get reset at each charge. I don't know of a solution to the apparently incomplete charging. Sometimes mine gets up to 96, other times to 100...who knows?
-Rob
I have that problem too. Another problem ive been having lately is when i reboot my phone, the battery comes back at abour 40% lower. Its happened a few times where i reboot and have plenty of battery, and when it comes back its at 5%. After a few more reboots it will be back to where it should be.
So on a rooted phone in clockwork recovery, what does the 'reset battery statistics' option do?
Sent from my Epic using XDA app.

Battery inaccurate after boot

Hi all
since a week or so i have a strange problem with my sgs and i hope you can help me to fix it
Everything works just fine (battery is accurate) until i switch off / reboot the phone
but at next boot the battery reports a very low value
(e.g. the phone has 55% battery left and after the reboot it reports only 8%)
with Froyo 2.2.1 (Speedmod Kernel) it would stay at that level until the battery has really drained to that point
With GB (JVQ - Galaxian Kernel) the battery percentage increases slowly
What i tried so far:
first of all, i deleted the battery stats for a few times and because that didn't work i upgraded to JVQ (with repartitioning and all), but that didn't solve the problem either
i don't really know what to do anymore and i hope someone can help me
thanks
Just do a few drain/ charge cycles and that should sort it
Sent from my GT-I9000 using XDA Premium App
First off, wiping batterystats.bin alone won't help.
Try this:
1. Charge to 100% until it says unplug charger.
2. Wipe batterystats.bin from recovery, unplug and then reboot
3. Drain your phone's battery until it shuts itself down
4. Charge to 100% without interrupting the charge
5. Enjoy :3
thanks for the quick replay!
unfortunately thats basically what i have already done
since the problem happened the first time, i have charged the phone at least 5 times and wiped the battery stats for 2 or 3 times right after charging the phone to 100%
its true that normally i don't drain the battery completely, but yesterday i have done just that and than let the phone charge overnight - but that didn't solve the problem
i will try to fully discharge the phone a few more times and load the battery while the phone is switched off
still i hope someone has an other suggestion how to solve this annoying problem
thanks
lol - stop deleting the batterystats.bin for starters.
The batterystats needs to indentify the top and bottom markers such as 0% - 100%, delete it ONCE.
Firstly, turn the phone off, charge the phone to 100%, bump charge it, till 100% truely.
This means, unplug...then plug it in again until you keep getting 100% show up.
Boot up into recovery then delete the batterystats.bin.
Use it heavy, activate everything and drain it. Make sure it is compeltely drained, try turning the phone back on, take the battery out for about 2 mins, try turning it on again, if it doesnt turn on, you've drained it.
Plug your charger in, do not turn the phone on, let it charge to 100%, again, bump charge it until 100% truely full, turn the phone on and let it run its natural course this time.
Do not delete the batterystats.bin again, you will have to repeat the process, it will take a good 2/3 times of charge/discharge for the stats to settle.
Hopefully helps dude! Good luck
thanks pidz!
just to clarify: i have had my sgs for a half year now and i never wiped the battery stats until last week
But i haven't tried bump charging jet - i really don't like that process as it is bad for the battery but might be worth a try, thanks
it usually happens with non original batteries. did you changed a battery? or maybe you got a fake one with you phone?

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.

Massive Battery Drain in 4.4.2

Does anyone else have a massive battery drain in Kit Kat? I can charge my Nexus to 100% and in an hour or two it's completely dead with blinking red light. I tried restarting to bootloader when it was at 5% but it was still on for like a half hour. Once I restarted my phone, my battery read 0%. I'm thinking it may be time to change the battery if no one else is having this problem.
I suggest you to reset the battery stat from the recovery. The probability that this works are low but is better then nothing.
How do I do that from recovery?
Edit: phone was charged to 98%, rebooted into recovery to see if I could wipe stats in TWRP, rebooted again, phone reads 28%, 3 minutes later it read 66%.
TheKnux said:
How do I do that from recovery?
Edit: phone was charged to 98%, rebooted into recovery to see if I could wipe stats in TWRP, rebooted again, phone reads 28%, 3 minutes later it read 66%.
Click to expand...
Click to collapse
To wipe battery stats in TWRP:
boot into TWRP recovery
/advanced/File Manager/
folder /data/system/
click batterystats.bin
click Delete
reboot system
If you can't see the folder, you need to mount the data folder.
Well I switched to Philz Touch, do I have to do the same thing then?
TheKnux said:
Well I switched to Philz Touch, do I have to do the same thing then?
Click to expand...
Click to collapse
You should have the wipe battery stat under advanced in your recovery.
The right step to follow are:
1. charging the battery FULLY
2. wipe Battery Stats
3. don't charge the device until the battery still turns off your device because it empty
4. now again FULLY charge without interruption
Wiping battery stats does nothing, see here: http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/ . Sounds like your battery is borked. May need to send away for repair. Are you still under warranty?
ScumDroid said:
Wiping battery stats does nothing, see here: http://www.xda-developers.com/andro...-battery-stats-does-not-improve-battery-life/ . Sounds like your battery is borked. May need to send away for repair. Are you still under warranty?
Click to expand...
Click to collapse
Yeah I figured. Thought it was a KitKat bug at first but then it started getting ridiculous. Phone was at 70%, started taking a photosphere, phone shut off, and when I turned it back on it was at 3%.
No its not. Bought it off Craigslist. Just gonna order a battery off eBay for $18 and replace it myself, see if that fixes anything.
I just got out of a similar problem.
My battery percentage was jumping all over the place.
It would charge fully in about 5 mins, and die in about 20.
Everytime I restarted the phone, it would read a different percent.
I ended up running the phone on full brightness, with like everything turned on to drain the battery all the way down.
& Everytime it would shut off cause it had no battery left, just restart it and keep draining it until when you reboot the phone it no longer turns on(because the battery if fully drained of course).
That's when it is really dead.
Then just charge it to 100%, and keep it charging for about 20 extra minutes once it hits 100%, and now it's back to normal!
Glorifyy said:
I just got out of a similar problem.
My battery percentage was jumping all over the place.
It would charge fully in about 5 mins, and die in about 20.
Everytime I restarted the phone, it would read a different percent.
I ended up running the phone on full brightness, with like everything turned on to drain the battery all the way down.
& Everytime it would shut off cause it had no battery left, just restart it and keep draining it until when you reboot the phone it no longer turns on(because the battery if fully drained of course).
That's when it is really dead.
Then just charge it to 100%, and keep it charging for about 20 extra minutes once it hits 100%, and now it's back to normal!
Click to expand...
Click to collapse
That really worked? Any problems with it since and is this a common issue with the N4? For some reason it won't die when it's in the bootloader even though the percentage read 5.
So yesterday it was so dead that it gave me the red blinking light, should I charge it when that happens again and should I leave it off while charging it or turn it on and not touch it?
How many times did you have to do this until it straightened itself out?
TheKnux said:
That really worked? Any problems with it since and is this a common issue with the N4? For some reason it won't die when it's in the bootloader even though the percentage read 5.
So yesterday it was so dead that it gave me the red blinking light, should I charge it when that happens again and should I leave it off while charging it or turn it on and not touch it?
How many times did you have to do this until it straightened itself out?
Click to expand...
Click to collapse
I am currently having WakeLock problems, but I do not beleive this was the cause.
I was able to restart it after it died about 4-6 times, till it was fully dead.
Then I charged the phone, and kept it off the whole time.
I installed wakelock detector to make sure that wasn't the problem. I had this problem on the stock rom even before I rooted. So the problem hasn't persisted since?

Categories

Resources