yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] 3c:
Any "since unplugged" data are provided by Android battery stats. It's likely the ROM you are using (be it custom or not) is resetting those on reboot.

I'm planning for release 3.0 in the future which will integrate many more choices include "since last measure" which is computed by the app instead.

However it's very likely 3.0 will break compatibility, dropping both history and settings ;(

EDIT: If you actually open the app stats tab (from estimates button), it will show since unplugged stats. Which I suppose will be cleared upon reboot :(
[Android Apps and Games] electricpete1:
Battery poll rate - once per 10 seconds?

I have BMW with the"History Update Rate" set for 3 minutes.

Does it poll the battery status every 10 seconds and record an average every 3 minutes?

The reason I ask: when using Tasker, using the "battery changed" context, it fires every 10 seconds. This is abnormal compared to other users. I notice that coincidentally 10 seconds is the minimum logging interval in BMW. I'm wondering if BMW polls the battery every 10 seconds and then only stores it (according to my settings) every 3 minutes. And perhaps every time BWM polls the battery, Tasker sees it as a "battery changed" event.

UPDATE

It does not seem to be BMW causing above problem:

I froze BMW, and the Tasker problem continued.

If anyone is curious, more details about what I'm seeing with Tasker, including excerpt from logcat here:

https://groups.google.com/forum/?fromgroups=#!topic/tasker/93gB1JMZOys
[Android Apps and Games] electricpete1:
deleted
[Android Apps and Games] 3c:
BMW does log data on user-defined interval, no more, no less. However battery data events can be sent by Android more often. That said, it doesn't fire every 10 seconds constantly, only when battery data changes, which in average is every 2 minutes.

Then for mA data is different, because Android OS does not provides it in the first place! So app polls values from Kernel (if available) every minute (that's the standard refresh rate for that data) and calculates an average when logging, be it every 10 minutes or 3 minutes. That offers very precise results. This gets disabled on devices without current (mA) sensors though.
[Android Apps and Games] tko_gx:
3c is there a list of devices with known current sensor? I have a HTC Sensation which has one, but I would like to know what devices have this. Is this sensor on the phone or on the battery?Also, do have any idea what pd_M is in the batt_attr_text file?

thanks
[Android Apps and Games] 3c:
Kind'of. I try to maintain a list of supported devices here.

It's a long time I've not updated it though. The HTC Sensation is listed there.

The pd_M is used as a ratio (on this device) during standby. It has proven useful to calculate a better mA value on a number of Sensation, but sometimes it does not help. Not sure if this value gets accurate over time or it was just luck.
[Android Apps and Games] FlexiPack:
Hi,

I've just installed BWM on my Desire S. I'm using the original HTC battery. I haven't run any charge/discharge cycles yets. On the main page it is reporting my battery to be 1600mah but on the battery itself it says it is 1450mah. Should I change the 1600 value to 1450 in settings > calibration > battery capacity ?

Thanks.
[Android Apps and Games] AndroidSteff:
Hi! Thanks for fixing this! Seems to work now.

Battery graph is now almost filled with data, except the leftmost area where also the system values are written. Is this intended to not produce any overlapping graph/text?

EDIT:

BTW: how exactly does the saving and deletion of the data work? In the settings there is the option for the maximum history timeframe. It says older data will be deleted. Will this be really deleted out of the logfile, or wil it only not be shown in the history display? Actually I would like to keep the whole logfile without deletions...
[Android Apps and Games] 3c:
Not intended, just didn't see while testing. It actually load # records matching its width in pixels, so it should be plenty enough, but I suppose due to scaling, it's not enough depending on screen density, will see to that.

The app only loads the specified time-frame, from 1 to 28 days, the rest of the log file is simply ignored as of now. The rest is actually the beginning of the file.

No deletion takes place anymore, didn't update the UI on that, this will allow browsing through history using a 7 days window that can be shifted...
[Android Apps and Games] neotekz:
im using battery monitor widget with the atrix and it only gives increments of 10%. would it be possible to get it to show 1%?
[Android Apps and Games] 3c:
Don't know this phone, but if it has similar issue to the Defy, then yes.

Actually did you try to activate the Defy support option?

If it doesn't work, you will have to browse folder /sys/class/power_supply/battery for the list of files and their content?

If one of those files contains a 1% increment data then it will be possible...
[Android Apps and Games] neotekz:
Defy option did the trick, thanks!
[Android Apps and Games] smallba:
Great app on my Evo with SBC Kernal, wish it supported Elocity A7
[Android Apps and Games] zeppelinrox:
That's probably Motorola's fault.

Same thing on my milestone

Or do other apps show 1% on the atrix?
[Android Apps and Games] 3c:
Every manufacturer have their own battery driver, and to save CPU time, some of them do weird things, such as 10% update or even no update when screen off!

Anyway, did you try the Defy 1% trick? In Settings/Monitoring there is an option to enable Defy 1% reporting!

If it works, I should rename this option Motorola 1% Support :)
[Android Apps and Games] zeppelinrox:
Nope it doesn't work for me.

If I enable Defy 1%, I get 0% showing - even after a reboot.

bummer

10% is as good as it gets for me.

But I didn't really expect it to work... lol
[Android Apps and Games] 3c:
Well, there might be a chance to add suport if the % data is available in any of the files under /sys/class/power_supply

On Defy, there is a file "charge_counter" that contains accurate %, maybe on your phone the file name is different?
[Android Apps and Games] zeppelinrox:
hey I see one here

/sys/class/power_supply/battery/charge_counter

When I open it, it show a "0" and thats it.

But I think that's how files that are constantly being changed show up.

I noticed a battery monitor that claims support for 1% on motorola... maybe it's doing math?

ie. if its at 3960mV it can be just be calculated assuming 4200mV=full and 3200mV=empty which is a difference of 1000mV

(3960-3200)/10=76%

I divided by 10 because it's the same as dividing by 1000% ie. /10=/1000%
[Android Apps and Games] Memodevran:
I use this widget since 3 months and its great!
[Android Apps and Games] 3c:
Actually those are virtual files, when you open them a process is providing the data directly. It seems Motorola removed the data completely this time, too bad...

That could work as long as mV data is precise enough, unfortunately I noticed that whereas % is moving smoothly, mV has some ups and downs all the time depending on activity... So it will require smoothing the data over multiple values

Also, I noticed when battery is aging 4200mV is never reached... making it even harder to predict appropriately the actual %...

The only way would then be to adjust the % in between 10% based on mV... starts to be complicated.
[Android Apps and Games] zeppelinrox:
Hmm... well maybe the full value can be determined after installing the app?

Maybe just have the user input what mV to use as 100%

I think it would work much better using an average of say the last 5 readings than just reading what the system is indicating.

Today my phone was at 3900 mV and showing 40%.

Maybe I need to calibrate the battery again lol
[Android Apps and Games] bombaw8:
on my LG Optimus V it shows a constant 0mA for current. the current_now file under /sys/class/power_supply/battery is also showing a 0, is that where the value is coming from? any chance to get BMW working with optimus V?
[Android Apps and Games] 3c:
Hello bombaw8,

Yes that's where the mA value is taken from on most phones...

If you can find the mA value in another file (in the same folder) then there is hope, otherwise no much chance... Only hope is to get the estimates working...

Are you using a custom ROM, what's your phone model name? can be found in About phone / Hardware / Model number. With that info I might be able to force mA estimates to show.

Those are working great on a Samsung Galaxy S... Even noticed the 50mA WIFI consumption issue since I applied 2.2.1 update from Samsung!
[Android Apps and Games] bombaw8:
LG Optimus V current

I looked around and couldn't find any file that contained anything like mA information. so we are probably SOL. :(

I am using stock rom running 2.2.1. the phone is called LG Optimus V model number is VM670. the exact same phone is also sold as LG Optimus V/T/S/U for different carriers (Virgin, T-Mo, Sprint, USCell...) with slightly different model numbers. for sprint for example i think it's called LS670 or LGLS670.... it is a fairly popular mid-range phone. it'd be great if we can get some ballpark mA numbers. Thank you!
[Android Apps and Games] peterbonge:
I really wonder why it is still so easy to "loose" all the data. I guess your real to-do list is much longer than the one in the first post, but this one should really have a higher priority. Adding a prompt shouldn't take more than one minute!

After not using the app for a while I've started to test it again today. After some hours I have to say (and I'm sorry for that) that I don't remember any other app where the ads are implemented so bad like here:

