yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] vol2ume4:
Swapping batteries and using bmw to track charge %

Thanks. I Observed something interesting.

I am experimenting swapping two batteries for my galaxy note. One stock and other a 5200mah. Recently i switched to a fully charged extended battery removing the stock battery from the phone. Bmw pro started reading ma levels from 100% showing 4070ma. Earlier it had calibrated the same battery at 5700 ma levels in previous use cycles.

Slowly the battery drained over nearly 2 days when it reached 1% the current left was still showing 3100ma. I trusted the bmw reading so waited for the battery left % to correct itself. After it reached 1% i was able to use the phone for about 3 hours. Activesync on, push mail set for exchange, i was actively browsing using wifi. Was also downloading a few apps from the market etc. suddenly the phone died. It was at 0% and 3272 ma in bmw history file. so i instinctively plugged on the stock charger. After about ten minutes it occured to me there was still so much charge being shown by bmw that i should check by removing and reinserting the battery. This is what followed.

In settings -> about phone -> status, it says battery charge is showing "critically low". Settings shows the display brightness menu disabled. Battery charge notification from bmw was showing nothing for a few minutes. It refreshed and started showing 26% with bmw history file showing 3501. The interim when i was charging the phone had one entry of +199 ma.

My inferences: pl comment.

The system does not know balance charge left in the battery. It goes by the assumption of the stock battery charge and declares what is left accounting for drain. That is, It does not expect an extended battery.

BMW senses current drain, it uses the calibration info fed in and arrives at what charge in the form of ma is left.

Questions:

I wonder how they will reconcile with reality as i used deep charge / discharge cycles.

In next cycles as i keep swapping stock and extended battery, can i expect to reach a stage where i can trust the system battery reading?
[Android Apps and Games] 3c:
So first, you might want to check when you mention mV, mA and mAh... It seems all mixed up in your post ;)

I believe you mostly refer to mV as a way to tell what's left of the battery, which is indeed an easy way to see it.

You probably forgot to mention you're using the '% based on mV' option. Otherwise % from BMW = % from Android system. That's why BMW reports a more accurate % than Android when you use an extended battery.

So onto your questions: depends on phone and manufacturer.

Some simply don't have support for extended battery in the kernel, so you'll never get proper battery readings from Android. Only the above option you're using in BMW will help.

This can be true of very recent phones unfortunately.
[Android Apps and Games] vol2ume4:
Ah! I can see that i am mixing up mv and mA. It is clear i cannot go by system battery %. i have set on the option "% based on MV".

Couple of questions:

1. How do i decide the battery is fully charged?

Do i see the battery charge level in bmw as 100 and stop charging?

2. Similarly how do i decide when the battery need recharging?

3. Hopefully your answer to #2 will give me a hint on how much batteryis left so i can plan to charge again. The hassle extended battery is it takes long time to charge and i do want to avoid getting stuck at my office to wait for it to get charged !

Thanks in advance.
[Android Apps and Games] 3c:
I'm sure you can base 1 & 2 decisions based on % provided by the app.

To ensure accuracy, it's probably best (if not done already) to run full dicharge/charge cycles. Charge for 12 hours (or until 100% + 2 hours). Then discharge until it turns off, turn on phone without plugging until it doesn't start. That way the app will learn the min/max mV possible, and provide the best possible % reading.

EDIT: A little WARNING if you have CWM installed, just make sure it's capable of charging the phone while off! Otherwise you might not be able to restart it with a completely empty battery!
[Android Apps and Games] vol2ume4:
Thanks!

I am using standard android 2.3.6. You were probably refering to a rooted phone with the cwm warning.

Basic question but important for me. i am using two batteries. One stock and one extended. I use external dock to charge the stock battery while the extended one has to be charged in the phone. The extended battery is my plan A. If caught in a situation where i am on the move etc and phone dies i will use the stock battery which is ready with full charge. Meaning the app most times only gets to record the charge cycles of the extended battery while the stock battery is charged in the separate dock. Now the question:

Is it enough to just replace the battery, change setting in bmw to choose the battery in use and continue doing the cycles as you suggest. Hoping the app learns and remembers which battery is involved.

Thanks!
[Android Apps and Games] 3c:
It will indeed be enough, if you don't forget to tell the app you changed battery! From the calibration screen you can create battery profile. That's the way the app remember each batteries information. Each time you change battery, on next boot you must go there and change the battery from that screen.

