[Q] battery use incorrect info - Vibrant Q&A, Help & Troubleshooting

i was wondering if this is a common fix / if there is a common solution...
i feel like my results have been different on different builds of the same rom but i may just be crazy
im confused as to why it only shows display, cell standby, phone idle, and voice calls. i know there are times when i have been on different roms where it shows different apps and whatnot in the battery use screen
i also dont know why it shows display as 91% when my screen time is just over 35 minutes. 91% of my 8-ish hours of on time so far does not compute to 35 minutes..
anyone have a fix / explanation for this??

?!?!?!?!

jonen said:
i was wondering if this is a common fix / if there is a common solution...
i feel like my results have been different on different builds of the same rom but i may just be crazy
im confused as to why it only shows display, cell standby, phone idle, and voice calls. i know there are times when i have been on different roms where it shows different apps and whatnot in the battery use screen
i also dont know why it shows display as 91% when my screen time is just over 35 minutes. 91% of my 8-ish hours of on time so far does not compute to 35 minutes..
anyone have a fix / explanation for this??
Click to expand...
Click to collapse
Try wiping battery stats.
1. Fully charge and unplug from charger.
2. Reboot into recovery --> Advanced --> wipe battery stats. Reboot.

ascallop said:
Try wiping battery stats.
1. Fully charge and unplug from charger.
2. Reboot into recovery --> Advanced --> wipe battery stats. Reboot.
Click to expand...
Click to collapse
don't think that would work but I'll give it a shot later.
I have wiped my battery stats on multiple occasions but this problem was been somewhat persistent.
side note: there was an article a few months ago from a former Google employee explaining what actually goes inside the battery stats file, saying how wiping your stats don't improve battery life at all bc there is an internal process within the OS that "resets" your usage upon a full charge

It is wierd how the Battery Usage thing works on Froyo builds. I have never been able to get an accurate reading from it. I use Betterbatterystats.apk to get a better idea of what is using my battery.
Here is the G+ article in case you wanted. It is in my guide but...
Recently there has been information debunking this process. I will post it below, however I know what it says, but I also know what I've seen/experienced too. Here is the post by Dianne Hackborn, a Google Dev on her G+ account.
Dianne Hackborn - Jan 12, 2012 - Public
Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory."
No, it does not.
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.
Click to expand...
Click to collapse

Related

[Info] Wipe batterystats.bin not affect anything, dont even improve your battery life

This is from Dianne Hackborn Google+ Profile, she is Google Android Framework Engineer, she said:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory."
No, it does not.
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.
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

Deleting Battery Stats Does Nothing..Official!

So we all wipe our battery stats after installing a new rom, right? Well, it looks like we needn't bother after all.
Quoting from this thread here: http://forum.xda-developers.com/showthread.php?t=1443535..this is a Google+ post from somebody who actually works for Google.
Dianne Hackborn - Yesterday 7:42 PM - Public
Today's myth debunking:
"The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory."
No, it does not.
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.
Click to expand...
Click to collapse

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.

ZeroLemon Fuel Gauge Fix Samsung Galaxy Note 4 [BETA]