- Placing ads directly above or below buttons is not very nice!

- Not using placeholders for the ads is even worse and looks really bad! If the ad isn't loaded and you want to click on the button you have to wait for the ad. Otherwise the chance that you hit the ad instead of the button is really high.

(Same with your other app/widget!)

So why don't you place the ads at the top of the screen and use a placeholder?
[Android Apps and Games] 3c:
You're right, it doesn't take more than a few minutes... It is still "so easy" because I still have a life and 2 kids to take care of!

I've already prepared an update where the 'clear data' is moved in the preferences and has a confirmation window.

Well, you're absolutely right again! if I manage to put a placeholder, whether at the bottom or top won't matter.

But so far I used the AdMob SDK as-is, and that's how it appears by default. No usable size information...

Not my priority though, recording phone states is, but only after my kids :)
[Android Apps and Games] egzthunder1:
Great app. This is exactly what I was looking for.

One suggestion that I have would be to add a function to calculate the battery's real capacity, if possible.

BTW, check the Portal ;)
[Android Apps and Games] 3c:
Yes, it's best to start with mAh capacity from manufacturer specs. I'm surprised it says 1600 though. Was it 1500 actually?
[Android Apps and Games] FlexiPack:
Thanks for the info. No it definitely said 1600, and the battery is actually 1450.
[Android Apps and Games] DualJoe:
Please use a proper database storage backend that stores all relevant data into one file. I set battery history to external sdcard manually exactly for one reason (to make data backup prove) but it got even worse by that. Now, after a restore (full /data, 1 week back in time) the external history stats is still there (and up-to-date like expected) but the stored batteries are gone. As i saved/created a new battery immediately all history data vanished. I can't remember this happened the last time. Is this intended?
[Android Apps and Games] 3c:
I've never seen battery history vanish except after wiping the SD card, deleting the history file or clearing it manually from the app. DB storage for this type of logging is far less efficient. It was tested a long time ago and increased the load on the battery/CPU without any advantages. Adding a battery doesn't clear battery history either.

