yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Perseus:
Do a quick test for me. Let the phone charge up to 100 %. Then disconnect, and immediately check in the Settings > Battery to see if it is still 100 %. Let me know if it drops bellow 100.

Also instead of Idle, give me a log after 3-4 hours of normal use. Follow the Google Services Mod I have linked later in this post.

This thread is what I referred to as Google Services mod. Yes you will loose some notifications. Stress is on Some. Don't think you will loose every possible notification out there. You need to decide if the battery or the one notification you will use. Also sign out of Google Talk if not using. Reboot and check if the Deleted wakelock is gone. If it has not then wipe dalvik and Cache in Recovery.

Do the Greenify options you mentioned. See how that goes for you. Give me a log after normal use as well. Yahoo mail constitutes what I call Rude Apps that don't follow their own settings.

Yes Audio Out is caused by other sounds other than user initiated music playback. In fact any use of phone's speaker will trigger it. No there aren't any pages where all wakelocks are listed. Except perhaps Google Code. That's not going to make any sense unless you can read code.Even there some of the Manufacturer specific ones are not presents.

Nope. You have to save before plugging in. You could enable settings to continue monitor after plugging in.
[BetterBatteryStats] Deni_NS:
This is my normal use. I charged to 100% unplugged the charger and went to settings and no there was't any decrease, it was still 100%.

Dumpfile: https://www.dropbox.com/s/voi99ec8aemk2m1/BetterBatteryStats-2013-10-14_012418517.txt

This is really tricky... I lost more percentage without sync than with sync and usage :D
[BetterBatteryStats] xavihernandez:
Hi peeps,

About my RILJ wakelock issue: I havd tried with another messaging client (GoSMS) but I still have it.

Anyone running CM10.2 can tell me if he has a RILJ wakelock increasing when sending SMS.

Thanks in advance.
[BetterBatteryStats] Perseus:
I agree Sync and Hangouts really are killing your battery.If your battery percent didn't drop after disconnecting, then there's good chance your battery itself is ok. I do assume you have auto brightness On with Idle Screen Timeout set to 15 seconds ?

I saw dramatic increase in RILJ wakelock for someone else here using Go SMS.I don't use SMS. I use Whatsapp.
[BetterBatteryStats] xavihernandez:
Does he run CM10.2? Stock SMS client or third party both produce partial wakelocks when sending. I would really like to understand why and be able to fix it.
[BetterBatteryStats] Perseus:
Please search all posts on this thread by [MENTION=1818459]chaoscreater[/MENTION]. I don't remember what ROM he had.
[BetterBatteryStats] Unuce:
Helloo, i have a problem..

I have some battery drain on my s3,and on normally use a cant get more than 2,5-3 hours of screen time, and more than 10 - 11hours of use, but i saw that other people have 4-5 hours of screen time and 14-15 hours of use..

Can someone helps?

Dump file in attachment:)
[BetterBatteryStats] Perseus:
Instead of Poweramp use some other lightweight player. Remove Facebook completely after signing out. Other than Music listening, please disable all other sounds clicks and beeps. You are not rooted but if you can post the Processes screen on BBS that would be great.
[BetterBatteryStats] lucas:
So is juice defender and greenify a good combo? Or is juice defender just a croc?

---------- Post added at 05:54 PM ---------- Previous post was at 05:48 PM ----------

I wouldn't get rid of poweramp, I've got it on my s4,and as long as the screen is off while your using it for the most part, it shouldn't eat up all that much battery. I'm currently letting my phone charge up to full, then I'm gonna dump my stats and screen shot my BBS screens so you'll be able to attack yours against mine. Audio out 2 seems to be the media being played, but the app itself isn't draining... Especially if it's greenified when your not using it.
[BetterBatteryStats] Perseus:
Some Swear by it. Others call it Placebo. I personally had even more drain even after I carefully configured it to my satisfaction.
[BetterBatteryStats] lucas:
Yeah looking at your stuff, I wouldn't say get rid of power amp, can you take screens of your alarms and processes after a good amount of normal use? And do you have greenify? Also, if your using a lot of the features from the s3, for example, on my s4 there's all this air view and smart screen, those just eat battery. Alarms and processes show you problematic apps of I'm correct.

---------- Post added at 06:11 PM ---------- Previous post was at 06:05 PM ----------

