[APP 2.1+] Battery Monitor Widget 3.0

Status
Not open for further replies.
Search This thread

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
Dear users,

Considering all 3C apps are now based on the same source code, they all behave the same way, and will exhibit the same issues. Any queries will also likely applies to all apps.

To make my life easier while continuing to provide support here (and start with a clean slate), I decided to close all my app threads and open a fresh new thread here.

With your continuous help and support, the past 4 years have been a great adventure and experience. Let's take a fresh start and continue this amazing adventure.

Thank you all!






The most complete tool to manage your battery: Shows historical data (%, mA, mW, mV and temperature), calculates estimated run-times and battery aging, helps calibrate battery, and improves your battery run-time.

NB:
◊ Please check app status tab for monitoring status and mA/mAh data source
◊ The app displays the % remaining, voltage and temperature data reported by Android OS
◊ Android 4.4 (KitKat): Battery statistics require a rooted device
◊ Requires INTERNET permission to download external notification icons

► Pro version has all features unlocked and no ads
◊ Wide (2x1) and graphic (2x1, 3x1, 4x1) widgets
◊ Export data to System Tuner Pro
◊ Update battery capacity based on measured data
◊ Keep information of unlimited number of batteries (2 in free)
◊ Add history markers manually or automatically on boot, ROM/kernel/battery changes
► Pro version has all features unlocked and no ads

► Display all information using great looking graphics, fully scrollable and zoomable.

► Use additional packages to show great looking icons in notification bar

► Display historical graphics or battery data on your home screen using widgets of various sizes!

► Triggers alarm based on any battery data

► Manually resets battery statistics on rooted phone

► Calculate remaining time while unplugged or charging (AC/USB/Wireless)

► Calculate actual battery capacity (mAh)

► Support multiple batteries

► Support Motorola Defy/Atrix 1% reporting

► Online help accessible from app

► Export data to System Tuner Pro to analyze which process is responsible for battery drain!


◊ Lowest battery consumption on the market: https://plus.google.com/b/106924681...768&sqsi=65194c1a-d82a-4ba6-b2a6-4207a7dcba36


Issues with current mA or capacity mAh?

Please mention this in a support request from app settings, help and support so we can provide the appropriate option to use in 'mA retrieval method' of battery / monitoring settings and add out-of-the-box support for your device. All necessary information is provided in the request's attachments.
 

Attachments

  • Screenshot_2014-03-08-16-59-29.jpg
    Screenshot_2014-03-08-16-59-29.jpg
    148.3 KB · Views: 3,325
  • Screenshot_2014-03-22-11-58-43.png
    Screenshot_2014-03-22-11-58-43.png
    134.4 KB · Views: 2,988
  • Screenshot_2014-03-22-12-35-43.jpg
    Screenshot_2014-03-22-12-35-43.jpg
    193.9 KB · Views: 2,807
  • Screenshot_2014-03-08-08-42-22.jpg
    Screenshot_2014-03-08-08-42-22.jpg
    188.7 KB · Views: 2,579
  • Screenshot_2014-03-08-08-41-05.jpg
    Screenshot_2014-03-08-08-41-05.jpg
    144.7 KB · Views: 2,359
  • Screenshot_2014-03-22-11-59-05.jpg
    Screenshot_2014-03-22-11-59-05.jpg
    135.3 KB · Views: 2,281
  • Screenshot_2014-03-22-12-20-00.png
    Screenshot_2014-03-22-12-20-00.png
    133.7 KB · Views: 2,042
  • Screenshot_2014-03-22-12-08-11.jpg
    Screenshot_2014-03-22-12-08-11.jpg
    259.9 KB · Views: 1,945
Last edited by a moderator:

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
Battery Consumption

Here is some screenshots to show how much CPU (battery) the app is consuming!

cpu_freq: shows CPU frequency over time, mostly 245MHz, and as everything will be slower this obviously increase CPU times

It also shows BMW used 10.94 seconds on a 6 hours time-frame, eg 0.05% overall consumption... @245Mhz!

