yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] hollywood084:
Found this out there

"Greenify and Task killer kill your apps, but Greenify also disable the receiver in the greenified apps. This way the apps won't be able to start again stealthily. The pro version can act as a GCM proxy, in which GCM messages are rerouted to Greenify and it can wake a greenified apps, giving you the best of both world (no RAM and CPU usage, yet still able respon to push message) for messaging and email apps."
[BetterBatteryStats] egore93:
Head over hear and follow the OP and profit. It nocked my gsm way down.

http://xdaforums.com/showthread.php?t=2357417
[BetterBatteryStats] lafila:
Hey,

recently I received my Oneplus One and installed BBS. SystemUpdateService was't letting my phone sleep so I followed this instruction: http://xdaforums.com/showpost.php?p=53739230&postcount=5031

Now it's working like a charm, but anyway there are two services with too many alarms, compared to the others - Google's Services of course...

com.google.android.googlequicksearchbox (): Wakeups: 32 (10,4 / hr.)

Alarms: 13, Intent: etg.UPDATE_CALENDAR_ACTION cmp={com.google.android.googlequicksearchbox/com.google.android.sidekick.main.calendar.CalendarIntentService$CalendarReceiver}

Alarms: 13, Intent: {com.google.android.googlequicksearchbox/com.google.android.sidekick.main.TrafficIntentService}

Alarms: 6, Intent: com.google.android.apps.sidekick.SCHEDULED_REFRESH cmp={com.google.android.googlequicksearchbox/com.google.android.sidekick.main.entry.EntriesRefreshIntentService}

Alarms: 0, Intent: send_events cmp={com.google.android.googlequicksearchbox/com.google.android.voicesearch.logger.EventLoggerService}

com.google.android.gms (): Wakeups: 28 (9,1 / hr.)

Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.playlog.uploader.UploaderAlarmReceiver}

Alarms: 8, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: 6, Intent: {com.google.android.gms/com.google.android.gms.checkin.EventLogService$Receiver}

Alarms: 12, Intent: com.google.android.intent.action.SEND_IDLE

Alarms: 1, Intent: {com.google.android.gms/com.google.android.gms.checkin.CheckinService$Receiver}

Alarms: 0, Intent: com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE cmp={com.google.android.gms/com.google.android.gms.icing.service.IndexWorkerService}

Alarms: 1, Intent: com.google.android.intent.action.GCM_RECONNECT

Alarms: 0, Intent: {com.google.android.gms/com.google.android.gms.security.snet.SnetService}

Would appreciate it, if anybody could tell me how to silence them (for at least a bit).
[BetterBatteryStats] bryannn29:
Wakeup count on Android System seems high. Is this normal?
[BetterBatteryStats] chamonix:
Could you please repeat the reading after a reboot? This dumpfile suggests that your phone was awake all the time but there is no cause for that to be found in the stats
[BetterBatteryStats] QBall45:
Do we have a solution for this irritating wakelock? It's driving me crazy.

i605 running LiquidSmooth
[BetterBatteryStats] joshdax2:
Guys i have no idea what's draining my battery. It went from 47% to 11% in a matter of just 4 hours. I've already fixed the wakeups caused by usbstorage mounter using otg. My phone was awake all the time before. My phone now is able to sleep but the HUGE battery drain is still there. What can I do? Help me pls :crying:

Attached is the stats.
[BetterBatteryStats] mdamaged:
I hate to break it to you, but it looks like you may just have a dying battery. Try putting in a new one.
[BetterBatteryStats] Perseus:
googlequicksearchbox = Google Now AKA Google Search App. Its known battery Hog.

You have some Account/app that has been syncing like crazy. Turn off Master Sync or turn off that specific Sync.
[BetterBatteryStats] belloni:
Anyone have any other ideas except for the port?
[BetterBatteryStats] chamonix:
Looks like a modem driver to me. I suggest that you take this to your trusted kernel / ROM dev.
[BetterBatteryStats] Perseus:
Is there any Stock App or any other app that is looking for some docking ? The part where the screen comes on after you turn it off, indicates some app is forcing it to stay on. You may have to do factory Reset.
[BetterBatteryStats] chc31:
Hi there, just a quick question,

