Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
k_myk
Old
#1  
k_myk's Avatar
Senior Member - OP
Thanks Meter 24
Posts: 225
Join Date: May 2009
Location: Warsaw
Arrow Wipe Battery Status

Hello Milestone users!

I am using Moto milestone for some time now and I have a question about battery calibration status. In NORMAL hacked recoveries there was an option "Wipe Battery Status". Of course in Open recover (got recovery and i guess adb recovery too) that option doesn't exist. I wonder if any of wipes available does something like battery status wipe? If so, does restoring nandroid system backup affect somehow battery capacity information? I'm asking because i get miserable battery life on single charge and i'm seeking for a reason (about 14h of well.. light usage...)

Sorry for any grammar/spelling mistakes, English is not my native language. I hope this post i readable
 
guildamx
Old
#2  
Senior Member
Thanks Meter 22
Posts: 159
Join Date: Apr 2010
Location: Milan
Quote:
Originally Posted by k_myk View Post
Hello Milestone users!

I am using Moto milestone for some time now and I have a question about battery calibration status. In NORMAL hacked recoveries there was an option "Wipe Battery Status". Of course in Open recover (got recovery and i guess adb recovery too) that option doesn't exist. I wonder if any of wipes available does something like battery status wipe? If so, does restoring nandroid system backup affect somehow battery capacity information? I'm asking because i get miserable battery life on single charge and i'm seeking for a reason (about 14h of well.. light usage...)

Sorry for any grammar/spelling mistakes, English is not my native language. I hope this post i readable
No worries: just open an adb shell and type the following.
mount -a
rm /data/system/batterystats.bin

The battery stats are stored in the mentioned .bin file!
The Following User Says Thank You to guildamx For This Useful Post: [ Click to Expand ]
 
fahad123
Old
#3  
fahad123's Avatar
Senior Member
Thanks Meter 49
Posts: 344
Join Date: Jun 2010
Location: Lahore
@guildamx ...
im using HTC G1.. the battery life isnt so good... should i use this script u have mentioned? im using cyanogen 5.0.8 eclair 2.1
 
guildamx
Old
#4  
Senior Member
Thanks Meter 22
Posts: 159
Join Date: Apr 2010
Location: Milan
Quote:
Originally Posted by fahad123 View Post
@guildamx ...
im using HTC G1.. the battery life isnt so good... should i use this script u have mentioned? im using cyanogen 5.0.8 eclair 2.1
According to my personal experience, whenever you flash a rom which is basically different from the one you are going to remove, it is useful to wipe the battery stats and charge the phone to its full capacity.
This is generally valid for all the android phones.
 
k_myk
Old
#5  
k_myk's Avatar
Senior Member - OP
Thanks Meter 24
Posts: 225
Join Date: May 2009
Location: Warsaw
Quote:
Originally Posted by guildamx View Post
No worries: just open an adb shell and type the following.
mount -a
rm /data/system/batterystats.bin

The battery stats are stored in the mentioned .bin file!
Thank you, Sir! I was not aware of that script I will try that for sure, but I guess I will still have to visit my carrier and send my milestone on warranty.. Come on... 14 hours? I can't plug it twice a day EVERY day..
 
guildamx
Old
#6  
Senior Member
Thanks Meter 22
Posts: 159
Join Date: Apr 2010
Location: Milan
Quote:
Originally Posted by k_myk View Post
Thank you, Sir! I was not aware of that script I will try that for sure, but I guess I will still have to visit my carrier and send my milestone on warranty.. Come on... 14 hours? I can't plug it twice a day EVERY day..
Please do the proper test before sending your phone to the assistance.
Consider that the battery life depends on:
- your peculiar usage (do you listen to music or play games?)
- the number of active widgets which connect to the net
- the quality of radio signal of the area where you are
- the temperature...

Consequently, wipe the battery stats, charge the phone to its max capacity and come back here!
 