charging: compares charging (actually full battery) and non-charging time, obviously BMW consumes more when phone is fully charged and plugged, something to improve :)

Confirms the 0.05% overall consumption (1.22% * 4.15%)

sleep_mode: phone sleeping, screen off... 0.018% consumption! though the 2 peaks are strange, not sure I switched on the phone or not... Recording phone state will be very usefull :)
 

Attachments

  • cpu_freq.jpg
    cpu_freq.jpg
    43.6 KB · Views: 8,305
  • sleep_mode.jpg
    sleep_mode.jpg
    47.5 KB · Views: 7,411
  • charging.jpg
    charging.jpg
    49.6 KB · Views: 7,382
  • CAP201103122216.jpg
    CAP201103122216.jpg
    33.2 KB · Views: 6,736
Last edited:

worwig

Senior Member
Jan 19, 2008
334
18
It does not read the current on a Samsung Fascinate.
Is it only for Motorola?
 

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
It does not read the current on a Samsung Fascinate.
Is it only for Motorola?

As far as I know it works for all HTC and Motorola, but it seems most Samsung phones don't get current data at all when based on stock ROM.

My wife has a Samsung S and it gets only estimated values, you're getting the same?

If you get a steady 0mA, there might be hopes, as it means the app found a file that should contain the data but it's either empty or not populated with expected data.

If so let me know and if you have some time to investigate we might find a solution.
 

worwig

Senior Member
Jan 19, 2008
334
18
As far as I know it works for all HTC and Motorola, but it seems most Samsung phones don't get current data at all when based on stock ROM.

My wife has a Samsung S and it gets only estimated values, you're getting the same?

If you get a steady 0mA, there might be hopes, as it means the app found a file that should contain the data but it's either empty or not populated with expected data.

If so let me know and if you have some time to investigate we might find a solution.

It is always 0. But I found out later in the day it does go to about 162ma when plugged in. Then back to 0 when un plugged.

Let me know how I can help.
 

grooltor

Senior Member
Mar 18, 2010
326
112
46
Bologna
Redmi K20 Pro
Xiaomi Poco F3
Hi dude.
Yesterday I bought BMW Pro from the Market. I really liked the free version, so I decided you deserved some bucks
wink.gif

However, I have a problem with graph widgets: they "die" after a while!
Let me explain this better: I use 2 graph widgets (one for available% and one for mA), but they stop updating after some time. In addition, when I click on them (therefore going to the main app), I don't have "Widget Preferences" under settings anymore for that specific widget!
I use even a third widget, the "standard" one, but this fortunately keeps on updating and giving me access to "Widget Preferences" in settings.
My device is HTC Desire, running a Desire Z (G2) ROM port, therefore using latest 2.2.1 Sense UI (1.72 WWE base, just for info). I really don't think it's ROM or device related, however.
Maybe you could look into this to find where's the problem?
Thanks in advance.
 

dsMA

Senior Member
Jun 4, 2010
427
6
Sacramento
This looks and sounds like a really cool battery widget. The only thing missing seems to be an estimation of how much time is remaining on the battery. Izkata (from this forum) creator of Battery Diviner has developed some algorithms used in monitoring and thus estimating how much time is left on your battery. Here is a link to his thread:
http://xdaforums.com/showthread.php?p=9490211#post9490211

It would be awesome if the two of you could get together and produce a combined app that utilized your graphics and low cpu overhead with his algorithms.
 

toogoody

Member
May 25, 2006
19
1
On Motorola Defy I only get estimated mA. Does this mean this phone is not supported ?
 
Last edited:

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
On Motorola Defy I only get estimated mA. Does this mean this phone is not supported ?

Getting only estimates means no known system files have been found by the app... So your phone is not supported (hopefully yet) Please read post #2 for a way to help get your phone supported if possible

It is always 0. But I found out later in the day it does go to about 162ma when plugged in. Then back to 0 when un plugged.
Let me know how I can help.

Do you get anything but 162mA during charge (on AC and USB) ?