Yeah I'm running it with greenify now after not running it (only greenify) for a couple charges - keeping an eye on it in bbs, if it's causing a lot of drain, it would show up in processes or alarms right? I'm having a hard time judging what apps might be doing what since so many aren't labeled in my stats... I'm gonna post all my screens and my dump file after a full use though today so I can get some real feed back. It's hard though fix sometimes I'm downloading and uploading like a fool, other times is just music all day, other times I kill 3 hours on eBay with my screen on Mac brightness Cuz the one bad thing about the s4 is ****ty display in the sunlight. I mean, it's horrible.
[BetterBatteryStats] Deni_NS:
Well no. I like manual and not auto brighness. Besides for people who read (books or anything on web) a lot or chat its better to have at least 30 seconds timeout or maybe 1 minute because in many devices we have enabled touch frequency like me on S2 and I think it's 500Mhz on my phone default. So everytime you touch your phone to light up screen your processor will scale up to 500Mhz or 800Mhz or anything what's on default instead when you are reading it's on minimum freq.
[BetterBatteryStats] hyperbolic:
[MENTION=1330150]chamonix[/MENTION] ,

A new day a new ROM.

Flashed to CM10.1.3 stable and phonewindow wakelock is now gone so it was definitely ROM related.

I have now attached 2 logs, one represent the normal use and the other one idle time.

I'd love if you could review the logs and give me tips regarding the new ROM.

Thanks.
[BetterBatteryStats] jkc120:
What can I do about the WLAN drain?

wifi seems to be killing me. It's much worse at work, and I can't set a static IP. Is this just lots of broadcast traffic? Is there anything I can do to reduce the wifi related wakelocks? leaving wifi off isn't an option as I'm in a very weak LTE/3g area at my desk.

Currently my wifi settings are as follows:

network notification: off

keep wifi on during sleep: always

scannign always available: off

avoid poor connections: off

wifi freq band: auto

wifi-optimization: on

Also, wifi/location setting is off (I have GPS enabled though).

Any advice on changes would be appreciated.
[BetterBatteryStats] lucas:
Alright can some people take a look at this? I've got about 9 hours on this full charge, having watched movies and listened to music for a couple hours, and uploading to Dropbox for an hour or so. Basically constant use, without having greenified anything, only running juice defender ultimate. Next I'm going to run greenify as well, compare the two. My dump has all the info available too. Feedback is appreciated.

Dumpfile - https://db.tt/VkICZpin
[BetterBatteryStats] spartanhooah:
What do I have to do to see stats "since charged"? That option never shows up for me.
[BetterBatteryStats] chamonix:
Congrats!

The idle dumpfile is pretty good. The only potential I see would be the bandwidth use caused by Google search / Google now if you are not actively using that feature
[BetterBatteryStats] chamonix:
Fully charge your phone and unplug
[BetterBatteryStats] chamonix:
You are right wifi is your problem and as you mentioned correctly having this kind of problem on a WiFi that you can not control/configure is pretty annoying. Except if you find a kernel implementing a filter to not wake up you phone on incoming multicast traffic your best option IMHO would be to turn WiFi off when not used. Better Wifi on/off may help you doing that
[BetterBatteryStats] jkc120:
I don't suppose you know of a 4.3 kernel for the jflte* (jfltevzw here) that implements the multicast filter? :laugh:

---------- Post added at 09:31 PM ---------- Previous post was at 09:12 PM ----------

What if I disable multicast on the wlan0 interface with:

/system/xbin/ifconfig wlan0 -multicast

Would that do the same as finding a kernel without CONFIG_IP_MULTICAST?