Soon, I'll make this particular "% based on mV' also retained per battery, that way only one thing to change. Hopefully by then, I'll also add a popup on boot to suggest the battery was changed ;)
[Android Apps and Games] kire.htc:
I use this app long time ago, but now i have problem with galaxy s3. It's not showing battery drain correctly. Is it general problem with s3 or just me? Thanks
[Android Apps and Games] 3c:
Are you using a custom ROM on your S3, if so any URL?

You can override the mA retrieval method to 'Estimated' in case you have a custom kernel pretending to provide real mA.

I know an attempt was made, but the results were completely wrong.
[Android Apps and Games] kire.htc:
I am using this rom: http://xdaforums.com/showthread.php?t=1708371

with custom kernel: http://xdaforums.com/showthread.php?t=1774154

Why it's showing %/h instead mV???

thanks
[Android Apps and Games] 3c:
Because phone only provides estimated mA, so the app defaults to showing %/h.

You can still switch back to use mA by default in the display options.

Will try this kernel to see how the app could support it automatically. Thanks.

EDIT:Tried the kernel, and app supports it out-of-the-box, mA is automatically estimated.
[Android Apps and Games] electricpete1:
Samsung Infuse 4G (SGH-I997) has real milliamp sensing?

I’d like to figure out if this phone (Samsung Infuse 4G = SGH-I997) has real milliamp sensing.

I did send a “milliamp support” email to developer on 9/5/12 so he would have the phone info available.

Reading the website, the only guidance I see for answering this question myself is as follows:

http://www.3c71.com/android/?q=node/450

On my Samsung Infuse:

While charging it displays “milliamps” (no word estimated on the screen)

While discharging it displays “estimated milliamps”.

So if I read the above quote literally, I would only pay attention to the charging screen and conclude I have current sensor.

However that doesn’t make sense because I am interested in current while draining. Additionally inspection of the milliamps traces reveals jumps in milliamps at the same time as battery % changes which sounds estimated.

So, if I had to answer the question myself I’d say there is no milliamp sensor. But I may be missing something, and I don’t know why the above quote mentioned looking at charging screen ... that’s why I asking to double-check my thought process.

(Great program by the way!)

Thanks in advance.
[Android Apps and Games] 3c:
Your phone has a current sensor, but it doesn't provide information while unplugged, hence mA is estimated while unplugged and real while charging.

The page referenced is about calculating actual battery capacity (mAh) which is based on charging mA data only, thus it only refers to charging mA.
[Android Apps and Games] CheriePie:
Hey 3C!

I have a couple questions regarding the Battery Estimates. Based on what I've read in the FAQ and in a couple forum posts here, I'm trying to match up the measures used on the Estimates Tab of BMW (or Android Tuner since that's what I'm using now) with the measures used in the Battery Stats Widget since the terminology isn't always consistent.

So far I've been able to put together the following. The times given are my numbers as I was using them to try to match up the different values:

BMW ESTIMATES TAB

------------------------------