When 0 is reported that usually means the app found a known file to report the mA, but there might be other kown file present in your phone that would contain the actual data... Every manufacturer seem to use different battery driver reporting data in different files!

Please use post #2 to start investigating and looking at those systems files content.

Hi dude.
Yesterday I bought BMW Pro from the Market. I really liked the free version, so I decided you deserved some bucks
wink.gif

However, I have a problem with graph widgets: they "die" after a while!

This will be solved in an upcoming update later this evening, as the code as changed quite a lot to improve memory/cpu usage, it actually broke the update flow of the graphic widgets.

Thanks for your support!

This looks and sounds like a really cool battery widget. The only thing missing seems to be an estimation of how much time is remaining on the battery. Izkata (from this forum) creator of Battery Diviner has developed some algorithms used in monitoring and thus estimating how much time is left on your battery. Here is a link to his thread:
http://xdaforums.com/showthread.php?p=9490211#post9490211

It would be awesome if the two of you could get together and produce a combined app that utilized your graphics and low cpu overhead with his algorithms.

Will indeed be a great idea...

Though I'd like to improve some areas first but those are quite toughs:
- better mA estimates for phone without data
- investigating phones without mA data
- further lowering cpu overhead :)
 
Last edited:
  • Like
Reactions: ckck543

dsMA

Senior Member
Jun 4, 2010
427
6
Sacramento
I am happy to hear that you thought my idea of a combined app was a good one.

Just after I posted my previous comment in your thread I went over to his and made a very similar posting. His response to me was that he would prefer to keep the apps separate so that each of you can concentrate on what you know how to do best, but came up with this very interesting alternative idea that I am very support of:

Originally Posted by Izkata

EDIT: There might be a way for ccounotte's app and mine to "talk" to each other, probably through intents, so we can each do what we do best, without creating a collaborated app. For example, the Battery Monitor Widget can request current prediction information, which the Battery Diviner would calculate and return, then ccounotte can display it to the user.​


Again let me say that this idea sounds really awesome. idk if you have pmed him but I would highly encourage you to do so so.
 
  • Like
Reactions: docland

Try4Ce

Senior Member
Jul 29, 2010
1,841
460
NRW
Sorry, didnt download yet. But is it possible to hide the background graphics? It looks awesome, but wouldnt fit into my homescreen style... Yeah, im a little picky about that ;-)
 

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
Sorry, didnt download yet. But is it possible to hide the background graphics? It looks awesome, but wouldnt fit into my homescreen style... Yeah, im a little picky about that ;-)

I'm working on it, a 'no background option' leaving everything else (icon+values+indicator) in place... to fit the custom ROM style from MDJ :)

Should be available soon!
 

joeuser

Senior Member
Apr 9, 2007
60
11
samsung galaxy gt i9000

samsung galaxy with darkys rom 9.0 only shows estimation of current. and the values are pretty useless since the reported voltage seems to fluctuate a lot (ie goes up depending on device usage even when no charger is connected).

any chance to find the real current for this device somewhere?

