1. Are you ready for the Galaxy S20? Here is everything we know so far!

Battery level in 1% increments

Discussion in 'Android Devices' started by ricksievers, Feb 17, 2011.

  1. ricksievers

    ricksievers Android Enthusiast
    Thread Starter

    I use an app called Battery Monitor by SIMMO Publications. It shows in the notificaion bar.

    Sim2k likes this.

    1. Download the Forums for Android™ app!


  2. MutantCheese

    MutantCheese Android Expert

    meaning the DX
  3. ricksievers

    ricksievers Android Enthusiast
    Thread Starter

    When the stock battery shows 15% the 1% battery app I use also shows the same at 15%. So I think its accurate.
  4. apavolka

    apavolka Android Enthusiast

    I noticed that with battery left. When it gets low (15% or less) it usually reads from the phone. I think its because its the beginning of the "low battery" stage.
  5. MutantCheese

    MutantCheese Android Expert

    I actually rather the 10% increments on the DX. On my fascinate, I would freak out watching the 1% battery drops every time I turned on the display.
  6. ricksievers

    ricksievers Android Enthusiast
    Thread Starter

    I like the 1% increments. I'm sure allot of people also do. And I really like watching it in the notification bar. I bet its accurate also.
  7. zandroid

    zandroid Android Enthusiast

    I use Circle Battery Widget and it is very accurate in 1% increments.
  8. Caveman419

    Caveman419 Android Enthusiast

    I like this one because it is on the screen and not in the notification pull-down. Would like to be able to replace the standard battery icon in the main notification bar with a 1% incrementing version though.
  9. ricksievers

    ricksievers Android Enthusiast
    Thread Starter

    Whats wrong with it in the notification bar? Its just sitting on the other side of the standard one. You dont have to pull it down to see the level, its always there. On my home screen, I only have my Beautiful widgets clock and weather on my home screen, nothing else. I like to see all of my wallpapers with nothing on the main screen.
  10. Turdbogls

    Turdbogls Android Expert

    you do realize that it is just guessing right? something inside the code with motorola phones does not allow 1% accuracy of the battery level. however, it is fairly easy to guess where it is at in between the %10 increments. of course it shows %15 when it is at %15, thats because it can actually READ that percentage. everything in between is a guess.

    and i would use this if it replaced the acutal battery, but that wont ever happen, i hate having any notification icon in my status bar other than the time,3g, wifi, ect.
  11. ricksievers

    ricksievers Android Enthusiast
    Thread Starter

    You also do realize that when its in 10% increments its just an average/guess as to battery level right? Its more accurate at 1% increments/closer than the stock battery level. It also shows accurate at 10 and 5 percent, right down to zero, shuts off. Whats the difference if their is another small icon in the notification bar? Its got alot of room in it.
  12. xliderider

    xliderider Android Expert

    The app is reading off the actual battery voltage though, so it is a very good guess. :D
  13. Turdbogls

    Turdbogls Android Expert

    I am just saying the OS was designed to read the battery in 10% incrememts down until it gets to 15% when it starts reading in 5% increments. i see what you are saying tho.

    and i am a person that likes very little clutter in the upper bar....if i DL an app and it has a notification icon, even a useful one, i hide it right away...it drives me nuts to have it up there. not sure why, i am a little OCD :)
  14. ricksievers

    ricksievers Android Enthusiast
    Thread Starter

    I keep absolutely nothing on my home screen. I like it with just my wallpaper and my clock and weather widget. I use 5 screens in total. Thats what I like. If you like nothing in your notification bar, thats you and your OCD, I am just saying that I like the accuracy of the battery app I use so it only shows in the notification bar.
  15. Sim2k

    Sim2k Member

    I only just registered on this forum, so this is my first post.

    Thanks for starting this thread Rick, I'm the developer that wrote this application, so if anyone has any questions then feel free to ask me. I wrote it initially for my DROID X because I wanted a simple tasteful 1% level change icon in the notification bar, even if the 1% values are just estimates. I just recently added a 1x1 widget to it as well.

    It's only been on the market for a few months, but so far 7500+ people have downloaded it, so I can't be the only one that wanted it.

  16. twistedlim

    twistedlim Android Expert

    Nice app. Thanks! How much battery does it draw too run?
  17. Sim2k

    Sim2k Member

    The service that it runs is just a container for a broadcast receiver that only ever executes code when it gets a BATTERY_CHANGED event. Therefore it doesn't draw anything noticeable from the battery, whenever I personally check the battery usage statistics it's never even in the list.
  18. Sim2k

    Sim2k Member

    Battery Monitor

    I'm interested to know if anyone has used this that doesn't have a Droid X (I realize this is in the Droid X section so I may repost this question elsewhere). The application has code that checks if the device returns battery levels more accurately than every 10%. I would appreciate knowing what devices (like HTC) actually return more accurate levels and if the app works on them. I have no test device, and the SDK emulator only ever shows 50%. Can anyone help ? Thanks.
  19. scary alien

    scary alien not really so scary
    VIP Member

    Andy, howdy there, fellow app developer! :)

    I am the author of BattMonX and was just (Wednesday) made aware of the fact that they Droid X can now report its charged percentage in 1% increments (thanks again, member ToolAndDieMaker).

    Since Wednesday, I've been updating my app to include making it aware of the 1% delta in battery charged. For those using my app, I'll soon be releasing a new v2.3 with lots of new goodies. Stay tuned. ;) :D

    I'm pretty sure that the file (charge_counter) that now reports the 1% increments is new for 2.2 since I scoured the battery directory's files when I first wrote my app. The capacity file that I first used still only reports 10% increments and is auto-rounded up or down in 5% increments. The status file is also updated to "full" even when the charge_counter file is not yet 100%. Additionally, I've noticed that the charge_counter file can even exceed 100% :)eek:) [so, I hope you've adjusted your code like I had to ;)].

    I haven't (yet) used your app (just about to download and test), but I have been testing my app against the Circle Battery Widget and it appears to be correct and in lock-step with each other (and mesh with how the capacity file reports and rounds his percentage).

    I have an HTC Droid Eris that I'd be happy to test your app on. I can tell you that the capacity file that you are likely using does change in 1% increments like the Droid X's charge_counter file.

    I'll report back here and let you know. Ping me with a PM or send me an email at scary.alien@gmail.com if you have any questions.

    Sim2k likes this.
  20. Sim2k

    Sim2k Member

    Thanks for the in-depth reply, it's always good to talk to fellow developers. I haven't even approached the idea of producing a paid version with more features, since my free app does exactly what I wanted and nothing more.

    I wasn't aware of the charge_counter file but I'll take a look as soon as I get some time, thank you. My 1% updates are code-based and done in a specific way during the battery broadcast events, which seems to do very well on the DX. But the actual event has always just returned the values 100, 90, 80, 70, 60, 50, 40, 30, 20, 15, 5 during my testing on the DX. Which is why I'm interested to know how it performs on an HTC since my code tries to identify a device returning more accurate levels. So thank you for taking the time to have a look, it would be nice to know how it works on other devices.

    I also have a voltage-based calculation that can be used for after-market batteries that aren't directly compatible with the device. Voltage behavior is quite erratic in these cases, but it seems accurate enough from the reports I get back.

    Anyway, thanks for taking the time to reply. I'll take a look at your app too, and maybe even leave you a scathing 1-star comment, lol. Not really. :D Don't you hate it when people leave 1-star comments without even attempting to email you to resolve the issue ?

    e.g. Doesn't Work. Uninstall. :mad:
  21. scary alien

    scary alien not really so scary
    VIP Member

    lol...me too, re. the paid version... BattMonX actually started as a result of a thread that our ubiquitous AF guide, Steven58 suggested in this thread: http://androidforums.com/droid-x-all-things-root/224281-even-possible.html. At first, it was just a quick (yeah, right! ;) :p), fun project and challenge...you wouldn't believe how many hours I've put into it so far, lol. It was also something I wanted to do as my second Market app and really thought just a few folks might find it useful. Now, it seems a little disingenuous to charge for it, but I might publish a donate version to placate the folks that would like to reward me for my efforts (very nice sentiments from some very nice folks (Steven, you listening? :D)).

    Yeah, the charge_counter, at least for the Droid X seems like the way to go now. Right now, on my Droid X, I've got your app, my app, and the Circle Battery Widget all reporting their findings, lol (duking it out, as it were ;)). Your app seems to report about 4% less than my app and the Circle widget does. But it seem to update the status bar and the widget properly and promptly.

    Now, on my HTC Droid Eris, the widget looks fine the percent reported matches what my app shows. However, I'm running a custom rooted ROM, Worksheds GSB 1.6 (Gingerbread :D :eek:) and its not displaying the percentage on the status bar like it does on my Droid X--but it will show the values when I pull-down the notification shade, so I'm thinking this is a CyanogenMod 7 issue or "feature". I'll flash back to a stock Nandroid backup and see how it behaves on vanilla 2.1 and let you know.

    You might be quite the hero for the folks that have these after-market batteries. I've had quite a few requests via email, PM, on the threads about if I knew how to get the X to charge these after-market batteries since the 2.2 update came out. I know your app can't "fix" anything, but just being able to monitor them for when they'll need charging would help them not have to abandon using their extra batteries.

    lol, yeah, my first app, AFV (Android File Verifier), seems to have been targeted by a competitor by leaving "crass" (not-so-veiled competitor reference) comments and low ratings...some people, sigh...:p

    By the way, your app looks very polished and nicely done. You've clearly done a good job and are attentive to your users. I'll post back here after I've done a little more testing again on my Eris for you.

    Cheers, mate!
  22. Sim2k

    Sim2k Member

    Thanks muchly, I really appreciate it, I have no idea why the icon wouldn't be visible on a rooted build, don't forget it does have a white/black icon option, just in case you missed it ;). I think I'll get the circle widget too and do the same thing, a battle of the battery apps, lol. Thanks again. Cheers !
  23. Sim2k

    Sim2k Member

    Also, it's interesting to note you said they were 4% different on the DX (not that 4% is a big deal), but since I know how mine was coded, I'm wondering if they'll sync up after a while. Can you let me know if they do ?
  24. scary alien

    scary alien not really so scary
    VIP Member

    I just restored back to stock 2.1 on my Eris and the status bar didn't update until I used the "White Icon (Black Bar)" setting like you mentioned (sorry, I missed that first go-around :D). But now at least you know it works on a rooted Eris with a custom (Gingerbread) ROM and on a stock, unrooted Eris.

    Looks great on the Eris. (BTW, I gave you a 5-star app rating in the Market ;)).

    Also, if you don't already have it, grab the Andlytics (free app) from the Market. Its a great developer tool (along with aLogcat).

  25. scary alien

    scary alien not really so scary
    VIP Member

    Yeah, I'll keep an eye out on it for you (still at a 4% difference from last reported (your 83% vs. my BattMonX and Circle Battery Widget showing 87%)).


Motorola Droid X Forum

The Motorola Droid X release date was July 2010. Features and Specs include a 4.3" inch screen, 8MP camera, 512GB RAM, TI OMAP3630 processor, and 1540mAh battery.

July 2010
Release Date

Share This Page