yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] chamonix:
Battery graph on Froyo

Guys I have bad news: the FC is fixed but the reason is the batteryservice does not handle any History data on Froyo at all. I have been looking up the sources and read them completely to see if there is another way to get that historic data we need but it's a NO.

Due to the fact that History was only implemented from 2.3 I will not be able to add the graphs to froyo (will fix the FCs though).

Sorry for the bad news
[BetterBatteryStats] XlAfbk:
might I suggest getting the history data from https://market.android.com/details?id=ccc71.bmw if that's installed?
[BetterBatteryStats] tboooe:
Will this be made available from Android Market?
[BetterBatteryStats] chamonix:
Android Market has some pretty serious problems since about a week. I keep updating the apk (currently 1.2.1) but it does not get published. This problem has been reported by many devs but there was no feedback yet. I hope it gets fixed soon.
[BetterBatteryStats] chamonix:
I can check if there is a way to call the activity showing the battery even if I don't see a real added value in providing that data alone. The real value of the battery history implemented in the batterystat service of android lays in the other series like wakelocks, wifi activity etc
[BetterBatteryStats] chamonix:
I don't understand your comment on the stepping. Could you please check the data from the series. Mine shows 1% steps (SGS2 android 2.3.5 VR). There is no more precise data available without additional costs as this data comes from android.
[BetterBatteryStats] chamonix:
confirmed: the "other" summary shows wifi on. I will see if I can find a way to consistently show "wifi running"
[BetterBatteryStats] ejstubbs:
Now this is odd. It appears to have fixed itself at midnight last night. Have a look at this screenshot of the BBS graph this morning. Notice how the graph goes in 10% steps up to midnight, but smooths out after that time. Note also that the battery icon on the status bar is displaying 1% increments; it was doing that quite happily all day yesterday:

The data series still seems run in 10% steps even after midnight, though:

Understood. I wouldn't support the idea of using data from BMW, as you have to have it running all the time to collect data, which rather defeats the object. In any case, BMW already produces perfectly good graphs of battery capacity.

Can I suggest that, if BBS is running under Froyo, it just shows the awake, screen on and wifi graphs? That's the most useful bit of the standard battery graphs in GB since it highlights wakelocks and such like, and is functionality that AFAIK isn't available any other way in Froyo.
[BetterBatteryStats] chamonix:
I will do my best to provide any history data for Froyo. As history as it is implemented in later versions is not available on Froyo at all I will study the sources and think of an alternative design. It seems that I may get precise data for short timespans so it may involve writing a service to collect it. I will consider the cost of that of course because I really want to stick to the "no cost no disturbance" principle in place. I'm looking for alternative ways by accessing some data from the kernel as well even if that option highly depends on compile time settings of the kernel
[BetterBatteryStats] chamonix:
I will add the dump option asap in order to look into the series. The graphics may show some interpolation but the raw data of the graph is the series so I really want to understand the reason for the different steppings as I have never seen anything else that 1% on both GB and HC (sgs2 and transformer)
[BetterBatteryStats] Readerx:
It's not working on my SGS2, my battery is draining at around 40ma, and it drains 1% every 10-20 min, yet this app captures nothing at all.

I cannot post picture but will list what is being showen here.

My phone has been on 8H 46M, currently sitting at 65%, I only used it to download some updates, this app, took about 5 min, then played a game for less than 5 min. Not a single phone call or SMS, basically idle all the time.

process:

suspend

0

sys:4m 50s Us 0S

Events/0

0

sys:4m 39s Us 0s

everything else is under 1 min, most are under 10 sec.

Partial Waklocks

Media:

3M Count 17 0.6%

Alarm Manager

1M8S count 1387 0.2%

Everything else is less than 1 min, most are close to 0s

So this app shows my phone to be fine while it's draining itself out pretty fast, about 2.5 to 3 times faster than when it was new...
[BetterBatteryStats] chamonix:
One important information missing: what are the screen on / awake times and the ratio to time up?

Assuming high awake times and no reported partial wakelocks the cause is probably kernel wakelocks. If your wifi is turned on the next steps would be:

a) check your sleep policy to make sure it is not set to keep the phone awake (would be works as designed)

b) switch wifi off and see if the drain / awake time reduces. If yes you've found the fault. There are known causes / solutions that we can discuss when you got there.
[BetterBatteryStats] Readerx:
Awake: 18.1%

Screen on: 3.1%

Wifi was on for 20%, but the drain is the same with it off, so it's not the wifi.

btw what sleep policy you are talking about? I don't see it, and google only shows wifi sleep policy, which doesn't concern me as I turn it off completely, I even turned off background data to see if it helps, it doesn't.