GLOBAL ESTIMATION (weighted average between #2 and #3 below): 7h 53m

ALL-TIME AVERAGE (based on average times of AC, USB & unplugged cycles): 5h 38m

i.e. When you use your phone as an usual day, you can estimates the time remaining based on previous usage, eg the average time from 100% to 0% that was previously recorded.

AVERAGE SINCE UNPLUGGED (based on last measures): 10h 12m

i.e. Now let's say you've unplugged fully charged and your using the phone from time to time in a regular way, you can then estimates the remaining time on battery from the usage since unplugging the phone.

BATTERY (DIS)CHARGE (based on current mA charge/discharge and remaining battery capacity (mAh)): 3h 06m

i.e. But now, let's say you're starting to play a 3D game and it's consuming a lot, you can estimates the remaining time playing this game using battery consumption (mA).

SELECTABLE CONTENT VALUES FOR BATTERY WIDGET

-------------------------------------------------------------------------------

- GLOBAL ESTIMATES: 7h 53m (equal to Global Estimates above)

- REAL TIME ESTIMATE: 4h 22m (?? not sure where this # comes from)

- AVERAGE ESTIMATES: 5h 38m (equal to All-Time Average)

- CURRENT ESTIMATES: 10h 16m (Avg since Unplug I think?)

- SINCE UNPLUGGED: 8h 25m <-- it's poss this doesn't relate to time remaining at all but simply shows how long it's been since you unplugged from charger.

So can you confirm those widget values and how they relate to the values on the Estimates tab so I can better understand how to configure my widget. Since moving from BMW to Android Tuner, I didn't have a battery stat preconfigured so I'm playing around and trying to figure out what values I want to use, and how they relate to other values in the program.

I also think it'd really go a long way towards usability, and dispel a bit of ambiguity, if you made these terms consistent throughout different parts of the program too. Thanks! :)
[Android Apps and Games] Juniper Team:
the same problem here
[Android Apps and Games] 3c:
If you come from HTC? you're used to get "real-time" mA readings.

Whereas on the S3, current sensor data is not accessible. So the app provides estimated values as described here. Some additional clarifications are available here.

In standby, only night-long standby will produce accurate mA.
[Android Apps and Games] emprize:
i just bought my note 2 and installed bmw free on play store, but it cant show the mA correctly on history, when i was using note 1, it shows how many mA i used for each session in history, now just show 0 or 1....

have i set something wrong?

also it seems cant detect my note2 battery on correct mAh, on the battery default should be 3100mAh but i shows incorrectly
[Android Apps and Games] maxkushnir:
Thank you looks pretty cool
[Android Apps and Games] 3c:
There appear to be more than one Galaxy Note 2 model! To fix this, select "Estimated" for the "mA retrieval method" in the monitoring settings.
[Android Apps and Games] Conan179:
i have a gt-n7105, giv it a way to set all 10sec to mess the ma? not 60sec we with "Estimated".

Greetz Conan
[Android Apps and Games] 3c:
Because the Galaxy Note 2 current sensor is not available or not present, the estimating mA every 10 seconds is of no use at all. mA is updated when other battery data are updated, primarily when % changes.

Please check this page for more information about estimated mA.
[Android Apps and Games] reinbeau:
So the widget isn't going to be useful without the info, right? I've always used your widget, I hope this can be dealt with someday.
[Android Apps and Games] Conan179:
it is on my note 2 a hardware sotry or a Software? also a custom kernel?
[Android Apps and Games] 3c:
Maybe a custom kernel can solve this, though on the Galaxy S3 many tried, but the actual data (current mA) was unusable. On the S2 on the contrary a custom kernel was able to provide charging mA.
[Android Apps and Games] sk8er_boi47:
Good to know, will try this in a while , thx
[Android Apps and Games] 3c:
I use the widget with a 10 minute logging rate, and I find it very useful. It's the real-time measure for which I don't see much of a use for that information. 10 seconds will also drain battery much faster. Also noting that very few device actually provide real-time measure, instead they provide 1-minute interval average, which the app uses when available.

Only a custom kernel may solve this, if possible at all. need to address a feature request to a kernel dev for that.
[Android Apps and Games] Conan179:
@3c

can you explain what this is?
[Android Apps and Games] 3c:
This adds supports for a number of devices which did not produce proper mA readings when using previous app version. The app now produces correct mA readings on those devices.
[Android Apps and Games] Conan179:
Great if it is still called every 10 seconds, I am Happy.

Super, wenn es jetzt noch alle 10 sec. abgerufen wird bin ich zufrieden., wen es falsch übersetzt worden ist.
[Android Apps and Games] jcsy:
3c

you might or might not recognize me but anyways

im using battery monitor widget (free) as a 1x1 widget on my home screen

the option for WIDGET MIDDLE VALUE = Since (un)plugged

last time this would show how long i've charged, and how long i've left it uncharged

eg :

2 hours 35 minutes (red)

32 minutes (green)

means I unplugged for 2 hours 35 mintues, then charged it up for 32 minutes

now there seems to be a bug (after the recent update)

it shows ;

2 hours 35 minutes (red)

2 hours 36 minutes(green)

2 hours 37 minutes (red)

2 hours 38 minutes(green)

considering that if i unplug it every minute and plug it in every minute... but you get the picture... it doesnt reset the timer :)

maybe you can look into it ?
[Android Apps and Games] eden1988:
To 3c, is there a feature whereby we can choose to monitor when the battery % drop? Like it only measures when the battery drop by 1% (e.g. 98% ->97%), it then captures the time where the battery % drops? I think it's very useful for us to monitor how much our battery drop over a period of time (real time) and it reduces the number of wakelocks shown on BBS too.

Really hope you can implement this feature (I have the paid version :D)

P.S Battery indicator pro has this feature, but I don't want to be running so many battery monitor app lest it drains my battery faster
[Android Apps and Games] 3c:
To get rid of all wakelocks, simply change 'mA retrieval method' to 'Estimated', it also reduces CPU usage from 8-10 seconds down to 2 seconds per day!
[Android Apps and Games] eden1988:
Thanks for the tips, but will you implement this feature in future? It's actually pretty useful to know how much our battery % last for a period of time (e.g. 98% to 97% takes about 50min 53secs in standby).

Something like 22:00:07 -> 98% then 22:51:00 -> 97% then 23:42:35 -> 96% and so on..

P.S IMO your app is already very good but it's just missing this feature :) and also I appreciate what you have done for this app!!
[Android Apps and Games] 3c:
I know what you mean. For now it's not as precise as it could be, but it still provides this information +/- logging rate, eg 10 minutes by default.

I could force logging when % actually changes, without waiting the next scheduled log. Though it will require the graphics to adapt to this.
[Android Apps and Games] jcsy:
3c how about my problem with the widget displaying inaccurate unplugged values?

-----------------------------------------------------

Sent from my HTC EVO 3D

Currently testing Mwakious 15.1 with ButteredToast RLS13.5

-----------------------------------------------------
[Android Apps and Games] 3c:
So far I sent you an APK that "reverted" the old "since (un)plugged" and renamed it to "since last measure".

If an "issue" perists, I will still need those 3 screenshots: widget + stats + estimates taken when widget shows inaccurate data. Don't forget to tell me after what event screenshots were taken.

You mentioned the issue was only affecting an old device running Android 2.2, right?
[Android Apps and Games] jcsy:
I'm on ICS

You sent me an APK?

I didn't get any XDA pm or gmail

Anyways the issue is an issue because the since unplugged doesn't reset back to zero

So what happens now is that it shoes 10hours in red

When I plug in to charge, it shows 10 hours in green

And then, it used to say 1 minute , in green

-----------------------------------------------------

Sent from my HTC EVO 3D

Currently testing Mwakious 15.1 with ButteredToast RLS13.5

-----------------------------------------------------
[Android Apps and Games] 3c:
Sorry, I'm in touch with a user with a similar problem.

Please send a support request from the app monitoring settings, adding a note about your issue. I'll send you the APK.

Otherwise, the update should be published in a few days.
[Android Apps and Games] jcsy:
Got the update, and will be testing

So far so good!

Looks like how its supposed to be precisely and previously

-----------------------------------------------------

Sent from my HTC EVO 3D

Currently testing Mwakious 15.1 with ButteredToast RLS13.5

-----------------------------------------------------
[Android Apps and Games] ArDark:
Hello. I have a question about working this program.

Is it normal that on HTC One X historical graphics show that mA rised up after using phone awhile? without any usb or charger plugged in.

This is problem of my phone or program? or may be someone at HTC OneX have same problem?

Here is screenshot (last spike with usb connected, but all previous not):
[Android Apps and Games] jcsy:
smells like a bad HTC battery driver to me

report the problem to 3c (from your phone) and it should gather the logs neccesary :)