I guess I'll give that a shot tomorrow. Problem is I'll have to find a way to run that every time the iface comes up. I can do it at boot time with an init.d script, but if I ever toggle wifi off/on, I have to re-run it. :(
[BetterBatteryStats] Perseus:
Yes the labeling is bit confusing. You could go to /system/apps or /data/apps to see the actual apps. There each app is usually called the same as it appears on BBS. I also use the icon to identify.

Post the dump and screens and then we'll see. :good:

Ok with your screen settings. So long you are willing to live with the battery drain. There are however apps for reading that will override system and keep the screen on longer. Also there are kernels that have better frequency controls.

Facebook, gmail sync seems to be top killer. Please remove facebook and switch to manual sync.
[BetterBatteryStats] spartanhooah:
Well of course now it shows up (immediately after unplugging it)! However, I always fully charge my phone overnight, and this is the first time in a long time that I've had that option available.
[BetterBatteryStats] lucas:
Dumpfile - No greenified apps, juice defender ultimate running, with about 2 to 3 hours of music and video playback, along with an hour of uploading to Dropbox, basically constant use....

https://db.tt/VkICZpin
[BetterBatteryStats] sfrique:
I can't disable sync for gmail. For facebook ok.

But i always had it syncing and did not have a problem.

How about the alarms values? Have any information? Thanks
[BetterBatteryStats] j1gga84:
Hi,

can somebody have a look on my log? I think I am on a good way but still can do better I hope :p

Thanks & Regards
[BetterBatteryStats] Perseus:
In your list, I didn't see google service or product use. Yet that's pretty high on usage. If you weren't using, do follow some of the advice on that topic in last few pages.

Everything else is normal use as you mentioned.

Facebook app should be removed. So should Facebook messenger if it exists separately. (I don't use so no clue) If you want to get on facebook, use mobile website. You can drag down top edge of Gmail to refresh manually. Do please turn off sync. If you must have it, battery will drain.

The alarms are what they are. It is based on that, I gave my recommendation.

You have got it pretty good. If you want do beat it down further, I suggest follow the Google Shared Framework Mod. Its been linked twice by me in last few pages.
[BetterBatteryStats] xavihernandez:
[MENTION=3639717]Perseus71[/MENTION] and [MENTION=1330150]chamonix[/MENTION]

Sorry to disturb you guys but you are really helpful...

I haven't fixed my RILJ wakelock yet, can you take a look at idle and active BBS log and logcat. You may will see something interesting, and have some advice for me.

Thanks in advance.
[BetterBatteryStats] lucas:
Are you talking about the two things I have circled in the picture attached here? In these screens, they were only running for a few minutes, but they are always high. I thought that Google one, you had to disable notifications of some apps to get it to stop? And that T-Mobile one, I've got that my account thing running so it tells me how many minutes and texts and data I've used in my notifications. Is that coming from that? I can't tell what the sources of these are...
[BetterBatteryStats] Perseus:
Can you reduce sync frequency of K-9 Email client ? Also please remove Phone App from startup. Instead of Boat Browser switch to Dolphin Browser or Stock browser for testing purpose. Observe if the others are taking wakelocks. Also configure the CM CLock to not check weather so frequently.

You are correct on all counts. Within the T-Mo app, there's a setting that alerts you when the data is turned off. Uncheck it so that the app won't notify when you turned off your data. It will still monitor your Data Plan usage as before. For Google Shared services, you have to see the thread I linked. Yes it will remove some of the notifications. That's the price you pay for idle time battery life.
[BetterBatteryStats] lucas:
I'll read the link your talking about. Is it just Google App notifications? Or other apps as well. I really only use maps, Google search Cuz that's the app that let's me speak my texts in SwiftKey, Gmail occasionally, but I don't need notifications from any of those I don't think. Thanks again.
[BetterBatteryStats] Perseus:
Mostly Google Apps only although Some said Whatsapp notification got borked. (Mine did not) It will break the Quick Tiles of Google Now. Check and roll back if needed. Better keep a nandroid handy.
[BetterBatteryStats] lucas:
What I did is just greenified it. Then I tried using the mic for my texts and it just wakes it up, then I can greenify it again after using it. That just means it won't get used by my phone in the background, just me whenever I need it right? I'm still getting a lot of wakelocks from that T-Mobile one. Even after disabling all the notifications except the one that sits in my notification bar, is the info that I keep in my notification bar from that app eating up all my battery?
[BetterBatteryStats] Perseus:
It probably is not. Wipe the data for that app then Reboot the phone, then observe Partial Wakelocks with period "From Boot"
[BetterBatteryStats] lucas:
And now Google play services isn't showing up in my bbs at all, not even after I woke it up myself using Google search and having to greenify it again... Is that normal?
[BetterBatteryStats] Perseus:
Yes it was reported that Greenify would do that.
[BetterBatteryStats] lucas:
But aren't we missing data then? If it's being opened by me, where is that showing up in bbs now?
[BetterBatteryStats] Perseus:
If it has no Wakelocks directly attributed to it then it won't appear in BBS.
[BetterBatteryStats] lucas:
One last thing, that carrieriq wake lock of T-Mobiles is still running a bit in the background after disabling all notifications from that app, even getting rid of the info in the notifications bar. What would greenify-ing that do, do you know?
[BetterBatteryStats] Perseus:
Did you follow the suggestion of wiping the data and then reboot ?

I don't use Greenify. I don't have that issue either. I only have it appear on BBS if it gave me that warning about data is turned off. If you open its startup entry using System Tuner, you will see the various occasions where it will likely take a wakelock. Uncheck those and your problem will be gone.
[BetterBatteryStats] lucas:
Yeah I see what your talking about, I guess I got no clue where to even begin deciding which ones to uncheck, it's got the permissions under the things I can uncheck. I thought I was changing the permissions?

---------- Post added at 11:47 PM ---------- Previous post was at 11:31 PM ----------

Is android tuner pro what I should get? That way I can actually change the permissions? There is an actual wakelock permission for the app, and if I could uncheck that, wouldn't that clear it up? I can't seem to mess with the permissions with system tuner.
[BetterBatteryStats] kmarc33:
Hi All,

Below is a idle dump. I've read the OP and done many, but not all, tweaks. Gmail and google calendar are used extensively for work so I haven't played with Autostarts yet. I want to investigate Tasker, BWON and Syncher interactions first. Note that I'm using CM 10.2 nightly. Getting about 1.7%/hour. I want to see if there's anything I missed before I work on periodically synching, and then do the Autostarts tweaks after I'm sure I'm not going to miss any mail notifications.

Thanks
[BetterBatteryStats] lucas:
Well I realized what I might be doing wrong, instead of only changing the permissions in the T-Mobile account app, but the actual system manager application that's actually causing the wakelocks, only turned off prevents phone from sleeping on both. We'll see if it stops them wakes... Doing just the one helped a lot, but it was still doing it. My juice defender has woke up 33 times in 3 hours too. Is that a lot? I think the auto disable wifi feature in juice makes juice look for wifi every fifteen minutes or something? I just can't decide if the wakes from juice outweigh the benefit its giving me in battery life... It says in getting 1.50x battery life. But I don't know if I trust that. Could be a gimmick...
[BetterBatteryStats] Perseus:
I have not used Android Tuner. No you are not changing permissions. Rather you are preventing the app parts from starting at boot. I don't believe you can't remove wakelock permission. That's granted by the kernel.
[BetterBatteryStats] lucas:
In system tuner, the things you told me to uncheck are so random, you've got no choice but to guess. I downloaded android tuner, which is basically the same thing, only more options, and I unchecked the "prevent phone from sleeping" permission. Now that carrieriq is barely doing anything
[BetterBatteryStats] Perseus:
Oh Ok its from the same developer. I'll give it a go. Good to know your app is behaving after removing the permission. Sounds pretty nice idea.
[BetterBatteryStats] Perseus:
Turn off Google Location Service and Location Reporting. Also sign out of facebook messenger.Reboot afterwards.
[BetterBatteryStats] Unuce:
How to turn of that google stuff?

Sent from my GT-I9300 using Xparent Blue Tapatalk 2
[BetterBatteryStats] Perseus:
Search is your friend. There are 2 locations.

1. Depends on your Rom but typically Settings > Location Settings will have option to turn off Location Reporting.

2. Open the Google Settings App. Inside click on Location. Turn off everything.
[BetterBatteryStats] Unuce:
Ok, thanks mate. :)

Sent from my GT-I9300 using Xparent Blue Tapatalk 2
[BetterBatteryStats] chamonix:
Removing the rights for an app the hold wakelocks is a dangerous game.

Wakelocks per se are not bad, they are a mechanism that guarantee that a block (of processing) can not be interrupted by the phone going to sleep. The wakelock is a problem if that block is called often, has a poor design or takes long. Removing the perm removes the symptom but not the cause and the side effects may be disastrous by not allowing an app to keep a consistent state
[BetterBatteryStats] xavihernandez:
Thanks for your answer.

K9 was set to PUSH and not POLL, I have just switched to 1h POLL.

I have removed Phone from startup thanks to Autostarts.

I have switched to Dolphin Browser (even I think wakelock from Boat were there because 1 or several pages weren't fully loaded when I hit Home button).

CLock only checks weather every 4 hours.

Well and I still have my ****ing RILJ wakelock when sending SMS.

Will post some log tomorrow I think.
[BetterBatteryStats] sd0070:
I assume this will essentially render Google now near worthless?

Edit: I only did number 2 and maps won't even use gps when opened?

Verizon GS4
[BetterBatteryStats] MENACE_69:
Can anyone tell me exactly what "Com.Android.Providers.Calendar" is please, im guessing it's related to my calendar app ? Im asking because every battery cycle it produces a high number of wakeups that i see under the alarms tab in bbs and it has me a bit concerned im guessing these numbers are unusually high right?
[BetterBatteryStats] GQJ:
BatteryInfo Service

Hello,

First of all, thank you guys for the work on the app and the battery troubleshooting.

Sometimes, when I open BBS (after unlocking the phone), I receive the toast message displaying…

“The ‘batteryinfo’ service could not be accessed. If this error persists after a reboot please contact the dev and provide your ROM/Kernel versions”.

Usually this just impacts the “Screen Off” reference, but on rarer occasions, my “Unplugged” references will be destroyed. After a reboot, it sometimes works, other times not.

I can’t detect the pattern of occurrence. But here is the log after it happened. Rom and Kernel information provided in the screenshot.

https://docs.google.com/file/d/0B-dYd8k1r1rLMTFPS1EyNVhZWk0/edit?usp=sharing
[BetterBatteryStats] Perseus:
Yes true on both counts. You could potentially use FakeGPS to make Google Now bit more useful.

That's Google Calender app. The wakeups come from it syncing too frequently &/or alarms.
[BetterBatteryStats] MENACE_69:
hmm.. I figured it was associated with my calendar app and that's what i thought too, but i dont have the google calendars app installed im useing the stock one. as for sync it's off for everything, i do it manually if at all. I usually only manually sync email and gmail but calendars is never sync'd which is strange and same for alarms i dont have any set.
[BetterBatteryStats] Perseus:
By stock you mean samsung ?

Do you mean to say you don't have gapps calender ? Yet gmail working for you???????/
[BetterBatteryStats] MENACE_69:
No! Lol That's not what i mean.

This is the one i don't have is in the play store (link below) this is the the one i thought you were referring to when you said "that's google calendar app" that was causeing my high wakeup count in my "alarms" tab in bbs

"Google Calendar app"

https://play.google.com/store/apps/details?id=com.google.android.calendar

the one i do have looks like this (screenshot attached) it's the one pre installed when your stock.
[BetterBatteryStats] ChosenZero:
Amazing app I love it
[BetterBatteryStats] Perseus:
ok well you need to find this apps apk and instead change to google one.

This app may be using google calendar internally.
[BetterBatteryStats] wilflare:
any idea what's causing this problem for me under Alarms?

"boot event was not registered yet, it will at next reboot"

I have rooted my phone and under Networks, the information does show up
[BetterBatteryStats] Rapture Veteran:
Question that might get me *****es out, but searching google and xda found nothing. I have 2 hrs and 33 minutes on and there is a cache update services taking up about 1 hour and 30 minutes of my partial kernel time. wtf is this? its new to me. im also going to ask the rom developer to see but its stock cm kernel so im confused. all my google location and stuff is turned off. no gps or anything
[BetterBatteryStats] lucas:
I wanna say that's Gmail auto syncing. Change settings so Gmail doesn't auto sync
[BetterBatteryStats] MENACE_69:
I wish i could agree with you and also say it's gmail auto syncing but all auto sync is disabled for gmail along with everything else on my phone. it's all done manually

---------- Post added at 10:36 PM ---------- Previous post was at 10:31 PM ----------

Thanks for your input perseus,that might just be why the wakeup count is so high. so i went ahead and cleared data and disabled the previous calendar app i was useing and installed the google calendar app. So I'll closely monitor my "alarms" tab in the bbs app and see if this problem persist or desist with the google calendar app installed and go from there. Thanks aigain
[BetterBatteryStats] Deni_NS:
https://db.tt/JT1iPr4q

Don't know how, but modem did the thing :)

I really thought that battery is old (2 years) and defective, but this phone is tough guy :)

Thanks mate ;)
[BetterBatteryStats] glehel:
i use betterbatterystats and very best android apk!

Thank you developer!:D
[BetterBatteryStats] OnAir783:
it is not unusual that the battery drains more from 100 to xy than eg from 68 to 67. My smartphone is an good example therefor
[BetterBatteryStats] Deni_NS:
If there is drain, no matter what, you'll have drain... Either you have 100% or 50%...
[BetterBatteryStats] OnAir783:
thats right :) but with the same wakelocks you will lost 5% if you are at 100% and ca 1% if you start logging at 68% (not with every rom or kernel of course but i read a lot about that) :)