yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] cute_kayani:
can i disable gsf? or add it to autostartup?

---------- Post added at 09:39 PM ---------- Previous post was at 09:36 PM ----------

why bbs not show data after restart of phone? wats wrong with latest version.

when ever i restart phone it bbs start from scratch.. no data in since charged or plugged in.
[BetterBatteryStats] Karpfenhai:
1. be careful with freezing gsf, ill publish a list soon..

2. Thats normal, because Android is deleting the references by default, only since boot will work, dont rely on the latest version, except 1.11!

just do an unplug to gather new data , its not that hard...

Edit:

This is for gsf on ics:

This is for jelly bean:

For the market, I didn't touch it here on jb yet since it was not necessary.

Good luck!
[BetterBatteryStats] dipenrique:
can anyone help me with my stats?

What should I do? I am attaching the log.
[BetterBatteryStats] adxs2:
I froze google talk using Gemini, turned off wi-fi, plugged un-plugged the phone and did not touch it for 4 hours (i have received 1 call and one sms during this time but i did not answer/open either). Find attached the new dump file.
[BetterBatteryStats] dipenrique:
please help me with my dump file!

can anyone help me with my stats?

What should I do? I am attaching the log.

Thanks in advance :)
[BetterBatteryStats] cute_kayani:
thanks i applied and save in gemni app, but when open it again and chek old settings appears. why its not saving
[BetterBatteryStats] kozmo21:
You need to use the latest stable version of this app ... (v1.11.0.0). Also, provide a idle dump. Follow instructions from 1st post...

Charge the phone, unplug the cable, and turn off the screen. Wait for about 4 hours not touching the phone. Then unlock the screen, go to BBS and save the dump.

---------- Post added at 12:45 PM ---------- Previous post was at 12:39 PM ----------

Looks good. Only lost 1% in 4 hours... enjoy :victory:

---------- Post added at 12:48 PM ---------- Previous post was at 12:45 PM ----------

Nice work!
[BetterBatteryStats] Casanoaa:
It looks brilliant enjoy your phone. Glad to help you

---------- Post added at 07:51 PM ---------- Previous post was at 07:48 PM ----------

This happens to me either. Use Autostarts. It cost a little
[BetterBatteryStats] It_ler:
You have to be rooted and enable USB debugging in menu Settings > Development options.

(Remember to disable USB debugging after making your changes in Gemini app.)
[BetterBatteryStats] Casanoaa:
:) That sounds pretty Itler.. I hope it works
[BetterBatteryStats] superbobup:
@karpfenhai...mind doing one for Google Search/Now? Sorry if it's already on the list and you're just finding time
[BetterBatteryStats] It_ler:
It work for me :good:

Enable USB debugging, change auto start config for the apps you want with Gemini app and disable USB debugging afterwards again.
[BetterBatteryStats] bobdoblo:
Something is wrong, the screenshots are not right, mine looks different and everytime i change the autorun settings to off and go out and come back they have changed back to on!

Been using Gemini for ages and never had this problem before, all other apps i set stay like it!

Yes debugging is on, as i said i know how to use it.

Edit: for some reason it won't let me post a screenshot of mine?

Like mine starts with "on boot completed" but thats not on your JB shots!:confused:

Powered by *NeatROM Lite*
[BetterBatteryStats] cute_kayani:
same here, save according to tbe screen shot, but it goes to original. don't know wats wrong.
[BetterBatteryStats] It_ler:
I think the screenshots are from ICS.

Karpfenhai said that he hasn't changed his settings from ICS for JB.
[BetterBatteryStats] cute_kayani:
i think i leave it:(

its now 10th time i saved in Gemini but it goes back. usb debug is enabled after changes i disabled it.
[BetterBatteryStats] goodtimes50:
I've had the same problem with some other apps using Gemini, AutoStarts, and ROM Toolbox. I'm guessing some apps check for these intents each time they run and enable them if they are disabled.
[BetterBatteryStats] bobdoblo:
This is how mine starts! At "on boot completed"!

If i turn any of the other ones you see here off they just come back on.
[BetterBatteryStats] cute_kayani:
it seems there is bug in this app, unable to change GSF settings.

I wish it can be changed, so that i can check how it affect the battery. if not i will go for other solutions.
[BetterBatteryStats] Karpfenhai:
Guys I didn't touch search box cuz it's frozen.. :)

These settings should work:

Regarding my shots above, the first 3 are ics, the second jelly, but it's clearly visible in the pics...