haha
[Android Apps and Games] eden1988:
I'm still patiently waiting for 3c to implement battery logging when battery % drop :)

3c I know you can do it man!! Pleaseeeeeeeee
[Android Apps and Games] ArDark:
what should i select in BMW to report my issue? :) didnt see any selection for it.

i purchased BMW Pro...

PS: but right now i trying again to calibrate controller via "Reset to Factory Settings" through bootloader.
[Android Apps and Games] 3c:
Screenshot shows voltage. So doesn't help see where is the issue. Tap on the graph until it shows current, then maybe we can talk about an issue.
[Android Apps and Games] ArDark:
sorry cant find graphic that show "Current"

i have "Usage (mA), temp, voltage (mV), usage (mW), %h, available %)" at any other graphics all looks good.
[Android Apps and Games] 3c:
I meant 'usage (ma)', that's the current (mA).
[Android Apps and Games] 3c:
Actually, I'm testing a similar method in Android Tuner, where every battery change is recorded immediately, including % changes. So far, it doesn't seem to affect the results that much, either ways. The only drawback is the lack of gap detection. This method makes it impossible to detect gaps accurately.

The expected improvement would be a more precise %/h. Though I never noticed much difference between methods.

Would you like trying AT and BMW methods side by side?

In BMW monitoring settings, at the bottom you have 'support request'. Press that, it opens an email where you should had a quick description so I can spot the report.
[Android Apps and Games] hitask:
Nice