By default battery history is stored on SD card, but you can move it to internal storage so that it's saved with all battery data/settings. Thus restored when restoring the app, independently of SD card content.

Creating a new battery will start a new stats in the calibration screen as it should while changing battery, but history is still visible in all app screens.
[Android Apps and Games] jasvncnt1:
First off thank you for this app. I just bought this app a few days ago and just trying to figure everything out. Picked up a zero lemon battery so using this app to try and get it all set up. Can someone tell me the difference Herder battery full and charging complete in status and alarms?
[Android Apps and Games] 3c:
Battery full = Battery reached 100% while plugged

Charging complete = battery full and stopped charging (<=0mA)
[Android Apps and Games] jasvncnt1:
Thanks. So now for my second dumb question...I'm assuming I should unplug when "charging complete"? I ask because zero lemon says to keep it plugged in for an addition half hour to hour after it says 100%
[Android Apps and Games] 3c:
Indeed to achieve a full charged (based on zero lemon message) it's exactly about completing the charge process.
[Android Apps and Games] jasvncnt1:
Perfect. Thanks for your help 3c, I really appreciate it!!
[Android Apps and Games] Henu:
Hello, and thanks for the awesome app. I´ve been using it for some time now and would definitely get myself the "Pro" version as soon as one thing gets clarified for me- I´d appreciate if anyone could shed some light into my question.

I have a rooted Samsung Galayxy S Plus (S- I9001), running the latest CM10.1. This problem I´m about to describe has happened with all roms and kernels in this phone, so it´s not relevant what I´m running, but it´s either about the phone hardware in general or the app- and I´d like to know which is the "faulty" one.

My problem is that the app works right as it should, except when charging AND consuming power simultaneously. In my earlier phone, HTC Desire (rooted, running various CM´s) it could track the correct drain if I used e.g. streaming music from internet or used GPS. Same goes for two Galaxy Tabs, running stock ICS and CM9. My % per hour could calculate the correct amount, by basically checking what´s coming in, subtracting the consumption and then giving the actual amount of getting power in.