> adb ls /sys/class/power_supply/battery
000041ed 00000000 4d3d757a .
000041ed 00000000 4d3d757a ..
000081a4 00001000 4d3d757a uevent
0000a1ff 00000000 4d3d757a subsystem
0000a1ff 00000000 4d3d757a device
000041ed 00000000 4d3d757a power
00008124 00001000 4d3d757a type
00008124 00001000 4d3d757a status
00008124 00001000 4d3d757a health
00008124 00001000 4d3d757a present
00008124 00001000 4d3d757a technology
00008124 00001000 4d3d757a capacity
000081b6 00001000 4d3d757a batt_vol
000081b6 00001000 4d3d757a batt_vol_adc
000081b6 00001000 4d3d757a batt_vol_adc_cal
000081b6 00001000 4d3d757a batt_temp
000081b6 00001000 4d3d757a batt_temp_adc
000081b6 00001000 4d3d757a batt_temp_adc_cal
000081b6 00001000 4d3d757a batt_vol_adc_aver
000081b6 00001000 4d3d757a batt_test_mode
000081b6 00001000 4d3d757a batt_vol_aver
000081b6 00001000 4d3d757a batt_temp_aver
000081b6 00001000 4d3d757a batt_temp_adc_aver
000081b6 00001000 4d3d757a batt_v_f_adc
000081b6 00001000 4d3d757a charging_source
000081b6 00001000 4d3d757a vibrator
000081b6 00001000 4d3d757a camera
000081b6 00001000 4d3d532b mp3
000081b6 00001000 4d3d757a video
000081b6 00001000 4d3d757a talk_gsm
000081b6 00001000 4d3d7009 talk_wcdma
000081b6 00001000 4d3d366d data_call
000081b6 00001000 4d3d757a device_state
000081b6 00001000 4d3d757a batt_compensation
000081b6 00001000 4d3d757a is_booting
000081b6 00001000 4d3d757a fg_soc
000081b6 00001000 4d3d757a reset_soc
000081b6 00001000 4d3d757a charging_mode_booting
000081b6 00001000 4d3d757a batt_temp_check
000081b6 00001000 4d3d757a batt_full_check
 

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
samsung galaxy with darkys rom 9.0 only shows estimation of current. and the values are pretty useless since the reported voltage seems to fluctuate a lot (ie goes up depending on device usage even when no charger is connected).

any chance to find the real current for this device somewhere?

Estimation will be much improved in the next version. For a real value unfortunately your phone/kernel doesn't provide the data at this point.

I'm starting to suspect Samsung battery not to have the info in the first place!?

Do you have a way to install a customer kernel such as CyanongenMod, this one has full support for all battery details!
 

ibap

Member
Nov 28, 2008
12
0
Charge/Discharge rate

When I was running Windows Mobile, I had an app that would display both charge and discharge rates at the same time. The utility of this is that when you've plugged into a really bad USB port from a power standpoint, you can see it right away, rather than waiting and finding out your phone is not keeping up with the discharge rate, and you'll never get your battery charged, or maybe you would if you turned off the screen.

Perhaps the information is there (I've only had your app for a few hours) but I'm not sure where to find this, or which pieces of data to compare. I can see that the prediction of time to full charge might serve nearly the same purpose, but I'd like to have this data if it is available and I'm just not seeing it.
 

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
I can see that the prediction of time to full charge might serve nearly the same purpose, but I'd like to have this data if it is available and I'm just not seeing it.

I suppose you're looking for the mA charge/discharge data? If so, it is displayed on the main screen (top-right corner) and in the widget (default on top of the central icon).

Sorry, didnt download yet. But is it possible to hide the background graphics? It looks awesome, but wouldnt fit into my homescreen style... Yeah, im a little picky about that ;-)

The latest version has an option to hide the background almost completely (only the right scale border is there). Is that what you were looking for?
 

dertester123

Senior Member
Oct 11, 2008
960
202
REALLY Love this app. Using it for so long now. I love the new estimate feature.

Like in my market comment, it would be great to add the running processes to the logfile. Would be very helpfull to find apps that cause heavy drain.
 

JanHimpIII

Member
Jan 18, 2011
37
7
Motorola Defy: Capacity in 1% steps

This app is really great. Very usefull to check change on battery usage after changes in apps SetVsel etc.

But on Motorola Defy the capacity is only shown in 10% steps (and 5% below 20%) in /sys/class/power_supply/battery/capacity

The value in 1% steps is availlable too:
/sys/class/power_supply/battery/charge_counter

