Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

As far as I can tell, the stats on the Battery page of Settings records the time from when the battery is booted up onwards. What I'd rather want it to do, is to reset that counter whenever I disconnect the charger so that I can monitor more accurately how long a full charge lasts.

Settings > Battery

I am aware that there are 3rd party apps like Battery Monitor widget for these things but I'd really want to use the pre-built in options that came with Android.

share|improve this question
    
Why not just use third party apps? They are easy enough to install. Otherwise the most you can do is to estimate graphically by looking at the rate of descent of the graph. Battery remaining time is impossible to estimate accurately, and measuring battery life time only makes sense when you collected data over multiple charges. Any simple measurements you collect yourself is most likely going to be misleading. –  Lie Ryan Jul 24 '12 at 7:01
add comment

3 Answers 3

One thing that comes with Android is the dialer. Try to "call" *#*#4636#*#*. On most devices, this gives you the choice between "since boot", "since last unplugged", and more. Admittedly, the graphics is not that nice as with your screenshot :)

Test menu Battery history

share|improve this answer
    
Erm, I can't see the Battery History option. :o dropbox.com/s/zktglwmhr6l89nd/… –  Propeller Jul 24 '12 at 8:30
    
I too cant see "Battery History" option in my rooted LG Optimus One (P500), running stock ROM 2.3.3 as well. –  Narayanan Jul 24 '12 at 8:41
    
Oh. So your phone (or rather the used ROM) is one of the few that dropped that point (or was it dropped somewhere in Gingerbread? I just notice it's gone on my phones as well (CM7), and it has been there before with stock Froyo) -- sorry for that (btw, you didn't state your device name and Android version used -- maybe that proves helpful in this case, so you might want to add it to your original question). –  Izzy Jul 24 '12 at 8:43
    
I just did some research: That option has indeed been removed with gingerbread (read here and here) –  Izzy Jul 24 '12 at 8:49
    
Ahh I didn't think it was necessary, anyway this is an ST17i running on pure Ice Cream Sandwich –  Propeller Jul 24 '12 at 14:02
show 1 more comment

If your phone is rooted and also if you flashed a clock work mod, then you can clear battery status by

1.Reboot into Recovery--> 2.Advanced--> 3.Clear Battery Status

share|improve this answer
add comment

Take a look at this setOnBatteryLocked method from Android:

        // We will reset our status if we are unplugging after the
        // battery was last full, or the level is at 100, or
        // we have gone through a significant charge (from a very low
        // level to a now very high level).
        if (oldStatus == BatteryManager.BATTERY_STATUS_FULL
                || level >= 90
                || (mDischargeCurrentLevel < 20 && level >= 80)) {
            doWrite = true;
            resetAllStatsLocked();
            mDischargeStartLevel = level;
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.