Is it possible to eliminate or decrease wakeloxks from third party music players?
[BetterBatteryStats] Perseus:
Depends on which wakelock. Typically the music player needs a wakelock so the phone does not sleep completely and turn off music playback.
[BetterBatteryStats] chc31:
Audio out 4 perhaps? There's always that and as you said, the wakeloxk from the music player. Check the screenshot please, is there anything I can tick that could possibly reduce any wakelocks?
[BetterBatteryStats] Perseus:
Please See Post No. 3 of [GUIDE] The Total Newb's Guide to Wakelocks
[BetterBatteryStats] :
Yes, it's very strange - if I could find something, I'd take care of it myself but this thing really boggles my mind. Anyway. A recharge and a reboot later, the problem seems to have disappeared. :confused:
[BetterBatteryStats] belloni:
Not that I'm aware of. I would have thought if I did, why would it only kick in around 95% onwards?!
[BetterBatteryStats] Perseus:
Difficult to say. But what I said earlier still holds true.

---------- Post added at 02:08 PM ---------- Previous post was at 02:06 PM ----------

Yes everything seems normal usage.
[BetterBatteryStats] jsr84:
I'm having a hell of a time with BBS lately. I keep getting the "BATTERY_STATS not granted DUMP not granted" message with the option to uninstall as a system app. I decided to install it fresh from the Play Store, and convert it directly to a system app. and still I get the same message. I can hit the back button and gain access to the app but if I try and select the processes window it FC's. Anyone?
[BetterBatteryStats] mdamaged:
Uninstall it, then go into /system/priv-app and make sure nothing remains, reboot, then install 1.16, and open it, inside the app, install as system app, reboot, and see if it worked.
[BetterBatteryStats] jsr84:
So far so good, only time will tell because it was working perfectly.

Thanks for your assistance!
[BetterBatteryStats] chamonix:
What are you talking about? while playing music the device obviously need to be kept awake so there is no way to prevent that. Or are you talking about wakeloks caused by that kind of apps while they are not in use?
[BetterBatteryStats] SirM2X:
Quick question:

On my SHIELD (4.4.2) the "Kernel WakeLock" page is always empty and the other tabs don't really give me an idea of what's draining my battery!

Is this a common issue? What should I do?

Thanks in advance :)
[BetterBatteryStats] chamonix:
enable debug logging in advanced settings, open the kernel wakelocks and post a logcat + dumpfile
[BetterBatteryStats] hugobitola:
[I9100][CM11 M8] Another wakelock question

Hi folks,

Yet another wakelock problem.

I was using the latest stable SlimKat ROM for I9100 and was experiencing a lot of wakelock.

Actually my phone "never" goes to DeepSleep (only some seconds by hour).

Then I tried to use CM11 M8 (currently running).

Turns out that the wakelock is still there.

I've dumped all information from BBS and also got some screenshots.

Could someone kindly advise me here?

I just put my phone in airplane mode as I write this post.

I'll get the BBS logs in 30 minutes from now and post it back here.

Meanwhile, any help is much appreciated!

Thank you!
[BetterBatteryStats] Perseus:
Airplane mode Logs don't help a lot. If we are pinning down some specific part, then such a log will be useful.

From the log you have attached, I see Google Now is extensively using Location Service. That is primary source of issue. Facebook is your secondary issue. Are you doing any CPU Frequency Manipulation or Overclocking ?
[BetterBatteryStats] hugobitola:
Hi Perseus,

I'm not doing any over/under clocking.

I'll turn off google now, location history, location report, uninstall facebook and uninstall facebook messenger to test it again.

Just give me some time to collect enough data with bbs.

Thank you!
[BetterBatteryStats] Perseus:
Remember to reboot after you do all that and before you start collecting data.
[BetterBatteryStats] simonski_:
Xperia Go

Hey guys, could anyone give me a guess on what keeps my phone awake? (Note, that the phone is not rooted.) Thanks in advance.
[BetterBatteryStats] rj.camargo:
Hey guys,

I'm having problems with BBS on my Xperia Z2. Whenever I try to install it as a system app y says "failed". I'm rooted and everything. Any idea on how to fix this?

Thanks
[BetterBatteryStats] hugobitola:
New data from better battery status

Hi Perseus,

I rebooted before the data collection.

Here is the new status, still draining more than 10% per hour and almost no deep sleep...

Thanks for your time!
[BetterBatteryStats] Perseus:
Please turn off Location Service and Google Location Reporting.

Use the CWM Zip file in the OP.

Turn off Fast Dormancy. There is a Modification posted in this thread by @Karpfenhai. I have linked it several times. Please look for it. You need System Tuner App to apply it. Do so.

Instead of 1 hour, please get me an overnight Idle log. Once again remember to reboot before you leave it Idle.
[BetterBatteryStats] hugobitola:
Fast Dormancy

Will FD affect my battery life even if I have mobile data turned off?

I'll try to send you overnight data...

Thanks! :good:
[BetterBatteryStats] winamp26:
Hi

How to disable apps wakeup on Nexus5?