With my phone however, the consumption isn´t taken into account at all, so if I e.g. use navigation (roughly -30%/hour) and charge at the same time, it shows about +25%/h even though it should show that -5%/h. A bit hard to explain, but I hope you get my dilemma. So I was wondering if the phone is somehow incapable of giving that math to BMW (maybe some "priority" in calculations or something) or is there a bug in the latest versions with BMW? I´ve twiddled with the settings quite much, so even though there is a possibility that I´ve missed something it´s not the first thing to pop into my mind. :)

Thanks in advance,

Henu
[Android Apps and Games] 3c:
Please make sure to update app to its latest version, however the issue seems to be that your kernel reports a current (mA) from the charger not the actual battery drain/charge. The Galaxy S has no current sensor, so simply switch to 'estimated mA' in 'mA retrieval method' (monitoring settings) and everything will be fine.

Note also, that %/h does not actually get affected by this as it's calculated from % at all times. Only the mA is read from kernel.

If issue persists, please send a support request from app monitoring settings, then it provides actual data on device and I can provide better support.
[Android Apps and Games] Henu:
Thanks for the help! I´ve been away for a week, so I tested this on my trip and got it working!

And when I came back home, I bought the real version- your fast support for even a non- paying customer was the "last straw" for me to show my support on your work. :) So, thanks again and keep up the good work!
[Android Apps and Games] valtronic:
I am using a zero lemon 7500 mha battery on a galaxy s4 and just installed Battery Monitor Widget Pro.

It reports the battery as 2600 mha... Shouldn't it reconize the capacity automatically?

I've manually changed it to 7500 mha now. Just wanted to check.
[Android Apps and Games] 3c:
Android kernel sometimes provides a stock capacity (eg 2600mAh on the S4), but that's about it. App includes a small list of devices for which kernels do not provide any data regarding capacity. Using an extended battery, thus requires entering manually the expected capacity, for any devices.
[Android Apps and Games] Conan179:
I find it unfortunate that there is for the LTE Note 2 (GT-N7105) estimated only support, but for the LTE Note 10.1 (GT-N8020) correct.

Ich finde es schade, dass es für das Note 2 LTE (GT-N7105) nur geschätzen support gibt, aber für das Note 10.1 LTE (GT-N8020) korrekten.
[Android Apps and Games] cheeleongzz:
Meaning of the indicator in history?

Hi 3C,

[Edit: I realized that the yellow text was indicating screen on. what about the percentage in the column?]

just bought your app. This app is awesome and exactly what i needed.

But when I look at the history i find that i can't understand what is the meaning of the text displaying on the right of the screen, in the drains and charges category. (text in Yellow and a tiny yellow logo besides). This won't stop me from using this app but I just feel kinda annoying for not understanding it :p

Can't find information on your help page, therefore I will post my question here.

i have attached my screenshot.
[Android Apps and Games] 3c:
For either charge or discharge lines, the first 3 values represents the minimum, average and maximum mA during that period, then in yellow you have the screen on time vs total time and the corresponding %.

Indeed it's missing from online help, I'll add that asap, thanks.
[Android Apps and Games] jasvncnt1:
I'm a little confused. I know if I unplug my phone too soon the battery seems to drop quicker. I'm looking at this history and it seems like its at 100% for a few hours. When would be a good time to unplug? An hour after it hits 100? Or right when it hits 100%?
[Android Apps and Games] Dlog:
Why do you want to unplug the phone?

Once, BMW shows that you are getting 0mAh, then the phone is fully charged.

But why unplug it once it's charged? It's not like you can damage your battery by leaving your phone plugged in. Quite the opposite: The phone will continue to use the charger instead of draining the battery thus extending the batteries life.
[Android Apps and Games] jasvncnt1:
Thanks but I unplug the phone because Im leaving for work. So I have to unplug it
[Android Apps and Games] Dlog:
Then that's your best option. Just leave it plugged in as long as you can. :)
[Android Apps and Games] ballmead:
The mAh reading seems to be way too high when my Nexus 5 has been left alone and sleeping.

