DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 3 of 3

Thread: How to show exact battery percent on droid

  1. Junior Droid
    allstar5101's Avatar
    Member #
    61602
    Join Date
    Apr 2010
    Posts
    15
    Phone
    motorola droid
    #1

    How to show exact battery percent on droid

    I'm rooted running jrummys froyo kangerade on my motorola droid. on the many battery widgets iv tried and when the phone is charging it shows batteryin 10percent increments. Is there a way to show exact percent i.e. 93%

    Note: the battery was like this on my stock droid and on a plain froyo rom.
  2. Banned
    gavron's Avatar
    Member #
    32757
    Join Date
    Jan 2010
    Posts
    555
    Phone
    VZW Moto Droid + N900 ;)
    #2
    Sort of.

    Download Battery Left from the market. Train it as to your usage.

    It will then show you the percentage based on A)System 10% readings and B)Its estimate of usage to the next 10% mark based on YOUR particular usage.

    Side benefit #1: It will tell you the time remaining till the phone is dead

    Side benefit #2: It will tell you the ACTUAL time the phone will be dead

    Side benefit #3: It will tell you what a full charge gets you usage-time wise.

    I recommend when you're training it to use the phone and gps a lot. This will mean all estimates will be conservative later.

    Ehud
  3. Droid Ninja
    Se7enLC's Avatar
    Member #
    5148
    Join Date
    Nov 2009
    Posts
    1,263
    Liked
    6 times
    Phone
    Samsung Galaxy Nexus
    #3
    I don't know of a way to do it with a widget, but here's a way you can do it manually:

    /sys/class/power_supply/battery is a directory in the /sys virtual device filesystem. It gives you all sorts of useful information:

    capacity: Battery percentage, probably in 10% increments. I suspect this is where most apps get their data from
    health:
    Says "Good" on my Droid. I suppose if there were a problem or if you had reduced capacity, it would show up here.
    present: 1 or 0 depending on if the battery is here.
    status: Charging, Discharging, Full
    technology:
    Li-Ion
    temp:
    Temperature in what looks like tenths of a degree C. So if you are at 32, it'll say "320"
    type: Battery
    voltage_now
    : The current voltage of the battery in microvolts.

    So if you just pull from "capacity", you will only see a percentage, probably in 10% increments.

    You *might* be able to get more information by looking at voltage_now. Mine says 41940000 when plugged in and fully charged (100%). If you were to pick a value for, say, 50% capacity and 20% capacity, you could interpolate what voltage is what capacity. Judging by the 4 significant digits in the voltage, chances are you can do a lot better than 10% accuracy this way. Unfortunately, voltage is not REALLY a great measure of capacity, so it might take some training to get it to work correctly.

    In summary - do you really NEED more than 10% accuracy? :-P
    Cool CM Tricks
    custom_backup_list.txt - make a list of files in /system that will survive a nightly install (ringtones, notifications, system apps, wallpapers, whatever)
    in Terminal Emulator, set this as your shell command: "/system/xbin/su -c /system/xbin/bash". You get all the features of bash, root access, and you can still use the initial command field for whatever you want (default is adding /data/local/bin to your path)

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Battery percent left in status bar
    By Matth3w in forum Android Hacks and Help
    Replies: 15
    Last Post: 04-24-2010, 11:03 PM
  2. GPS not find exact location
    By JTDroid in forum Android General Discussions
    Replies: 4
    Last Post: 02-04-2010, 11:36 AM
  3. Newbie to Droid! (HTC Eris to be exact)
    By Princess in forum New Member Introductions & Site Assistance
    Replies: 4
    Last Post: 12-28-2009, 02:16 PM
  4. Android Market hits 20,000 apps, over 60 percent free
    By RLJSlick in forum Android General Discussions
    Replies: 20
    Last Post: 12-16-2009, 12:27 AM
  5. 3 new Droid ads show off some of its capabilities
    By mchoffa in forum Android General Discussions
    Replies: 0
    Last Post: 11-09-2009, 05:14 PM

Search tags for this page

can you show battery percentage on droid
,

droid battery percentage display

,
droid razr m how to show battery percentage
,
how do i get battery percentage on front of droid
,
how show battery usage how to turn on a motorola razr
,
how to get my battery percentage on my droid
,
how to make your android show your battery percentage
,
how to make your droid battery show percentage
,

how to show battery percentage on android

,

how to show battery percentage on droid x

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+