I install xposedAppOps but I can't disable wakeup!

Sent from NEXUS5
[BetterBatteryStats] swat4samp:
I got many play services wakelocks on my nexus5. Some screenshots:

Sent from my Nexus 5
[BetterBatteryStats] chamonix:
Please read the OP in order to understand the kind of information required for an analysis and provide an idle dump.
[BetterBatteryStats] chamonix:
There is no default way to prevent Wakeups but those can be influenced on an individual basis. Please read the FAQ and provide an idle dump.

Hint: poking with app permissions is never a good idea and will most probably lead to worsening the battery drain. I recommend deinstalling the appops extension
[BetterBatteryStats] swat4samp:
Thanks for replying. My bad, I forgot to take a dump, I already plugged in charger. Is there any way i can take a dump of the previous statistics?
[BetterBatteryStats] gaich:
Sorry, still noone can explain my two humble questions?:confused:
[BetterBatteryStats] Giowi:
You could try Greenify.It's really a great apk.You can find it here on xda
[BetterBatteryStats] winamp26:
i install greenify and i want to disable wakeup like google play services
[BetterBatteryStats] chamonix:
The attachements are the different releases of the CWM package. There is no reason not to use the latest one.

About the reading. Screen On time seems off indeed. The only explanation I see for that would be if the value was not read from the stats but calculated (and in that case buggy). The calculated value would not be used except if the reading was taken on an unrooted 4.4 device
[BetterBatteryStats] chamonix:
Suggesting a tool to solve a problem that we know nothing about - as we have not seen any reading yet - is not the way that we usually proceed in this thread
[BetterBatteryStats] chamonix:
No, you should repeat.
[BetterBatteryStats] Giowi:
google play services is one of most important apk of android system.You could have problem.I suggest not to greenified it
[BetterBatteryStats] an0n981:
Just one small correction, Google Plays Services is one of the most important APKs of the Google System, not the Android System.
[BetterBatteryStats] hugobitola:
More data

Hi Perseus,

It was not possible to collect overnight data because my battery didn't last enough.

At around 17h I unplugged my device from power and went home.

Used it some times and then left it idle for some time.

Before I go to sleep the battery was already critical, then I exported BBS data and here it is...

Thanks for the patience!
[BetterBatteryStats] swat4samp:
Is it best to greenify play services or leave it alone? I heard it causes more wakelocks if i greenify as it doesn't automatically hibernate :confused:
[BetterBatteryStats] Perseus:
Not quiet. You can freeze/disable it without problem unless you want to install something from Play store or other Google apps requiring authentication. Please don't try to derail this thread by suggesting flawed apps for problems we don't know the details. Point the user to Greenify's thread if you really feel like it.

What he said! ^^^

That app has a fundamentally flawed premise.

You have a Question on Greenify ? Ask it on THAT Apps thread. Don't derail this thread.!

Several issues.

1. Turn off Fast Dormancy. If you thought you have done so already, then it didn't work.

2. Settings > Wireless>Advanced. Set the Setting "Keep WiFi on during sleep" to Never. Also turn off "Scanning Always available".

3. either set a Static IP to this phone on your Wireless Router or increase its DHCP Lease time to 48 hours.

4. Remove CynogenMod cLock.

5. For 4 hours you did not have signal of any kind WiFi or Data. That did cause drainage while searching for signal.
[BetterBatteryStats] hugobitola:
I used this app: https://play.google.com/store/apps/details?id=com.gokhanmoral.fastdormancytoggle.i9300&hl=en

Maybe it isn't supported by my carrier?

Just did this, also I'm disabling wifi for the next hours...

Won't do it... see below.

I removed from my home screen, but not being able to remove from lockscreen...

My internet connection was unstable last night... I noticed when I was trying to export the BBS via Google Drive.

Tonight I'll just disconnect from wifi and mobile data, so no need to set static IP or increase the lease time on DHCP.

Thank you!
[BetterBatteryStats] Perseus:
May be that app didn't get Root access or something. Perhaps it needs Siyah kernel to work.

Do change DHCP lease time anyhow.
[BetterBatteryStats] raj3366:
Is this a bug or user misunderstanding? Adding up screen time does not result in 100% mainly because screen medium % calculation is wrong? How can 40m (screen medium) be 2% while 8m (screen dimmed) be 12%. There was a screen on time on the top which was for 48m+ (out of frame).

Picture attached.
[BetterBatteryStats] hugobitola:
I think it is because the rest of the states must be down (out of visible screen)...
[BetterBatteryStats] Hedied4me:
Is there anyway to keep Google checkin service from draining my battery? I don't have Google search or Google now on my device and location is kept off until I need it.