kernel wakelocks? so i either root it or wait for official firmware update?
[BetterBatteryStats] nobnut:
If you aren't rooted, then I would suggest the problem lies with one or more of:

1. WiFi settings (click on advanced and look for 'sleep policy') - don't believe that WiFi isn't causing your drain. It will be a factor, we just need to work out how significant it is

2. Mobile (data) signal strength

3. GPS (if it is enabled, is there some app using it? Do you see the GPS icon in the status bar?)

4. How many widgets do you have littering your screens?

5. How many processes are running in the background? (Settings>Applications>Running Applications)

6. Is your phone imported from another country? Or did you buy it domestically, through normal channels? If it is an 'import', you may have the wrong modem for your network - rooting would be pretty much your only option to fix if this is the case)

7. Etc - post your stuff as Chamonix asked and we'll see what's what.
[BetterBatteryStats] nobnut:
Hmmm getting notified that BBS update is available in the Market. But it's still the 23rd September version that is showing.

I wish Google would sort their act out :rolleyes:

EDIT: Hurray! Finally got 1.21.0. Taking it for a spin now :)

Thank you Google, thank you Chamonix.
[BetterBatteryStats] chamonix:
Google maps is causing some alarms, are you using latitude or places. What time does alarm manager show in your partial wakelocks and what else is there?
[BetterBatteryStats] chamonix:
Be prepared, kernel wakelocks on their way (testing)
[BetterBatteryStats] mikeinstlouis:
Noob question

Hey all.

I too have the dreaded android (Evo) battery drain and thought I would check out this program.

When I choose to look at the Partial wavelocks, the biggest offender..I guess..is

*backup*

Android system

3o m 26s 1826 s with a count of 893 and 8.6%.

Reading through the information, is this a native android thing that needs to stay? Just curiousl The thing with the next biggest count is:

Starting CM-VnoteService

com.coremobility.app.vnotes.voicemail

7 m 47s count 26 2.2%

Not sure if this is enough information, but it caught my eye.

Any advice on whether or not this is good or I need to give more info would be appreciated.

Thanks

Mike
[BetterBatteryStats] RibsConcept:
Very good application! Thanks
[BetterBatteryStats] Wildnick:
Chamonix,

Please analyse this BBS dump, almost 8 hs resting. Is there a chance of improvement?

Thanks
[BetterBatteryStats] Casanoaa:
Nothing to improve. How u did so good with GSF? Have u used autostarts or so.

Disabled gapps?
[BetterBatteryStats] Wildnick:
I'm using Autostarts and also froze some apps using TB, as follows:

a) App with all items disabled in Autostarts:

AllShare Play, ChatON, Voice commands,Market Comments, Days, Backup/Restore,Game Hub, Gmail, Google Play Music, Google Play Magazines, Google Play Services, Google+, Voice Recorder, GTalk, Google Maps, Music Player, Google Search, Digital Clock, Modern Clock, Rustic Clock, Analogue Double Clock, Digital Double Clock, S PLanner, Samsung Data Relay,Google Diary Synchronization, Google Contacts Synchronization, SNS, Video Player, Weather Daemon, Weather Widget Main, Widget S Planner, Yahoo!Finance, Yahoo! Finance Daemon, Yahoo!News, YouTube.

b) App frozen with TB:

ChatON, Days, GameHub, Gmail, Google Play Music, Google Play Magazines, Google+, GroupCast, GTalk, Readers Hub, Modern Clock, Rustic Clock, Analogue Double Clock, Digital Double Clock, TalkBack,Yahoo!Finance, Yahoo!Finance Daemon, Yahoo!News.

I've tried to use Greenify instead of Autostarts, but results are better with Autostarts.

No games in my mobile.
[BetterBatteryStats] rignfool:
You can try using tasker to do what juice defender does... tasker does a much better job... and with disabling autosync... you should see similar battery savings... without as much pain... however... the wakeups will still be there...
[BetterBatteryStats] tonyboy_23:
Anyone?
[BetterBatteryStats] It_ler:
Your stats are looking very good IMO.

Maybe it's the wifi connection.

Can you try the same idle test with wifi disabled (but mobile data on)?

Then compare the stats.

If it's wifi, you may try to flash another kernel (with a different wifi driver)?!

Good luck !

---------- Post added at 03:44 PM ---------- Previous post was at 03:34 PM ----------

Nothing "big".

Your main wakelocks are:

MediaScannerService

MAIL_SERVICE (com.android.exchange.Exchange Services)

WeatherUpdateService (com.cyanogenmod.lockclock.cLock)