(Found the information here: http://xdaforums.com/showthread.php?t=927297)
some icons make allready use of the second value like MotoCharge or CircleBatteryWidget.

It would be very nice to have the capacity in 1% steps in the charts.

Thanks again for the really good work!
 
Last edited:

3c

Senior Member
Jul 19, 2005
2,935
2,057
www.3c71.com
Like in my market comment, it would be great to add the running processes to the logfile. Would be very helpfull to find apps that cause heavy drain.

What about using PMW? I plan to load battery history in it and display task usage along battery data! Will that be satisfying?

But on Motorola Defy the capacity is only shown in 10% steps (and 5% below 20%) in /sys/class/power_supply/battery/capacity

The value in 1% steps is availlable too:
/sys/class/power_supply/battery/charge_counter

Received so many requests, I suppose I will add it in an upcoming update :)
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 65
    Dear users,

    Considering all 3C apps are now based on the same source code, they all behave the same way, and will exhibit the same issues. Any queries will also likely applies to all apps.

    To make my life easier while continuing to provide support here (and start with a clean slate), I decided to close all my app threads and open a fresh new thread here.

    With your continuous help and support, the past 4 years have been a great adventure and experience. Let's take a fresh start and continue this amazing adventure.

    Thank you all!






    The most complete tool to manage your battery: Shows historical data (%, mA, mW, mV and temperature), calculates estimated run-times and battery aging, helps calibrate battery, and improves your battery run-time.

    NB:
    ◊ Please check app status tab for monitoring status and mA/mAh data source
    ◊ The app displays the % remaining, voltage and temperature data reported by Android OS
    ◊ Android 4.4 (KitKat): Battery statistics require a rooted device
    ◊ Requires INTERNET permission to download external notification icons

    ► Pro version has all features unlocked and no ads
    ◊ Wide (2x1) and graphic (2x1, 3x1, 4x1) widgets
    ◊ Export data to System Tuner Pro
    ◊ Update battery capacity based on measured data
    ◊ Keep information of unlimited number of batteries (2 in free)
    ◊ Add history markers manually or automatically on boot, ROM/kernel/battery changes
    ► Pro version has all features unlocked and no ads

    ► Display all information using great looking graphics, fully scrollable and zoomable.

    ► Use additional packages to show great looking icons in notification bar

    ► Display historical graphics or battery data on your home screen using widgets of various sizes!

    ► Triggers alarm based on any battery data

    ► Manually resets battery statistics on rooted phone

    ► Calculate remaining time while unplugged or charging (AC/USB/Wireless)

    ► Calculate actual battery capacity (mAh)

    ► Support multiple batteries

    ► Support Motorola Defy/Atrix 1% reporting

    ► Online help accessible from app

    ► Export data to System Tuner Pro to analyze which process is responsible for battery drain!


    ◊ Lowest battery consumption on the market: https://plus.google.com/b/106924681...768&sqsi=65194c1a-d82a-4ba6-b2a6-4207a7dcba36


    Issues with current mA or capacity mAh?

    Please mention this in a support request from app settings, help and support so we can provide the appropriate option to use in 'mA retrieval method' of battery / monitoring settings and add out-of-the-box support for your device. All necessary information is provided in the request's attachments.
    6
    Battery Consumption

    Here is some screenshots to show how much CPU (battery) the app is consuming!

    cpu_freq: shows CPU frequency over time, mostly 245MHz, and as everything will be slower this obviously increase CPU times

    It also shows BMW used 10.94 seconds on a 6 hours time-frame, eg 0.05% overall consumption... @245Mhz!

    charging: compares charging (actually full battery) and non-charging time, obviously BMW consumes more when phone is fully charged and plugged, something to improve :)

    Confirms the 0.05% overall consumption (1.22% * 4.15%)

    sleep_mode: phone sleeping, screen off... 0.018% consumption! though the 2 peaks are strange, not sure I switched on the phone or not... Recording phone state will be very usefull :)
    3
    Now i am confused....As i understand ,,Battery University,, saying that you shouldn't discharge the battery completly because with that procesess the battery is aging very fast. But now you told us not to charge when the phone is on?? You mean to charge on completly turned off??

    Not exactly, I'm saying:
    1- discharging a battery completely is safe as it will stop discharging around 3200mV (=0%) but batteries can go as low as 2800mV safely.
    2- heating while % is higher than 70% can cause a battery to age faster.

    You can keep the phone on (in standby or not) while charging. But it's best to avoid playing with the phone while charging the last 20%, such as playing a 3D game that will raise temperature a lot.


    Is there something new about Battery Monitor Widget for our Evo 3d??
    Do you think that when ICS officialy will come they will fix the battery stat problem for Evo 3d?
    Thanks

    I've heard that the Galaxy S2 will have its current sensor activated in ICS, so it may be so for the Evo 3D.

    Note that I already solved the standby drain on the Evo and some specific Evo3D models, and I'm currently testing a mixed method for the Evo 3D. So maybe we won't have to wait for ICS :D

    I've attached the free version that uses that mixed method, if you want to try it and report how it works out (maybe using the support request from the settings adding a special note about this thread).

    cool. Can excel at, I did not even think to it, then one does create a nice graphic.
    I still have a question, what are the values ​​for the circuit in example (I've sometimes instantly highlighted red)?
    2012/03/27|23:52:41|-53mA|50%|3797mV|21.5ºC|.0|0
    2012/03/27|23:52:51|-46mA|50%|3797mV|21.5ºC|.0|0

    The last 2 values are respectively the screen-on time (per thousand of the last period) and the plugged state (0=unplugged, 1=AC, 3=USB and other values are multi-states).

    EDIT: Removed beta APK
    2
    I also do like the frequent updates, and its cool to see your 2 (main) Programs BMW and PMW
    growing this great way!
    I do remember the early days and can see what its going now, awesome!

    So a big THANKS for your great fast support and helpful developing!

    I do ask me where you get the time and energy to repeat nearly to every post, even when users sometimes are very annoying or stupid (remember the discussion about the buggy mA reading of the sensation in BMW, people blame your program even when you explain its the phone...)

    Your future plans are sounding very promising!

    Greetz from the Neighbourhood, Tokl

    Glad to see you like the frequent updates too. I like sharing new things or bug fixes quickly so everyone enjoy the best experience with my apps. But I can understand some users being annoyed when they don't feel concerned by a particular update.


    Anyway, I do what I can with the little free time I have, mostly at night when the kids are sleeping. And testing is not always thorough as it could be (sometimes I'm too impatient to share a new feature/improvement) and don't have the luxury to spend hours on testing either.


    Not only I reply here on XDA, but also on my own web site and to the many emails I receive. It's a challenge and push me to make better apps: the less bugs and the more user-friendly the appas are, the less questions I get... will eventually get there (I hope) one little step at a time.


    Actually the arguments are very helpful, they allow for some explanations of how things really are, even though some users don't care.

    Here is a funny story about that: A member of XDA blamed me for not explaining on the app description that it did not support the HTC Sensation, after admitting to never read app descriptions! How funny that one was!
    2
    Hi Cederic,
    are there Plans to make an Icon Pack with mW? ( BMW Icons - T.mW )
    This is one of the last features i miss on BMW, then its fully perfect ;)
    (OK, i think i have many ideas what BMW also could show in the widget/graphs/logs,
    like Network traffic, CPU Speed/Utilization, Phone usage and so on. But then it must be called SKW - Swiss Knife Widget LOL :D:D:D )

    Thanks and greetz Tokl

    P.S.: As i before said, i dont care about an Icon Pack with ~10Mb (But maybe other people?),
    the more accurate, the better it is.

    No actual plan for mW icon packs yet... This one will be tough trying to fit a 4 digit number + 'mW' in a small icon :) Maybe using W unit would help...

    Many people still care for pack sizes... So I'll make new packages with more accurate info in the status bar.
    Hello- I am using the free version of this APP.
    Few days ago I think on 3rd may I got an update and saw a wonderful addition "Statistics" which basically was showing me phone information from (*#*#4636#*#*) , I loved that one, but today I received another update where "Statistics" tab is taking me directly to the "Battery history" tab of phone information, I felt the previous one was adding more value to the user as I could select any of the menu item form there...
    Please consider replacing battery history shortcut to the full phone impartation (*#*#4636#*#*)

    You are entirely right! But some users prefer the battery history only... So I'm working on an update already for that. Maybe having 2 buttons there (when it's actually available on the phone)...