Tapatalked from my Samsung GT9100
[BetterBatteryStats] bobdoblo:
The "on boot completed" first page is missing from your screenshots, look at mine then try to find them options in your shots. I think you have the first 2 shots the same.

I have all the same options checked too!

Powered by *NeatROM Lite*
[BetterBatteryStats] ejstubbs:
Looking forward to the release of the update!

I don't suppose you've had any more thoughts about the idea of back-porting the battery usage graph from Gingerbread on to Froyo? (Don't ask much, do I?!)
[BetterBatteryStats] paul c:
As of about 10 days ago, my battery drain increased significantly, going from 4-8mah when unattended, to 20-30mah currently.

The phone basically runs the Ondemand CPU governor, and the sleep cycle is between 122,000 and 307,000mhz (factory maximum is 1ghz). It's also undervolted by 100mv for these frequencies.

I've pulled a few screenshots from last night, with the phone (Desire HD, running the Revolution Gingerbread ROM) freshly rebooted and left for 7 hours or so.

I am intrigued by the Checkin Handoff, since I have googled this every which way, starting by searching this thread, and reading almost all of it, and I haven't found anything to link this to anything in particular.

If any kind souls can point me towards the offender(s), I'd greatly appreciate your help :)

Wifi seems to be a suspect, but it is at least set to switch off after 15 minutes in the Settings/Wireless & networks/Wifi settings/Advanced menu
[BetterBatteryStats] nobnut:
It's believe it is related to Latitude. Specifically the Checkin service. Do you use it?

If so, check your settings. Something is funky with them.

Sent from me to you using stuff
[BetterBatteryStats] paul c:
Thanks nobnut for the suggestion - no, I don't use Latitude - on seeing your reply, I opened the app up, got an "activating latitude on this device" dialogue, followed by the "allow & share/Don't accept" options.

I didn't accept, so in principle I'm not logged in - or would it be "hanging", somehow awaiting a response? My wakelock problem persists through reboots.
[BetterBatteryStats] nobnut:
Which apps show up in your Android battery usage list? Any clues there?

To verify it isn't 'hanging'. Clear Maps data and cache.

Sent from me to you using stuff
[BetterBatteryStats] chamonix:
to be clear: there is not bug needing to be fixed to reduce any drain or abnormal activity but the bug is the figure itself. FYI it's not a reading but the result of a calculation of 'costs'. The bug is not samsung's either but an android home made. Thebest fix would be to delete that screen altogether.

---------- Post added at 07:49 PM ---------- Previous post was at 07:41 PM ----------

I admit, it slipped my mind. To make sure it doesn't happen again I created a feature request #38

---------- Post added at 07:55 PM ---------- Previous post was at 07:49 PM ----------

I had a similar problem with latitude that survived reboots and even an upgrade. logon/logoff from latitude an a cache clear solved the problem.
[BetterBatteryStats] paul c:
I logged into Latitude and back out again, and cleared data (data + cache) in Maps, Network Location, Locations and HTC location service - just in case. I'll see what happens tonight, when the phone is unused and it's not syncing with email.

My Battery use (from the Settings app) for the last 24 hours looks as follows in the attached screenshots: the wifi does seem to have switched off overnight.

Clicking on Google Services (3rd screenshot), I currently don't sync contacts (used to, but I stopped when wakelock increased, in case that was causing it), I don't sync Google calendar either: in accounts/sync, Google is greyed out. The only 2 on that list I am not sure about are Network location, and the Framework.
[BetterBatteryStats] p5x:
Tried searching this thread but can't find what the calender startingalertservice is. Seems to be causing a lot of wakelocks on my device. I do have jorte calendarand smooth calendar widgets on my homescreen but I don't really use the calendar that often.

Any ideas?
[BetterBatteryStats] KennyLegend:
I beg to differ. There's a thread on here somewhere I was reading ill about android os on the S2. If I can find it ill link it.

Basically emails were sent back and forth between a few guys (devs maybe) and Google engineers and it turned out the Google guys advised it wasca Samsung issue after studying several logs.

Ill see if I can.dig up the tread.
[BetterBatteryStats] carlos67:
Android OS bug nonsense.

Totally agree with this Chamonix, please allow me to add some more though.

Percentage values are a red herring. It's absolute values that are important. Remember, percentages have to add to 100. So, if everything else is very low like screen on time, then Android OS process will take the lions share of % - it HAS to, to make up to 100%. If Android OS shows as 70%:eek: this "looks" bad but it may only represent a small amount of actual CPU time.

Yesterday, after 32 hours my Android OS was at 35% but when I checked it's actual CPU time it was very small at 33 minutes.

It's the 33 minutes that's important, NOT the 35% :rolleyes: 33 minutes over 32 hours is not significant.

I think people are seeing huge OS percentages and reaching the wrong conclusions.

Another way of explaining this

(I know it's hard to grasp) is this:-

Suppose you have only 4 processes running for a given timeframe

1. process A = consumes 5% of total CPU time

2. process B = consumes 15% of total CPU time

3. process C = consumes 25% of total CPU time

4. Android OS = MUST CONSUME 55% (100-(5+15+25))=55%

But remember, this 55% may only equate to a small and insignificant CPU usage time because the above percentages are created only from when the phone is awake and not deep sleeping.

Think of it this way, when you see Android OS at say 50%, it's 50% not of the total elapsed time, but of the CPU awake time.

Simple mathematics and should totally debunk the myth of the so-called "Android OS bug" bollocks. :rolleyes:

Edit: maybe this should be made a sticky somewhere?
[BetterBatteryStats] m444266:
I see large counts of AlarmManager.. it may not be on top but I suspect its that one.. to explode on which are alarming and causing wakeups,,, (assuming your phone is rooted) get "terminal emulator" from the market, install it, run it. type the following:

$ su (to change to root user)

# dumpsys alarm > /sdcard/alarm.txt

after that you can use any file explorer you want and find the file, open it. and there you can find which one has a lot of wakeups(somewhere below the file under Alarm stats)

I'm not sure if BBS can generate the alarm dump but I do hope it gets incorporated somehow if it's not.. if it is or theres an easier way, can someone tell me?
[BetterBatteryStats] AndreiLux:
Don't agree with something you have no experience of. And don't suggest stickying false information.

You are only slightly correct on the logic of percentages, you don't understand the AOS bug some people experience.

While the AOS package is something which contains a lot of processes and some of those are just there and can't be solved or fixed, the vast amount of problems for SGS2 users like you and me come from the fact that the suspend and events/0 processes are using up almost all of that Android OS usage.

Your example math is wrong and plain stupid. That is not how percentages are calculated, they are, how you said, calculated from absolute values. What you did there is calculate a percentage from a percentage which is utter bullocks. I love how you're preaching simple mathematics around and don't even know what the **** you're talking about. Excuse my language.

So here are some facts:

The CPU time shown under the Android battery stats are completely useless as it's rather some weird scaling value and not usable to real metrics. Use the metrics by for example BetterBatteryStats itself under Processes which shows the proper CPU time by the kernel and where 1 minute is actually 1 real minute of usage at full frequency.

The battery percentage usage on the Android battery stats is what seems to be actually very more or less accurate. If it shows you it used up 30% of battery, then it probably actually did. In the context of AOS, that's unacceptable.

The AOS bug in this context is the rampaging use of the suspend and events/0 processes. This is caused by a bug in either Android or the Wifi drivers and is related to Wifi usage, although it also may have something to do with data usage in general. The bug triggers differently on different kind of routers, and from what I've read over the last 2 months since I've had the phone, also depends on the service provider if it is indeed not only a Wifi bound problem.

And below you have a prime example of a severe case of the AOS bug. Still want to call it a myth?
[BetterBatteryStats] netinetinet:
alarm mamnager

here is my alarm.txt
[BetterBatteryStats] ejstubbs:
I use Command Center (aka System Settings) which I think is another of chamonix' creations. ISTR that I added the alarm dump command myself but once set up it's an easy way to run the command.

There is also a tool out there called Alarm Dumper which provides a neat on-screen list of alarms. The problem with this is that it shows everything except the Alarm Stats, which AIUI is the bit you actually need to track down badly behaved apps :rolleyes:
[BetterBatteryStats] m444266:
First thing to do for you is either disable history logging of battery monitor widget (will help you a bit) OR uninstall it completely..and I suggest you do the latter. You will already a lot of improvement after that one.. then you might want to look at the others below. Note that you do not have to remove everything unless you really need them, you just have to configure them properly..except for bmw, just remove it.

# battery monitor widget

ccc71.bmw.pro

142080ms running, 3185 wakeups

# just configure this properly there seems to be a lot of keepalives,reconnecting, and retransmit.. you can still keep this tho

com.imo.android.imoim

20229ms running, 461 wakeups

org.jraf.android.nolock

1504ms running, 214 wakeups

com.google.android.location

3657ms running, 142 wakeups

ru.orangesoftware.areminder

30214ms running, 130 wakeups

com.google.android.apps.maps

3597ms running, 120 wakeups

com.facebook.katana

1307ms running, 57 wakeups

Then you might want to do another full charge > lock the phone for 1 hour > and get another dump..

---------- Post added at 06:29 PM ---------- Previous post was at 06:28 PM ----------

awesome..I will look into this Command Center
[BetterBatteryStats] KennyLegend:
Hmmm....let me find that tread about Android os...cause u guys who say it isn't a problem are talking ****e .

---------- Post added at 11:38 AM ---------- Previous post was at 11:35 AM ----------

here we go....note the thread discussion has finished. read the very first link to find out why.:p

http://xdaforums.com/showthread.php?t=1079201
[BetterBatteryStats] chamonix:
omg :eek:

this app is older than most xda users :D

if I knew it would be used I'd spent it a rebrush ( /me makes a note to myself )

alarmdumper is on my list of things to discuss with other devs and see if we can achieve some kind of tight integratio of our tools
[BetterBatteryStats] nobnut:
Regarding the Android OS issue on the SGSII.

Here are the facts:

1. No one understands exactly why it is reported at such a high value

2. It does not, repeat NOT, contribute to battery drain

3. It has nothing to do with partial or any other wakelocks

I therefore propose that it is not consistently raised in this thread. Do I have a seconder?

Andreilux, dude, that was a little harsh earlier. PS some of your own maths is incorrect. Kenny, believe what you want to believe. It doesn't make you correct.

It's funny how some folk have to resort to swearing to try and make their points. I guess there is some truth to the saying "the emptiest can rattles the most".

Sent from my HTC Flyer
[BetterBatteryStats] AndreiLux:
Because it actually does consume battery.

Yes it does, I just posted the screenshots above to even prove it. I spent time since early July since I've got the phone to try to fix the problem and a good 40 charges analyzing the usage monitoring AOS and CPU usage on various ROMs, kernels, and modems.

Correct.

It's not harsh to reply to a post like that which

trying to

communicate like this. I find that just as offensive as offensive talk. And I apologized. Talking to me about the math? I didn't even post any math.

I don't even know what to tell people like you anymore. I posted screenshots with the abusive battery use and yet you come telling that it doesn't affect battery. It's like arguing with a wall in all honesty.
[BetterBatteryStats] KennyLegend:
Well mate what I know to date is that when my android os is high, my battery drain is horrendous. I don't have any apps or widgets running or wakelocks or anything like that.

What I also know is that Google engineers have studied this and say its hardware related to Samsung.

I'm not saying I'm correct but I believe it based on my own experiences.

I am quite willing to leave it at that in this thread cause I supposed android os is off topic here ;)
[BetterBatteryStats] sanches771:
Samsung Galaxy S 3 4.1.1 SER no root
[BetterBatteryStats] It_ler:
Nice battery life :good:

Only small suggestions:

1. I see some Fast Dormancy wakelocks. Try to change the Fast Dormancy state on your phone (e.g. with Fast Dormancy app from Gokhanmoral from Play store).

2. FaceDetection is active - disable it to see its influence to your battery life.

3. Disable/freeze Samsung Push service.
[BetterBatteryStats] Casanoaa:
Thanks i am using autostarts now . Ill remember this anyway ;)
[BetterBatteryStats] DJMartini:
msm_hsic_host