k_myk
Old
#7  
k_myk's Avatar
Senior Member - OP
Thanks Meter 24
Posts: 225
Join Date: May 2009
Location: Warsaw
Quote:
Originally Posted by guildamx View Post
Please do the proper test before sending your phone to the assistance.
Consider that the battery life depends on:
- your peculiar usage (do you listen to music or play games?)
- the number of active widgets which connect to the net
- the quality of radio signal of the area where you are
- the temperature...

Consequently, wipe the battery stats, charge the phone to its max capacity and come back here!
OK, if users don't mind I will "extend" this thread and complain about my battery;

In general it looks like this:
-Auto brightness always on
-3G always on
-google sync on
-exchange sync on
-weather sync once for 4 hours
-news sync once for 4 hours
-no data absorbing widgets (only weather bug)
-no games
-no music

Oh, and about signal quality.. I almost always am in good range of 3g/hsdpa network

Now, I don't surf internet alot, but I read news when I go to work and home. Screen is active total 2,5h a day and according to battery use built in android screen absorbs up to 75% of whole battery! (usually 60-66%)

I made some reaserch one day and I wiped whole phone, switched to edge, disabled exchange sync so I used stock settings. No apps, no additional data (only google account) and battery still made only 14h... That made me think, that something is not quite ok.. I had previously htc magic and battery was not an issue that I would consider as important. (I know bigger screen etc, but still...) If you think I am doing something wrong please advise

I will try your tip with battery ststus wipe in a minute and will give report tomorrow or day after

Thank you for your help! I appreciate it!
 
leobg
Old
#8  
Senior Member
Thanks Meter 103
Posts: 1,147
Join Date: Mar 2006
Quote:
Originally Posted by k_myk View Post
OK, if users don't mind I will "extend" this thread and complain about my battery;

In general it looks like this:
-Auto brightness always on
-3G always on
-google sync on
-exchange sync on
-weather sync once for 4 hours
-news sync once for 4 hours
-no data absorbing widgets (only weather bug)
-no games
-no music

Oh, and about signal quality.. I almost always am in good range of 3g/hsdpa network

Now, I don't surf internet alot, but I read news when I go to work and home. Screen is active total 2,5h a day and according to battery use built in android screen absorbs up to 75% of whole battery! (usually 60-66%)

I made some reaserch one day and I wiped whole phone, switched to edge, disabled exchange sync so I used stock settings. No apps, no additional data (only google account) and battery still made only 14h... That made me think, that something is not quite ok.. I had previously htc magic and battery was not an issue that I would consider as important. (I know bigger screen etc, but still...) If you think I am doing something wrong please advise

I will try your tip with battery ststus wipe in a minute and will give report tomorrow or day after

Thank you for your help! I appreciate it!
Don't want to disappoint you, but from the description of your usage 14 hours might be normal. Especially with 2.5h screen being on. Few advices: disable google sync (I assume you use exchange) you will get 10-15% more. Make sure you don't have widgets that update themselves set to update too often, remove the weather widget from screen (just for a day to see what gives), consider installing SetCPU for root users (free for XDA members) and define some profiles like lower CPU frequency while screen is off, or when you reach certain batterly levels (of course if you have root).
leobg
 
guildamx
Old
#9  
Senior Member
Thanks Meter 22
Posts: 159
Join Date: Apr 2010
Location: Milan
Quote:
Originally Posted by k_myk View Post
---8<---
I had previously htc magic and battery was not an issue that I would consider as important. (I know bigger screen etc, but still...)
I also had a magic and, according to my experience, the Milestone's battery lasts as long as Magic's one, if not a little more.
Switching from HTC to Motorola did not affect my usage abits, and maybe it's the same for you, so I think the differences may be due to the battery itself.
Try changing it!
 
Qazz~
Old
#10  
Qazz~'s Avatar
Senior Member
Thanks Meter 9
Posts: 544
Join Date: Feb 2010
Location: Singapore
Are there other ways to wipe the battery status other than using ADB?
Device:Samsung/Google Galaxy Nexus GT-I9250 16 GB rooted
Android Version:4.2.2
Baseband/Radio:XXLF1
ROM:Paranoid Android
Kernel:Trinity

 
Post Reply+
Tags
battery, milestone, motorola, recovery, status
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more