Facebook

I also found:

com.google.android.location (): Wakeups: 6

Alarms: 6, Intent: com.google.android.location.nlp.ALARM_WAKEUP_LOCATOR​

So maybe there is a location service option enabled?! Check it and disable all location service options in ROM and Google settings.

And some news apps/widgets are active (BBS, Sky, etc.).

What you don't need everyday, disable / freeze it, or try to use Greenify app on it.

As I said, nothing big ... only small things can be optimized IMO.

Good luck !
[BetterBatteryStats] Korpblast:
Thanks for the answer. I'm going to do it and upload the new dump file. Anyway, it's pretty strange, since this didn't happen before, and I haven't changed anything in my internet connections, and the phone battery lasted for more than 40 hours. Hope to upload the new dump file tomorrow.

Cheers!

PS, dunno if I can change the kernel with a locked bootloader, other than the ones available for flashtools? :S
[BetterBatteryStats] It_ler:
AFAIK, you can not flash a custom kernel or ROM while the bootloader is locked ... only (signed) stock kernels and ROMs will work.

As my SGS2 always had unlocked bootloaders, I am not quite sure about it.
[BetterBatteryStats] tonyboy_23:
Thanks for the reply quickly.what's really annoying is that was a really good report, the only problems were the partial wakelocks and alarms. Normally I can put the phone on my bedside table fully charged at bed time and find it dead in the morning. I never have Wi-Fi on or GPS. Only things I leave on are mobile data and the normal signal radios. Also whenever I use the phone the battery life it's shocking. Playing a game or whatever it only lasts about 30 minutes from a full charge. It's annoying me notes I can't get it to replicate the poor battery performance.
[BetterBatteryStats] exynoss:
My battery is going down 1% per minute. Please help .I m only surfing tapatalk.:(
[BetterBatteryStats] Korpblast:
As I told in the OP, the Xperia phones can be rooted and flashed with flashtools and using DoomLord's tools (as I did with mine). With this procedure I can flash ROM's (using CWM), but I'm not sure I can do the same with the kernel (maybe with flashtools...). Anyway, I'll send the new dump file later to tell you what I'll find with the Wi-Fi.
[BetterBatteryStats] It_ler:
Have you already tried with another battery?

Maybe your battery is "dead" :confused:

And you can try to flash another modem. If you have high battery drain with mobile data on and in Airplain mode not, then it could be the modem (or bad mobile reception).

Good luck !
[BetterBatteryStats] tonyboy_23:
Yeah I have a spare battery so that was the first thing I tried. It runs at 4.2ish v and I think that's fairly normal from what I have read.

I think perhaps the problem may be the radio as it is normally flicking between none and 3/4. I am on cm10.1 so don't think I can use different modems can I?

Maybe I should do a dump after a full charge but leave the plane mode ON so it's not checking for signal all the time.

If that test shows good battery life then it's down to the signal and modem?
[BetterBatteryStats] Karpfenhai:
You can use any modem, but you shouldnt flash the ril ..

so extract the modem.bin and use heimdall / odin / mobile odin to flash it.
[BetterBatteryStats] Wildnick:
Try to follow what I've done with my Galaxy S2, as shown in this post here.

Now my battery consumption is 1% total in aproximately 8hs, when my mobile is at rest.

Try it.
[BetterBatteryStats] tonyboy_23:
Thanks for that.do you have any suggestions as to what modem to use? I'm on I9000 running on giffgaff which it's 02 network (uk) that runs on if that matters.
[BetterBatteryStats] chamonix:
The best alternative to juice defender is not using it. I won't be repeat my reasoning but searching this thread will bring you that if you are interested
[BetterBatteryStats] Tritonio_GR:
I have a weird issue. First of all "Android OS" uses about 1-2MB of 3G data per hour. Secondly my mobile looks like it doesn't go to sleep state as often as it used to.

Over 8 hours of sleep my kernel wakelocks are:

"svnet" (): 1 h 13 m 29 s (4409 s) Cnt:(c/wc/ec)3362/523/3362 14.2%

"secril_fd-interface" (): 1 h 1 m 5 s (3665 s) Cnt:(c/wc/ec)1034/0/0 11.8%

"PowerManagerService" (): 39 m 21 s (2361 s) Cnt:(c/wc/ec)4785/0/0 7.6%

"radio-interface" (): 35 m 36 s (2136 s) Cnt:(c/wc/ec)2118/0/0 6.9%

"alarm_rtc" (): 13 m 11 s (791 s) Cnt:(c/wc/ec)1223/921/410 2.5%

I read that svnet appears when 3G data is used. So to get this streight: whenever some app uses a partial wakelock to, lets say, download my tweets, this will increase both PowerManagerService kernel wakelock AND the svnet wakelock? So in fact svnet doesn't really affect my battery life since it locks only when some app is active?

Secondly, how am I going to find out which app exactly is the one that uses all that 3G data? I would love to see iftop for android and then run it and watch it till I see a connection to some weird IP moving data. And then try to figure out which app it is by the IP's whois info.

I tried to sniff data while blocking every connection but the ones of the kernel and the Android System with AFWall. It looks like the sniffing works before the packets get into the firewall though, because I was seeing many packets to twitter, gtalk etc...
[BetterBatteryStats] ccs86:
I don't understand why every log that gets posted here receives a quick reply, yet I've posted multiple times about a legitimate bug in this program that I've paid for, and no help finding a resolution.

:confused:
[BetterBatteryStats] It_ler:
Your main wakelocks are:

TweetCaster Pro

Maps

MediaScannerService

Tasker

SleepWidget

Gmail

Bitcoin Ticker Widget

Battery Monitor Widget Pro

FolderSync (dk.tacit.android.foldersync.full)

AdAway

System Tuner Pro

Disable / freeze what you don't need everyday.

For Maps, there is a good description (from Karpfenhai) of how to disable its autostarts (link in post #3).

Disable your Bluetooth. Only enable it if you need it, and disable it again afterwards.

And change the FastDormancy setting on your phone. There is a FastDormancy app from gokhanmoral on Play store. Maybe it works on your phone too.

There are many alarms for Viber ... and some for Accuweather.

You should disable auto-refresh/update/sync options.

Good luck !
[BetterBatteryStats] thechaoz:
Anyone know what .com.Android.server.throttlemanager.poll is? Getting a lot from that..time tick is worst but think that has something to do with android we can't eliminate

Googled with no luck on it.thanks..

Jelly beans 14 with Perseus kernel banging note 2 i-605
[BetterBatteryStats] Karpfenhai:
Sorry but giving support is our spare time here..

I know what you are referring to but here we need the dev,

[MENTION=256960]sven[/MENTION] could you have a glance to this post and check the attached file for bugs related to wrong values?

http://xdaforums.com/showthread.php?p=40891342

More information can be obtained a few posts above the linked one.

Thx in advance.

Tapatalked from my Galaxy SII
[BetterBatteryStats] oae08:
You've disabled everything that makes this phone a "smart phone". I want to reduce the gsf wakeups and wakelocks and alarms without losing all functionality.
[BetterBatteryStats] Wildnick:
Apps "frozen" with TB cannot be acessed (unless defrozen).

Apps disabled with Autostarts have their icons still shown and can be accessed anytime normally.

But every user has its pattern of use.

I, for instance, do not like applications that are always accessing the net without my knowledge, to do things that only the developer is aware of.
[BetterBatteryStats] Casanoaa:
Exactly my words.
[BetterBatteryStats] oae08:
But even if they can accessed, disabling servises for google services and such stuff may break other stuff no? Like push notifications or email sync..etc..

The main issue that whatever i do can not get rid of is this:
[BetterBatteryStats] klickig:
can anybody tell why my phone has 6 1/2 hours of awake time? In Battery options Android OS was almost 2h active. I dont know why.
[BetterBatteryStats] Wildnick:
I didn't disable Google Services, I disabled Google Play Services in Autostarts. Google services framework is there fully functional.

Try it and you'll see by yourself.
[BetterBatteryStats] Tritonio_GR:
Thanks for the suggestions. I tried to turn FD off now and I got rid of the -fd kernel wakelock. I don't really mind my partial wakelocks, they are apps that I use. I am worried about the kernel wakelocks, especially svnet which uses more time than all partial wakelocks together. Should I ignore svnet or does it really harm my batt?

And if you or anyone else knows how I can see why does my "android system" uses 3G data (1MB/hour) I would be grateful. :-|
[BetterBatteryStats] oae08:
Can you show me what exactly you disabled if it helps in my issue. Also may i ask if you lost any functionality? Gmail and email sync is very important for me as also push notifications from whatsapp and othrr similar apps. I have rom manager and autostarts that i can use.. Thanks for your time would really appreciate help me get rid of this issue.
[BetterBatteryStats] Wildnick:
You could find the information you are requesting looking backwards in this same thread, on the following post I wrote today morning:

http://xdaforums.com/showpost.php?p=41102341&postcount=15986

Do not try to use Autostarts and Greenify at the same time, You have to choose one. I've started using Autosrtars, then I uninstalled it and used Greenify, then I uninstalled it and installed Autostarts again.

In Autostarts do not disable any item in Google Services Framework (it's not the same as Google Play Services, do you get it?). If you disable things in Google Services Framework you certainly will screw up something in your mobile.
[BetterBatteryStats] bombadier:
Looking for some help with my Battery stats,could one of the experts cast an eye over my stat dump and explain whats going on,I fully charged the phone then left alone over night,took the dump :) first thing this morning
[BetterBatteryStats] tonyboy_23:
I'm no expert but I think your Wi-Fi has to be the culprit surely?
[BetterBatteryStats] Ulfsark:
Even on the Note wifi drains too much for my liking.. :thumbdown:

Carbonated Note
[BetterBatteryStats] bombadier:
I thought Wifi was quiet economical although did not have powersaving on,will try that today and see what the effect is....
[BetterBatteryStats] bobdoblo:
Turn off wifi and data and uncheck boxes in locations overnight.

That will help with a lot of stuff.

★NeatROM★ Mods *************************** Battery Guide
[BetterBatteryStats] Pinan:
I followed Karpfenhai's post here http://xdaforums.com/showpost.php?p=34221821&postcount=10102

and now after 21hrs up time I only have 10sec of the GTALK wakelock that oae08 is asking about, and no ill affects that I notice.

2 cents.
[BetterBatteryStats] owenlee:
The user interface still has room to be improved...
[BetterBatteryStats] m4soN:
Can may anyone analyse my logfile and tell me what my biggest power killer are and what i should do to change it?
[BetterBatteryStats] Hk.Tang:
What's wrong of it ?

I'm used 1 hours and dump the bbs log here.

It's my phone hardware problem ? Or running too much uccw file on my homescreen to made it :confused:
[BetterBatteryStats] jfriend33:
My phone is running super slow and I even have gtalk disabled so not sure why some of its files are opening. Also didn't use xfinity player once.

My phones never drained this much overnight while sleeping. Please advise.

Sent from my DROID RAZR MAXX HD
[BetterBatteryStats] post-mortem:
From the OP:
[BetterBatteryStats] Karpfenhai:
Invalid Dump, read the OP and follow the guides from Post 3 before dropping another Dump, thx!

Your dump looks quite perfect, you might wanna read this thread for further assistance.

regards
[BetterBatteryStats] Dblaster:
Provide a log of at least 3~4 hours with no screen on.

From the log you've posted, it seems that uccw widgets tried to connect to the internet, and that might have caused the drain.

Remove any uccw widgets, and see if the drain persists.

Also 12.6%/h is way too much drain, try changing the battery. Maybe it's the main culprit.
[BetterBatteryStats] Hk.Tang:
[MENTION=4355376]Karpfenhai[/MENTION] , Yea I know that. Just posting here and see anothers suggestion.

[MENTION=2866312]Dblaster[/MENTION] , I just removed all uccw widget on my homescreen and charging full now. And tomorrow wake up to see the result :)

PS : I scared that is my hardware problem :( then I need to go repair centre to repair it already. If tomorrow morning still on battery drain, I maybe going back to 4.1.2 and try
[BetterBatteryStats] Karpfenhai:
.. i just realized you are the same guy, sorry then ;)
[BetterBatteryStats] tonyboy_23:
Thanks for the help last time guys and girls. I have madE some improvements in the consumption since but I am uploading another dump file for someone to maybe advise me on if I can make any further improvements.

Cheers,

Tony
[BetterBatteryStats] Korpblast:
Well, as you suggested, I did a test overnight with the phone radio on, but wifi off. It turns out that the battery drained at the same speed, so this suggests that it's the phone signal itself what's draining the battery. Searching in other forums found that apparently WCDMA preferred/GSM drains the battery in some cases. Changed it to GSM auto PLR and I'll see through the day if it lasts more (if someone could explain me why this could be, and what are the implications on the 3G signal, I'll be grateful). I can already tell (from the last hour) that it fells like less consuming. You'll hear from me again :D.

Attached new dump file and screenshots.

PS I don't use 3G signal, but I expect to acquire a plan with inet in the short term. The 3G data has always been disabled, if someone asks.
[BetterBatteryStats] laughingT:
You should freeze or uninstall Xfinity player. It starts background services on start up that continuously polls comcast servers, whether or not you ever start the player, and whether you are on wifi, 3G, or slower data network. It's an app that was developed by somebody who assumes that you have infinite battery life, memory, network speed, and CPU power.

In this respect, it is the worst app I've found on Google Play.

Sent from the wholly ROMin' empire. SGH-I897 CM10.1