I searched the thread and didn't see anyone mention this, but I'm getting bad Kernel Wakelock from msm_hsic_host ... does anyone know what this is?
[BetterBatteryStats] chamonix:
Release 1.12B4

New beta is up, fixing dumpfile. I have now finished the refactoring for from/to refererence. This version also has a new storage mode of the references (no file system anymore, all refs are serialized to database blobs). That means that all existing refs will be lost after install and needs to be re-created. The to ref is hidden by default (set to "current").

Happy testing
[BetterBatteryStats] adxs2:
Thanks for your help! Even though i froze g.talk, there are two g.talk entries still showing up on BBS and they seem to consume quite a lot of battery. See the please.
[BetterBatteryStats] thechaoz:
Ok so after days and days of tweaking (kind of becoming obsessed lol) I've managed to get the battery drain to 5-6% an hour when completely idle. It's still not great though. I'm new to this battery stats thing. I've used Gemini to block auto start up on most apps, removed facebook, I've never auto synced. For example I'd go from 100% to 15% phone just sitting in eight hours. I'm on the road a lot so getting this down is important to me. If I'm using my phone a lot fine, but excessive drain in "deep sleep" is ridiculous.

The only thing I guess I have left is to disable background data. I don't have gmail on auto sync but will still get yahoo mails even with sync off and overall auto sync disabled. At what point does having a smart phone become pointless you know?