First Beta Release on Lollipop BioShock
Alright guys, I have shaped this mod up to the best of my abilities and I present to you the Bravo version of it. I will get other kernel versions of this mod out but in the mean time I am sticking with the Original work space one based off of the Lollipop BioShock 3.10.40. I know this is the older version, but I will mass update ALL the kernels really soon. Basically everything (even the app) are enclosed into 1 ZIP file so all you have to do is flash the Kernel and you are ready to go. A couple of things I would like to get out there:
1. You should have a Fully charged ZL Battery. I wouldn't say before flashing this as you can re-calibrate the app, but I would recommend that you do so to avoid any confusion.
2. When you charge the battery with this mod, yes the percentage does charge fast and it will most likely show 100% BEFORE the battery reaches 100%. There is a issue with the current/mA flow readings IN the app and that will be fixed in the near future. Please understand that TRUE 100% is when the phone says "Fully Charged 100%, Unplug Charger" not when the Fuel gauge (next to the clock) says 100%.
3. Some people ask "Will the app Accurately calculate the battery to avoid shutting down at lets say 15% or still running 1% for days like normal"? And the answer to that is most likely Yes, and Possibly no. I say yes to the first part because you can put in the different drain values of each component in the Note 4 so that the app can detect the draining and calculate accordingly. Now, I will warn you that I have never used this mod to do a full complete drain. So I will say I wouldn't recommend letting the battery go all the way down to 15% (just as a safety net if you plan on going out, etc) in-case the battery does hit 3.4 volts which is the Note 4's 0% Shutdown target. And the 1% mod is almost unlikely.
4. Finally, I have received your messages and Emotion Kernel seems to be the popular Kernel at this time (I will be using it in the coming days also) so I will get to that next once I get the source code loaded. (KitKat users, you are not forgotten) I will also be posting the Kernel files so that Kernel devs can make different variants once I hear from you guys on how this mod is working. To me, I think its great. From the way it was before I can say its a Improvement from the drain calculation side. The charging side needs work, but hey, you hardly have to charge the dang thing anyways lol.
Now to the Installation
Of course, I would recommend that you do a backup of course and that you have a backup kernel with you. Basically, if you can use this kernel http://forum.xda-developers.com/note...-2014-t2962744 It should work.
Once you have flashed the file below "BioShock_N910T_TW_LP_Extended_Battery_Mod_OFFICIA L_BRAVO.zip", you should also wipe delvik and cache just to make sure everything goes smoothly. If the mod was successfully installed, your battery level should read "101%". It will read 101% every time you reboot just to keep things clean and then go back to the App's fuel gauge level 1 minute after boot.
If it shows 101%, go into your Apps and you should see a App called "Fuel Gauge Extended..." Open that app up and wait about 3-5 seconds for everything to populate (Done to keep battery usage down). Make sure to check Start on Boot if you want the service to start with the phone (which I think EVERYONE should do) and then tap start monitor. You might get a SuperSU permission screen which you want to grant permissions to. Once you see the Status saying "Running" go down to the debug area to the "Patch Status" string and it should report "ok/[success]]" and your real battery gauge should read whatever the Software Status says.
This app also doesn't have the on screen dedicated 3-dot menu buttons so you have to go old fashioned and how down the left menu soft-key for a second until a menu pops up at the bottom which shoes Start Full Charge, Set full battery, and configuration. This is where you can calibrate your battery so that once you fully charged your battery, you go into the app and select "Set full battery" to set the app and battery capacity to 100%. Please note that this will take anywhere from 30 seconds to 1 minute to update the battery meter globally. You don't want to press either one of these when you already have calibrated the battery before and you are at half a charge as you will lose your capacity remaining level and accuracy until you fully charge again.
Under configuration, you can make the app calibrate to 100% every time your phone displays "Fully charged, disconnect charger". You can also disable the notification under Notification Icon.
Hardware current is where you can change the different consumption values of each component. I wouldn't mess around here too much as you could create a imbalance within the app calculations.
And basically that's pretty much it. IF and SHOULD you have any problems, just reply here or shoot me a PM and I will help you to the best of my abilities.
Thank you guys for your patience and I hope you enjoy this beta mod.
About the values that you input, this would lead to inconsistencies wouldn't it? Like how would we be able to know the exact values? Is it possible to use the values in the Fuel Gage chip?
e.g. It still says there is charge in the battery, but there is none, and the phone just switches off in the middle of use?
jayden485 said:
About the values that you input, this would lead to inconsistencies wouldn't it? Like how would we be able to know the exact values? Is it possible to use the values in the Fuel Gage chip?
e.g. It still says there is charge in the battery, but there is none, and the phone just switches off in the middle of use?
Click to expand...
Click to collapse
While this maybe true, you also have to take into consideration that the battery already does this without this mod when it stays at 1% for extended periods of time. Also, there is a file in the framework-res.apk that has all the power profiles of each component in its mAH values. But I am pretty sure with this mod, I wouldn't think you would drain the battery all the way to 2 or 5% expecting to go another day or to go to work with it. When you get down to 5%, the screen dims automatically so that alone would force people to charge the phone. But that is a good question. Now the ONLY Time the percent values would be off is when you use the phone in recovery mode for extended periods of time or when you charge the phone when the phone is off, you have to go into the app and reset to 100%. I am working on a code which makes the percent automatically go to 100% when voltages hit fully charged.
7 Hours off battery.
Sent from my SM-N910T using XDA Free mobile app
TheLoneWolf20 said:
While this maybe true, you also have to take into consideration that the battery already does this without this mod when it stays at 1% for extended periods of time. Also, there is a file in the framework-res.apk that has all the power profiles of each component in its mAH values. But I am pretty sure with this mod, I wouldn't think you would drain the battery all the way to 2 or 5% expecting to go another day or to go to work with it. When you get down to 5%, the screen dims automatically so that alone would force people to charge the phone. But that is a good question.
Click to expand...
Click to collapse
So we don't have to find values? Is that how the Fuel Gage chip does it? How confident are you in how accurate this will be?
jayden485 said:
So we don't have to find values? Is that how the Fuel Gage chip does it? How confident are you in how accurate this will be?
Click to expand...
Click to collapse
The fuel chip uses voltage levels as well as values stored in the kernel to come up with a near accurate reading. What I can do is put the stock battery in and set the app to the stock capacity and see if the app capacity matches up with the Fuel gauge capacity. But I am pretty confident that it will be accurate. Again, even if we get to 5 or 3% battery before shut down, its MUCH better than getting to 1% and still have 55% battery left. And that can be fixed.
The app can tell the different brightness levels from 0 to 255, Rather bluetooth, wifi, gps is on or off, talking on phone, etc. and it auto adjusts accordingly.
Sent from my SM-N910T using XDA Free mobile app
Now we are cooking with gasoline
It couldn't be any worse than not doing anything so.
Sent from my SM-N910T using XDA Free mobile app
following this thread to see results, as my zerolemon is yet to arrive later this month so can't really test anything
Warnahly said:
following this thread to see results, as my zerolemon is yet to arrive later this month so can't really test anything
Click to expand...
Click to collapse
Alright no problem. I didn't release anything yet until I make sure everything is super stable.
I'm waiting for the release
I had to delay releasing the beta because I found a major issue with the current polling fix which shut down charging prematurely because it didn't poll any Temperature and Voltage levels form the Thermistors. But I have found the string I was looking for all along and I will begin going the back door way. Once I can get that done, I will have no problem releasing the beta for testing. Before I officially post it on here, I want to give it to a select people first to let them try it out and report back to me any issues they encounter so if you are interested in Testing it, please send me a PM. I have a couple of people already down. ALSO, Please put down what kernel you are using, The Source Code link of the kernel and the Variant of your Note 4. I am working with the BioShock Kernel right now and I am planning to do a Emotion version as well. For those who are on AOSP or AOKP kernels / ROMS shoot me a PM and I can see what I can do. Once again, I want to thank you guys for your continued patience.
One more thing, It also helps to charge your ZL Battery all the way to 100%
Congrats! Persistence pays off.
Emotion kernel for me
I finally got the polling redirected so that the phone still reads the Temp, Voltage, Current, and other values which makes sure that the battery remains safe. Only the calculated capacity from the App will go through the system. I could release it right now, but I want to fix one more value before it passes me.
Running more test before I pass it on to some of you guys for your testing. I have the Temperature, Current and Voltage sensors working now I just need to make the current percent value stick with the file so when I do a restart, it doesn't jump up.
Sent from my SM-N910T using XDA Free mobile app
First Beta Release on Lollipop BioShock
Alright guys, I have shaped this mod up to the best of my abilities and I present to you the Bravo version of it. I will get other kernel versions of this mod out but in the mean time I am sticking with the Original work space one based off of the Lollipop BioShock 3.10.40. I know this is the older version, but I will mass update ALL the kernels really soon. Basically everything (even the app) are enclosed into 1 ZIP file so all you have to do is flash the Kernel and you are ready to go. A couple of things I would like to get out there:
1. You should have a Fully charged ZL Battery. I wouldn't say before flashing this as you can re-calibrate the app, but I would recommend that you do so to avoid any confusion.
2. When you charge the battery with this mod, yes the percentage does charge fast and it will most likely show 100% BEFORE the battery reaches 100%. There is a issue with the current/mA flow readings IN the app and that will be fixed in the near future. Please understand that TRUE 100% is when the phone says "Fully Charged 100%, Unplug Charger" not when the Fuel gauge (next to the clock) says 100%.
3. Some people ask "Will the app Accurately calculate the battery to avoid shutting down at lets say 15% or still running 1% for days like normal"? And the answer to that is most likely Yes, and Possibly no. I say yes to the first part because you can put in the different drain values of each component in the Note 4 so that the app can detect the draining and calculate accordingly. Now, I will warn you that I have never used this mod to do a full complete drain. So I will say I wouldn't recommend letting the battery go all the way down to 15% (just as a safety net if you plan on going out, etc) in-case the battery does hit 3.4 volts which is the Note 4's 0% Shutdown target. And the 1% mod is almost unlikely.
4. Finally, I have received your messages and Emotion Kernel seems to be the popular Kernel at this time (I will be using it in the coming days also) so I will get to that next once I get the source code loaded. (KitKat users, you are not forgotten) I will also be posting the Kernel files so that Kernel devs can make different variants once I hear from you guys on how this mod is working. To me, I think its great. From the way it was before I can say its a Improvement from the drain calculation side. The charging side needs work, but hey, you hardly have to charge the dang thing anyways lol.
Now to the Installation
Of course, I would recommend that you do a backup of course and that you have a backup kernel with you. Basically, if you can use this kernel http://forum.xda-developers.com/not...pment/kernel-bioshock-1-5-dec-4-2014-t2962744 It should work.
Once you have flashed the file below "BioShock_N910T_TW_LP_Extended_Battery_Mod_OFFICIAL_BRAVO.zip", you should also wipe delvik and cache just to make sure everything goes smoothly. If the mod was successfully installed, your battery level should read "101%". It will read 101% every time you reboot just to keep things clean and then go back to the App's fuel gauge level 1 minute after boot.
If it shows 101%, go into your Apps and you should see a App called "Fuel Gauge Extended..." Open that app up and wait about 3-5 seconds for everything to populate (Done to keep battery usage down). Make sure to check Start on Boot if you want the service to start with the phone (which I think EVERYONE should do) and then tap start monitor. You might get a SuperSU permission screen which you want to grant permissions to. Once you see the Status saying "Running" go down to the debug area to the "Patch Status" string and it should report "ok/[success]]" and your real battery gauge should read whatever the Software Status says.
This app also doesn't have the on screen dedicated 3-dot menu buttons so you have to go old fashioned and how down the left menu soft-key for a second until a menu pops up at the bottom which shoes Start Full Charge, Set full battery, and configuration. This is where you can calibrate your battery so that once you fully charged your battery, you go into the app and select "Set full battery" to set the app and battery capacity to 100%. Please note that this will take anywhere from 30 seconds to 1 minute to update the battery meter globally. You don't want to press either one of these when you already have calibrated the battery before and you are at half a charge as you will lose your capacity remaining level and accuracy until you fully charge again.
Under configuration, you can make the app calibrate to 100% every time your phone displays "Fully charged, disconnect charger". You can also disable the notification under Notification Icon.
Hardware current is where you can change the different consumption values of each component. I wouldn't mess around here too much as you could create a imbalance within the app calculations.
And basically that's pretty much it. IF and SHOULD you have any problems, just reply here or shoot me a PM and I will help you to the best of my abilities.
Thank you guys for your patience and I hope you enjoy this beta mod.
Awesome work man, I look forward to using this. On lollipop it seems my zL runs about a 15% battery difference from actual to estimated. This would be of great help.
:good::good:
JDevil said:
Awesome work man, I look forward to using this. On lollipop it seems my zL runs about a 15% battery difference from actual to estimated. This would be of great help.
:good::good:
Click to expand...
Click to collapse
No problem, I am happy it is working for you.
TheLoneWolf20 said:
No problem, I am happy it is working for you.
Click to expand...
Click to collapse
Ah, I have yet to test the mod. Have to do a backup first because I'm not too sure bioshock will run Verizon without complications. I haven't tried any other kernels running Jasminerom with kexec.

Categories

Resources