Looks good and seems correct for my device :good:
[Android Apps and Games] eden1988:
Battery Indicator - https://play.google.com/store/apps/...XJzaGFuY29tcHV0aW5nLkJhdHRlcnlJbmRpY2F0b3IiXQ..

This app does battery logging when % drops and rise perfectly, maybe you wanna take a look? I respect your work 3c, probably this app can help you to figure out the best logging for your app?

Btw what do you mean by lack of gap detection? I assume it's something to do with fast dropping of % within a given time span?? Enlighten me if I'm wrong... ok so what do I have to do with AT and BMW running side by side?? Any configurations??

Note: BMW is the best battery monitor app I've ever used, I've tried others but all seems to fall short in terms of features, but BMW is just missing this feature and it will be perfect :D
[Android Apps and Games] 3c:
Gap detection is about knowing when data was not recorded and showing an appropriate gap in the graph and history. With % change logging, data can get logged as quickly as a few seconds up-to a few hours (in standby for exampe). With a constant logging rate, it's easy to figure out when data was not logged.

It will be 'easy' to add that feature in BMW, though the app graphs and history is designed and optimized with that logging rate in mind. Logging as soon as a % change will add data to the log and the app will only use data logged at regular intervals, dropping extra data.

If you run app side-by-side, you need to activate permanent battery logging in AT: Battery / Monitoring settings. Then you should be able to compare results from both apps, mainly the %/h will differ. mA may also get more precise in AT if estimated. If measured, won't make a difference.

For a more precise mA readings, you can activate extra recording of mA, still in battery / monitoring settings.
[Android Apps and Games] ArDark:
Here is those graph what you asking. Also send email via program.

Отправлено с моего Nexus 7 через Tapatalk
[Android Apps and Games] 3c:
As far as I can tell, the mA is ok. It might "seem" it drops further before turning off the phone, but zooming in will show that's not really the case.

I'm suspecting that the 10 minute logging rate is shifting any drain at the end of the 10 minutes. eg let's consider phone is off and drain 10mA. Then it's turned on, mA definitely raises and is being recorded every minute as usual, but logging takes place in 9 minutes. The increased drain will not show until those 9 minutes have passed.
[Android Apps and Games] ArDark:
Thanks for answers.

Отправлено с моего Nexus 7 через Tapatalk
[Android Apps and Games] jonb42:
Import battery logs

For some reason I can't work out how to get battery history into System Tuner Plus. I bought both apps fro this sole purpose. Reading earlier in this forum I see that this is supposed to happen automagically "when battery history is saved". But, when is this? I can't see a way to make this happen though I have turned every logging option on that I can find!

Does system tuner have to also be logging / recording to be able to see the battery logs?

And finally can I export the graphs once I get them to .csv or something like that?

thanks,

Jon
[Android Apps and Games] black_bottom:
Discharge

hi,

for me it seems I get from the app a sum of how much mAh were charged into my battery. thats fine. but whats of high interest is how much I have discharged. I am searching in the app where I can find the sum of how much mAh I have discharged it.

to come to a conclusion about the quality of a battery the sum of discharge in live conditions is the crux. that sum I am searching in the app. what should I do?

thanks + regards rainer
[Android Apps and Games] wetxxx:
Hi,

I have some question to user who use BMW and BetterBattery Stats aplication.

When I try identify log file, I seen In Allarms a very much Wakeups ccc.71.bmw process - some time its 2300 wakeups.

Its normal?

second think its Calibration in anker battery (1900 mAh in Sensation XL). Some times a counter of mAh doesnt show the value. still are: 425 etc mAh :)
[Android Apps and Games] tony yayo:
Used some of the tweaks in system tuner bro. Now history in BMW is missing records. I like that it's going to sleep nicely but if I'm losing a function like that, what else am I losing?