So an amateurs eyes look at my BBS log I see ostream,family feud, fantasy football etc being the alarms.Noticed some gosms stuff though I didn't get any texts both these nights. I'd appreciate a look at it with a more experienced eye. Should I just completely disable background data? I've included two days worth just to be thorough.

Thanks a ton in advanced guys!
[BetterBatteryStats] CazeW:
Bug report for 1.12B4. Can't select Since Boot (missing from the menu) as reference points on my N10 even after reboot.
[BetterBatteryStats] Karpfenhai:
Hmm..

Something is really weird, its not ereacting for minutes right after unplugging sometimes,

i did a reboot, clear cache but still weird, widget is not updating too.. is the tap to update function still implemented?

after reopening the app, all fields are empty again..

Heres a logcat for you:

View attachment logcat.zip

new Info, unknown error occurred, check logcat told me. Database column name is not unique... and ref name does already exist. Guess you will figure it soon, ;)
[BetterBatteryStats] Laynee1:
Anyone?

Handwritten from my Note 2
[BetterBatteryStats] kozmo21:
Do you have motion turned on in settings? ... quick glance, etc.

---------- Post added at 07:23 PM ---------- Previous post was at 07:21 PM ----------

Try turning off auto sync.
[BetterBatteryStats] cute_kayani:
Hahaha Another wakelock appears