Any tips on setting the app up for a Nexus 5?
[Android Apps and Games] 3c:
Yes; simply use estimated mA (not mAh by the way) as the Nexus 5 current sensor is flawed.
[Android Apps and Games] 3c:
Usually it's best to wait until mA reaches 0, which can be up-to 2 hours after it hits 100%. However that depends on devices, most recent HTC devices and all Samsung devices, just stop charging as soon as it reaches 100% so it's good to unplug them immediately.
[Android Apps and Games] reneftw:
Hello.

I looked some pages back but didn't find an answer: can anyone please advise me on how to check my battery's health? I have an One X and I think I need to replace the battery, but how can I be sure? What do I need to follow? Thank you very much.
[Android Apps and Games] 3c:
You can use the calibration screen to check actual charge capacity. I usually create a battery profile to get the capacity given a starting point. Then it's easy to compare with new results and how capacity reduces over time. Even though the One X has an integrated/non removal battery, using 2 battery profiles (or more) can be quite useful.

Another factor is the discharge average time, tap estimate button, then use times tab. You could take a screenshot and compare the results over time. However it may vary depending on apps installed, configured synchronization, etc... So the best reference remains the calibration screen.

Also, you can check battery history after running full charge cycles, to see if you get some % jumps to 100% or down to 0% unexpectedly. For example a jump from 90% to 100% may suggests a 10% loss. Same goes for a near instant drop from 10% to 0%. Some may even experience larger jumps/drops.

Last, just check the battery purchase date (your device's purchase for the One X), battery may loose between 5% to 20% capacity a year.
[Android Apps and Games] c19932:
Hi 3c. I have a Moto X and the system reported battery percentage is always stuck at 1 percentage for a long time. I can literally use the phone for more than a day to drain that last one percentage. Would your app be able to report the correct percentage based on statistics? If so please let me know the instruction. Thank you.
[Android Apps and Games] asm-xda:
Battery Logging: BMW vs AT

I've been using Battery Monitor Widget since a long time now, and I'm pretty satisfied with how it works. More recently, I've purchased Android Tuner Pro (quite a terrific app by the way!!) but I've not been able to set it up to work as BMW in regard to how battery logging works.

Do both app work the same in regards to battery stats logging? Or are they using different methods to collect or log information?

Below are 2 screenshots, the one that reads "Battery History" is from BMW and the other one from AT Pro.

Thank you!
[Android Apps and Games] 3c:
They retrieve data the same way, be it %, mA, mV, %/h or temperature. However they log things differently:

- Battery Monitor Widget, logs every x minutes as per selecting settings, regardless of data.

- Android Tuner, logs data when change occurs (one of the mentioned data changes), at the time of change.

So, Android Tuner provides a little more accurate results for less actual drain. It's primarily %/h which is more accurate being derived from % changes.
[Android Apps and Games] sanju.cvrce:
Hi,

This app is a nice app. But the data showing in my cell is 80% wrong.

My I know what the logic you have given here so that I may help you in enhancement.
[Android Apps and Games] 3c:
Logic is quite simple: app reads data either from Android system or kernel. %, mV, temperature are all provided by Android. mA/mAh is provided by kernel.

Please send a support request detailing what is wrong for more in-depth analysis.
[Android Apps and Games] sanju.cvrce:
Sometimes the battery showing that it will go 17 hours, but after 10 min, it is showing that battery remains 1 hour.
[Android Apps and Games] 3c:
Please post a screenshot to clarify which data is actually showing such information. Feel free to also attach screenshots showing that 80% of the data is bad.
[Android Apps and Games] real_sl4cker:
BMW KitKat Circle icons

Hi everybody,

As 3c seems to be very busy and not responding to my PM I kindly ask if someone else could help me create an icon pack from the KitKat battery icons I created for BMW, see below.

Simply replacing the icon files in an existing icon pack didn't work (APK can't be installed).
[Android Apps and Games] 3c:
You need to create icons in bigger size, 64x64, otherwise they are very ugly on most devices. Your modified APK won't install as it keeps the original package name and only changes its signature. Uninstall the original APK and you will be able to install the modified one.

EDIT: Sorry I don't have time to respond to individual PMs and very busy trying to cope with System Tuner Pro users spamming all my other apps with hatred and fake reviews.