Sent from my cdma Virgin Mobile HTC Desire 601 zara_cl
[BetterBatteryStats] phil_:
Hey,

I would really like if someone could take a look at my logfile. Which is why I am going to give you some info about my setup and how the data was collected:

Fully charged the phone and did not touch it until making the screenshots (see below)

The Phone is connected to Wifi network which is what I want to keep since I don't have the best data plan and would like to reduce cellular data usage

GPS was turned off but location settings were partially turned on (get location by my network)

The phone used 25% of energy in 8h 34 min, keeping the phone awake for over 2h - again: phone unplugged, screen off, not touched at all

I took some screenshots first thing after beginning using the phone again. They can be seen in this Dropbox folder. (Hope it's ok to share these with you this way)

Judging from these infos (and the low percentages) I cannot really identify any reason for the energy consumption. Of course wifi was turned on and I use Talon Pull to get notifications of Twitter activity instantly. So that might be one reason - but since I am no expert at all I would like to hear your opinions about the amount of data consumption, possibly reasons for it and how I could reduce it. I know that there is a lot of info in here about what to do when you know what's causing trouble. The thing is that it's hard for me finding out about what's causing it so it would be a great help of you.

I attached a log file and hope everything is like you need it. Sadly I only saved the logfile a short while after taking the screenshot but phone was not used that much in the time between. (log file can also be found via the Dropbox link above as .txt and .json)

Thank you very much!
[BetterBatteryStats] Perseus:
Been reported before. Wait for next release.

Search this thread for [MENTION=4355376]Karpfenhai[/MENTION]'s Mod.

Please go to Settings > Wireless > Advanced > "Keep WiFi On during Sleep" Set it to NEVER. Also uncheck "Scanning always available" in there.

On your Wireless Router, turn off IPV6 if its on. Also increase DHCP Lease time to 48 hours. Turn off Data completely when on Wireless. Search this thread for [MENTION=4355376]Karpfenhai[/MENTION]'s mod. Both facebook and twitter need to go. They are a hog. CM's Clock widget should be removed completely. You'd find it with Titanium Backup under System programs.
[BetterBatteryStats] phil_:
Thank you for your time to answer! Seems like there is a lot that can be done.

Maybe I am having trouble keeping in mind the difference between sleep and awake. But doesn't that mean that during the night my phone won't be connected to the wifi which wouldn't be so nice if the phone would sync something. But when it does it's not sleeping so it will connect to the wifi anyway? But then again is there any scenario where having wifi turned on during sleep makes any sense?

I'll do the rest as you suggested. For the start I'll disable the service in the Twitter client that provides push notifications and see how much that helps. What would you suggest regarding Facebook (I don't really need the app much but sometimes it's nice to have. Maybe it's time to think about just using the Browser version)?
[BetterBatteryStats] Perseus:
turn off Master Sync at night so it does not go looking for Internet. In the morning see the network tab of the BBS to see if anyone used internet. Then turn that off instead of Sync in the night.

Facebook is a poorly written app that does not follow its own settings. Please switch to browser version.
[BetterBatteryStats] Karpfenhai:
Hmm, the calculation doesn't always fail, works for me on 4.4.4 and Apolo kernel, maybe another kernel can help you here too?
[BetterBatteryStats] chamonix:
this is unfortunately not a systematic problem (can't reproduce). Please enable the advanced debug settings and post a logcat+dumpfile next time you can reproduce
[BetterBatteryStats] mzaur:
I'm getting some bad overnight drain but BBS isn't showing me anything. Could anyone please take a look?

http://pastebin.com/8wGTfRrJ

The only thing which looks out of place is the high number of ipc_rtr_q6_ipcrtr wakelocks but I can't find any info about it
[BetterBatteryStats] Perseus:
Please go to Settings >Wireless > Advanced Set "Wireless Always on When Sleep" (or something to that effect). Set it to never. Also turn off Scanning always available.

Either Turn off Location Service or Google Location Reporting.
[BetterBatteryStats] mzaur:
Thanks. So it looks like a wifi problem? I thought LTE would drain more battery than wifi. My google location is already off and wifi scanning is also off, but I do have wifi to be always on during sleep. I'll try to turn it off
[BetterBatteryStats] Perseus:
You also have Location Service On. Please turn that off.
[BetterBatteryStats] Deni_NS:
I don't know what is draining battery... No sim in there, so... I know to read logs, but i'll need help from [MENTION=1330150]chamonix[/MENTION]
[BetterBatteryStats] Perseus:
Read my post 3 post above yours.
[BetterBatteryStats] Deni_NS:
Are you kidding me? It's not problem with wifi. Did you saw log?
[BetterBatteryStats] Perseus:
I saw that's why I asked that.
[BetterBatteryStats] Vivek_Neel:
WiFi was running all the time.

Also change the kernel and see.

These are the cause of your battery drain .
[BetterBatteryStats] raj3366:
Thanks for the reply.

Sorry, I could not attach the logs from the mobile app and had to get access to my laptop. I am able to consistently reproduce this. I have attached the requested logs herewith - captured them after enabling debug option as suggested.

I am running 1.16.0.0 version on a Skyrocket running SultanXDA ROM + pa gapps + "pure performances" tweak. Please let me know if any other details required.
[BetterBatteryStats] Deni_NS:
I have S3 and don't have that probs. Everything is same just in Mi3 is that i don't have so much apps as in S3 which is primary device.

So i thought that somebody may have some answer on that... Because if you see there is Awake (): 3 h 51 m 55 s and you are referring to wifi... Now you go to wakelocks and there is qcom_rx_wakelock (): 51 m 8 s that is wifi...

So...

Where are others 3h of awake?
[BetterBatteryStats] chamonix:
I don't understand why you are fighting the recommendations instead of following the recommendation and provide another dumpfile so that we can go the next step. In the reading that you provided the most awake is cause by wifi. If it is 100% or not doesn't matter, other the biggest trees (obvious findings) hide the rest of the forest. This is how tuning goes.
[BetterBatteryStats] a1exus:
Can someone comment on my BBS report please?

https://www.dropbox.com/s/9dglh1yp2yavhg3/BetterBatteryStats-2014-08-01_181619213.txt
[BetterBatteryStats] roey1:
Hey ,

Can someone analyze what is my problem?

http://www.siz.co.il/my.php?i=tjunkh2z0joz.png

http://www.siz.co.il/my.php?i=nyzzgyldwbwt.png

http://www.siz.co.il/my.php?i=xtymmqmmnezi.png

http://www.siz.co.il/my.php?i=q5gmvz3wmmow.png

http://www.siz.co.il/my.php?i=ew1mzziywfmz.png
[BetterBatteryStats] Deni_NS:
There is no fighting... I'm here from the beginning and I learn almost everything about reading logs, and there are times when I don't understand how that and that happens so I come here to ask. I'm not a noob user or so, just wanted to have longer explanation other than disable wifi...

That's why I was furious... Wifi wakelock was 51 minute and total awake time was almost 4 hours... Is it hard to explain where goes other 3 hours of awake?
[BetterBatteryStats] Bl4ck3urn:
Skype sync prevents deepsleep. Change your settings or delete it.
[BetterBatteryStats] chamonix:
A WiFi wakeup caused by broadcast/multicast powers the radio up and this always comes with a tail so this is one option. The other would be that there is something else 'hidden' that will come up one the wifi thing is fixed. The next step would be to follow the recommendation and to post a reading after that so that we can see the effect of the change and what is left
[BetterBatteryStats] chamonix:
1.16.1.0B1 is up with a few bugfixes. If you are using the watchdog this version should fix the faulty 100%-awake alerts.

This release will be limited to bugfixes in order to get pushed fast. After the testing is over I will resume my work on the next "big" release
[BetterBatteryStats] swat4samp:
One question: Is it possible to show battery statistics since unplugged the charger even after i reboot the device? Battery statistics automatically changes to since boot and even in main settings, its showing time since last boot statistics itself.
[BetterBatteryStats] chamonix:
The short answer: no it is not possible.

The long answer: see the FAQ in post #3
[BetterBatteryStats] sewe:
unfortunately, now it doesn't reports at 100% awake instead

SM-N9005 via Tapatalk 2
[BetterBatteryStats] chamonix:
Could you please be a little more precise and provide a logcat+dumpfile?
[BetterBatteryStats] sewe:
Ok I will get you a logcat later,it doesn't get me the 100% awake alert when I know it has been awake the hole time when for example, I have been listening to music.

SM-N9005 via Tapatalk 2

---------- Post added at 07:08 PM ---------- Previous post was at 06:36 PM ----------

https://www.dropbox.com/s/d3n37h31trklg9w/dmesg-2014-08-02_200344247.txt

https://www.dropbox.com/s/dbi33zy1ez6ydrw/logcat-2014-08-02_200343991.txt

https://www.dropbox.com/s/6targzvdm3zutdl/BetterBatteryStats-2014-08-02_201238854.txt

https://www.dropbox.com/s/ct3i90isqr9che6/BetterBatteryStats-2014-08-02_201238913.json

SM-N9005 via Tapatalk 2