Checkin Handsoff 98% what is this?
[BetterBatteryStats] thechaoz:
Help :(
[BetterBatteryStats] Casanoaa:
Try enabling checkin.. like here and see http://img.tapatalk.com/d/12/12/14/e8uzu8ur.jpg
[BetterBatteryStats] chamonix:
#308
[BetterBatteryStats] chamonix:
Thanks for the details. Do you have the watchdog active?
[BetterBatteryStats] Dasaa:
when i do that the saved log is empty... is it maybe because of BBS version, using latest 1.12 b3
[BetterBatteryStats] It_ler:
Your biggest wakelock is svnet ... and I found another user complaining about svnet wakelock => http://xdaforums.com/showthread.php?p=23074730#post23074730

In his case, ESPN Scorecenter app was the cause of this wakelock.

Maybe you should disable/freeze "espnfantasyfootball" to check its influence to your battery life.

If this does not help, then try to disable background data (e.g. enable airplane mode). But without any connectivity you can also turn off the phone. This will lead to the best battery life ;)

Better to optimize the other alarms, such as ostream and Yahoo mail. Maybe you can check your Yahoo mails with another email app, such as stock email app or K-9. Then check your battery life again.

Good luck !

---------- Post added at 09:49 AM ---------- Previous post was at 09:44 AM ----------

Try to use latest stable version => v1.11.0.0 !

Then try again.

P.S.:

The dump file will be saved in /sdcard/ and begins with "BetterBatteryStats" (followed by date and time) as txt file.
[BetterBatteryStats] cute_kayani:
in ur screen shot last one update change lock.. but in my Gemini this is not available.

And whenever i save this settings or like in earlier threads Gemini restore it to default. Unable to save this.

i think i should hard reset my phone and use it normally ,things are getting complicated.

Trying to minimize connectivity service wakelock and start discussion here but that lock remain there and one more comes up with more power to drain battery.
[BetterBatteryStats] Casanoaa:
http://xdaforums.com/showpost.php?p=35403205&postcount=10773

http://xdaforums.com/showpost.php?p=35406139&postcount=10781
[BetterBatteryStats] cute_kayani:
Gemini not saving :mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad::mad:

---------- Post added at 03:17 PM ---------- Previous post was at 03:14 PM ----------
[BetterBatteryStats] cute_kayani:
:eek::eek::eek:
[BetterBatteryStats] taz1458:
Here is my latest dump. Charged to 100% then let idle overnight. Lost 28%. Not good at all.

http://db.tt/sKpfPM9i

Sent from my Galaxy Nexus with XenonHD RC3 w/ Franco

Let's Go Broncos!
[BetterBatteryStats] It_ler:
Somethings wrong with your Since reference => only 11 seconds.

Please try to plug/unplug the charger/USB cable before recording battery stats next time.

I see "com.yinzcam.nfl.broncos.Broncos" is using your mobile network a lot. Maybe you should try to change its settings or disbale/freeze is, if you don't need this app/widget every day.