yashsingh1/xdaforums huggingface dataset:
[BetterBatteryStats] Karpfenhai:
Either WIFI or Modem related drain, check whether it persist in flight mode, if not, try another baseband and install better wifi on off :)

Good Weekend.
[BetterBatteryStats] SilverASH:
Hey man, could you look my dump files too?

I would really appreciate it!
[BetterBatteryStats] chillmeow:
I guess no one is on T-mobile using its visual voice mail.

That app has issue with GsmInboundSmsHandler which wouldn't release wakelock.
[BetterBatteryStats] skivnit:
Where do you see that? I don't see any kernel Wakelocks l2_hsic should appear if baseband is wrong.

Sent from my Perseus powered octa
[BetterBatteryStats] Karpfenhai:
Disable Google search, sign out all location reporting, get rid of Facebook, post another but clean idle dump.

Tapatalked from my Galaxy SII
[BetterBatteryStats] jd00g:
Love this app and this thread. Learning a lot from you all. Thanks.
[BetterBatteryStats] artttur:
Need help one more time.

Flashed new ROM, and now can't bring device to deep sleep. 8% in 3:52 hour... Newer before have had something like this.

Regards.
[BetterBatteryStats] Perseus:
Nothing much to see out of this. Please reboot and check to see if the Play store is done updating whatever apps it was. If it does update after reboot then, reboot again after done. Let it sit idle after that for 3 hours or so.

At this time I suspect the Rom is still settling in. So The reboots may help finish that.
[BetterBatteryStats] wilflare:
I'm getting really lost with my issues here.

the phone does not go into Deep Sleep and the Kernel and Partial Wakelocks indicate nothing :/

can't provide a log now... will post one up tmr
[BetterBatteryStats] skivnit:
Can someone explain to me what's happening?
[BetterBatteryStats] Karpfenhai:
What Rom are you on?

Use terminal emulator and do a top, guess it's a zombie process.

Tapatalked from my Galaxy SII
[BetterBatteryStats] wilflare:
I'm on Stock ROM and Kernel.

MJ7 on my Galaxy Note 3

hmm gotta google how to do that terminal emulator thingum.
[BetterBatteryStats] chamonix:
A more precise question and a dumpfile will certainly improve the quality of responses
[BetterBatteryStats] rignfool:
Download the terminal emulator...

Grant superuser...

Type

top

Look for what's taking all your CPU cycles...

Alternatively...

Type

top | grep (what you think you are looking for)

That will filter all the crap you don't wanna see
[BetterBatteryStats] twowheeler:
I uninstalled the system app but it still gave me the option to delete updates when deleting the app (like it would on a system app). App is gone though. Is this normal behaviour?

Was just a fresh install BTW. Can't quit this awesome app of course
[BetterBatteryStats] Deni_NS:
[MENTION=1330150]chamonix[/MENTION] don't know if anyone reported bug or said something about 1.15 version but showing what brightness we used is broken

I used 100% and 50% and 10% brightness and still only shows screen dark.

Sorry if I repeated but search on tapatalk is awful.
[BetterBatteryStats] Peanuts.:
Something has been waking my device, causing approximately 1%/hr & I'm not sure what it is. Previously this was approximately 0.1%/hr. This is more noticeable on wifi as I can see this on the Android battery stats. (screenshot below)

I use Greenify and have hibernated majority of my apps.

Device: Nexus 5

Rom: Stock 4.4 Kitkat

Kernel: Stock

Your help will be much appreciated.
[BetterBatteryStats] te2k:
No Sleep :(

Hi Guys,

Please find attached log & dmesg and help me decipher what is keeping my phone awake.

Any help much appreciated. Thanks
[BetterBatteryStats] It_ler:
I suspect wifi itself ... seems to be a network (WLAN) communication.

With wifi off all the time, it's better?

You can try Better Wifi On/Off app from Play store to manage your wifi properly.

This could help me to save battery life.
[BetterBatteryStats] Karpfenhai:
Jepp, same assumption plus suspend_backoff point to a sensor going mad.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Peanuts.:
I'll try it with Wifi turned off & post the results.

These are my settings. Also IP is set to static.
[BetterBatteryStats] RovG:
Guys & Sir [MENTION=1330150]chamonix[/MENTION] :D,

With reference to the screen capture above, my understanding is that when wifi is on/running then gsm/wcdma/lte data is off. Therefore shouldn't BBS take this into account when showing values for "No Data Connection" & "No or Unknown Signal"?
[BetterBatteryStats] SilverASH:
When wifi is on, gsm is off? Then how do you think you can call somebody when gsm is off?

Yeah, wcdma/lte is off in 4.3 when wifi is on but in 4.4 wifi and wcdma/lte can be on at the same time.
[BetterBatteryStats] dshoe:
Is anyone having trouble getting the app to request root? I'm on 4.4 with SuperSU flashed and root works on every other app, but does not even get requested with BBS.
[BetterBatteryStats] neol23:
I got my pgone awake constantly because of notification and google services.

Hiw can I reduce it?

Using phoenix rom 15.7 + devilz 1.8.1.

Thanks,
[BetterBatteryStats] atomomega:
You have to enable Root Features under Advanced for it to prompt root request.

Sent from my HTC Desire C
[BetterBatteryStats] Lither:
Can someone help me with my BBS dump file, my battery goes down at night by 20% in 8-9 hours
[BetterBatteryStats] RovG:
I was referring to mobile data. My point being; when wifi is on, mobile data is off. Therefore, I am suggesting that the value of the duration for "No Data Connection" (NDC) or "No or Unknown signal" (NUS) should be less the duration of wifi on! i.e. NDC should be time without wifi or mobile data. Since we know the time in state for wifi or strong, moderate & weak signal, NUS should be time on, less the time in the sum of these states.

I don't have 4.4 yet so I don't know how it works there.
[BetterBatteryStats] dshoe:
Thank you very much.
[BetterBatteryStats] Peanuts.:
These are my results with Wifi off. Deep sleep is very good. However battery drain is still higher than usual. Thanks for your help again
[BetterBatteryStats] Karpfenhai:
This happens due to android limitations and cannot be avoided, Wi-Fi on = signal counter stops reporting.

So no signal is thrown.

Regards

Tapatalked from my Galaxy SII

---------- Post added at 09:46 PM ---------- Previous post was at 09:43 PM ----------

Not in this dump, did you even read it?

Tapatalked from my Galaxy SII

---------- Post added at 09:53 PM ---------- Previous post was at 09:46 PM ----------

I afraid you can't do much better besides reducing some alarms.

Tapatalked from my Galaxy SII
[BetterBatteryStats] It_ler:
As Karpfenhai said ... nothing big visible.

A little bit Facebook and a little bit Google search.

To have less alarms, you would have to uninstall or disable these apps ... but maybe you need/want them on your phone.

My tapatalk signature:

Phone:

SGS2 (GT-I9100)

ROM:

XWMS1 NeatROM Lite v5.4.2 (PDA: XWMS1 / PHONE: XXMS4 / CSC: NEELS1)

Kernel:

Apolo v4.12 (Regular)

If you have any question about or any issue with your SGS2, just ask in the New members friendly Q&A thread.

Have a :eek: at my latest kernel test results.
[BetterBatteryStats] :
Sorry to dig this out again. So what are the advantages if I would do so? I have root, so this wouldn't be a problem.

And have you read about the xposed module which kinda enables the old function of getting battery stats again? Would you recommend it?

I've searched a little bit and read the OP but no info on both. I hope this hasn't been asked before.
[BetterBatteryStats] Lither:
What do you mean? Do you know what's causing the battery to drain fast?
[BetterBatteryStats] Lownita:
Any ideas what is causing my wakelocks? Especially the Google search is giving me a headache.

https://www.dropbox.com/s/ug6ozqg2xondy9t/BetterBatteryStats-2013-12-02_110013543.txt

Thanks!

Tapatalked from my Nexus 5
[BetterBatteryStats] It_ler:
I suspect Google Now (maybe in combination with Google+). I had a similar experience on the Nexus 7 (2013) with Kitkat.

You can try to remove/disable Google Now and Google search to check if your phone is able to go to deep sleep more often.

If you need/want these apps, than you have to check every option in Google seetings, Search settings, etc.

And I found a strange alarm culprit:

com.rageconsulting.android.lightflow (): Wakeups: 642

Maybe it's a good idea to check lightflow settings or just disable it too.
[BetterBatteryStats] Perseus:
Take a look at the Alarm Section. The Top alarm will give a clue. I suspect Google Play Service or the receiver for Google Cloud Messenger going crazy.

Your dump does not have sufficient information to tell. All I see is Google Play Service going banana.
[BetterBatteryStats] supergecko:
I need some help guys! I've got some major alarms from my phone which are keeping it from going into deep sleep. See the attached image.

Its something called ACTION_CHECK_NETSTAT which has an enormous amount of wakes. I don't get this in when using WiFi, or if I use any cyanogenmod.
[BetterBatteryStats] Perseus:
When on Data, Briefly turn on Airplane mode or reboot the phone. Seems like you are not getting correct Tower Lock.
[BetterBatteryStats] itsLYNDZ:
Whats eating my battery? Cant seem to get the battery drain under control on this 4.3 rom. Im ready to switch back to 4.2.... Dropped almost 20% just sitting on my desk all morning. I know I get poor service so its been in airplane mode also.
[BetterBatteryStats] Lither:
How do I reduce the amount of Google Play Service alarms?
[BetterBatteryStats] neol23:
Convert it to user app with TB and use greenify to hibernate it when screen is off.

Last services version kept my phone awake all the time...

Now - it's ok ;)
[BetterBatteryStats] It_ler:
Biggest wakelock is:

Checkin Handoff (Google Services): 4 h 47 m (17220 s) Count:18 99.4%

Have you disabled any GSF or Google autostart ? If yes, then enable it again.

Maybe you should remove your Google account and re-create it. Then check if this wakelock will decrease.
[BetterBatteryStats] itsLYNDZ:
I have a few disabled in Autostarts/Diable Services because im trying to save battery. Do you know what specific one this Checkin Handoff is related to?
[BetterBatteryStats] It_ler:
Not exactly.

AFAIR it is an autostart of Google Service Framework (GSF) or Google Play Service.

I recommend to enable all autostarts of both, then reboot and check if this wakelock is gone (or at least significantly lower).

Then you can disable autostarts one by one with rebooting inbetween and checking wakelocks again.

So you will identify the autostarts that lead to massive wakelocks.

EDIT:

Here is a list of autostarts that can safely be disabled ... by Casanoaa.
[BetterBatteryStats] Lither:
Do I need TB Pro to convert it to user app?
[BetterBatteryStats] itsLYNDZ:
I only have GSF that has checkin or gtalk in it disabled in Autostarts. Shouldnt that stop it? I dont understand
[BetterBatteryStats] It_ler:
Enable all checkin autostarts of GSF. That should help ... hopefully.
[BetterBatteryStats] itsLYNDZ:
But theres athread somewhere on here that says to disable all of those to prevent wakelocks....
[BetterBatteryStats] supergecko:
What am I supposed to look for when doing these? I've had this problem for months since I changed provider, and rebooting hasn't helped. Airplane mode stops the alarms, but when I turn it off the alarms returns.

EDIT: After a little detective work, using only 2G also stops the alarms.
[BetterBatteryStats] It_ler:
I have already posted a link to Casanoaa's description of the GSF autostarts which you can safely disable.

Read back and compare his autostart settings with yours.
[BetterBatteryStats] te2k:
No Sleep :(

Hi Guys,

Please find attached dumpfile & dmesg and help me decipher what is keeping my phone awake.

Wifi turned off. No Chrome installed.

Any help much appreciated. Thanks
[BetterBatteryStats] Karpfenhai:
Do not mess with gsf if you don't know, what you are doing, you'll make it worse!!

IT_ler is right, enable all those check-in receivers and reboot, should fix it.

Regards.

Tapatalked from my Galaxy SII
[BetterBatteryStats] Perseus:
I don't think so. I can be wrong. I have pro version.

You don't have to keep Airplane mode on for a long time. Just do it for a minute or two. Can you check coverage of your carrier in your area ? Do they even have LTE in your area ?

Freeze that app.
[BetterBatteryStats] Lither:
Google Play Service is Play Store?

Should I freeze the app or convert it to user app with TB and Greenify it?
[BetterBatteryStats] Perseus:
No its not the Play Store. Freeze it for now. You may get possible authentication issues with Gmail. In that case wipe the data for gmail.
[BetterBatteryStats] Markox89:
Sorry for the intrusion.

Google Play Services isn't the Google Play Store itself, but it's needed for it and other Google Apps as well.

So, in my opinion, freezing it is not advisable; maybe it's not a good idea even Greenify it (I think I read somewhere not to), but for this you should listen to more leaned users :)
[BetterBatteryStats] chamonix:
In a nutshell: system app gives you the full functionality on kitkat and it is implemented as android is designed and respecting the security model, without it you get almost full functionality but with a workaround, the exposed needs some testing and you depend on a third party implementation (of quality). Because of that and without doubting that the Xposed module works I recommend installing bbs as system app as this solution respects the design patterns of android in regards to the security model. I may support the Xposed module (and Xposed itself) in the future but it requires more testing and is not a pris to me right now.
[BetterBatteryStats] dark_ente:
I have some problem with my wakelock, can't pin down the source

can anybody help me?

Thanks
[BetterBatteryStats] flex0r:
AudioMix keeps messing with my N5 while sleeping. Did a factory reset last night, running stock kk with xposed and gravitybox. Any suggestions perhaps? Included BBS log and logcat.

https://mega.co.nz/#F!14tGHa5J!qX12fIMJW0fG3didUJp4lw
[BetterBatteryStats] :
Thanks for your reply. I now installed it as system app and will wait to install the xposed module. But I don't really need it now too if I understood right.
[BetterBatteryStats] supergecko:
The Netherlands is still implementing LTE, so it's 3G/2G only. Still, the coverage is good for both. Alarms happen in other cities too so not really position dependent.
[BetterBatteryStats] AUSTAB2012:
Can anyone tell me how to reduce or get rid of the top wake lock in my screen shot?
[BetterBatteryStats] tmanschuette:
http://xdaforums.com/showthread.php?t=1811365
[BetterBatteryStats] Perseus:
Not sure I got your point. What are you getting at ?
[BetterBatteryStats] Lither:
How do I reduce these wakeup alarms?

com.google.android.gsf and android
[BetterBatteryStats] cukierkas:
Hello there. Easily. Xposed + per app hacking module. Works at it should be.
[BetterBatteryStats] twowheeler:
As a kitkat user, what is the preferred method? I just installed and gave the app root acces.

Is this just as good as installing as system app? All the graphs that i'm curious about seem to work (partial wakelocks etc)
[BetterBatteryStats] :
Which side effects, if any? Please elaborate!

Thank you for you suggestions pal!

Note 2 N7100 - DN3 ROM [MENTION=353015]240[/MENTION] dpi - based on MK4
[BetterBatteryStats] Lither:
Should I use XPosed and per app hacking module or is there a better way?
[BetterBatteryStats] TokedUp:
Sorry if this has been asked but I need help. Im getting terrible wake lock from Google Search. Im not sure what details I need to give but my set up is in my sig. Should I take a log to post here or would someone mind me PMing me if u can help?
[BetterBatteryStats] cukierkas:
just freeze it within the the settings if you got 4.1+ or with titanium/romtoolbox

if you need search, use browser.

that was the first thing i did.

---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------

just one discovered. leave service runing, but disable wakelocks and alarm.

if you block and the service, same service itself will get crazy and want to restart itself. that leads to heavier awakeness.

greenify+xposed helps aswell.
[BetterBatteryStats] jbonilla51:
Hi,

My device is an LG Optimus L9 (p769, V20D KDZ). Bootloader is locked, so I've got stock ROM and kernel. I've been getting some huge wakelocks from Google Play Services (namely Event Log Service) and from Calendar Storage. I read in the main post about how to handle GSF wakelocks, so I will try that soon. However, the calendar storage is a pretty weird wakelock for me. I seldom use the calendar. One thing I should point out is that I did freeze both calendar and calendar storage for some time, then defrosted it. Unfortunately, I didn't know of this app at that time to see if this wakelock was active BEFORE I froze these guys.

Any help would be greatly appreciated! Thanks! :)
[BetterBatteryStats] Perseus:
Although I love Xposed immensely, I feel this is one thing that should be used cautiously. You can't just go turning off Wakelock rights of apps. They do so for a good reason. So don't do it unless you know exactly what consequences you will expect.

[MENTION=308374]cyberpunk627[/MENTION], it can be anything from Unresponsive system to whole bunch of FCs all over the place. Google Shared Framework is integral part of Android and your phone will potentially be unstable.

[MENTION=4663690]Lither[/MENTION] to solve your wakelock problem, simply wipe the data and cache for Gmail, Calendar and any other Google app listed under Settings > Accounts > Google.If that does not work, do a factory Reset.

Since you don't use your Google Calendar, Follow these steps.

Please access your calendar on internet via PC. Make sure there are no past events. Next manual weed through the calendar on the phone and remove any and all events. Once that's done, Sync the Calendar with Google completely. When that is completed, wipe data for Calendar and Calendar Storage. Reboot and oyu are all set.
[BetterBatteryStats] betterthan74:
up to about a month ago I would get 2 days from my 5200 battery. I barely get 15 now.

I've greenified a few apps, turned off location and wifi position and disabled google now but my phone is still being woken up

I took this over night after a full charge. Backups kicked in but the battery ususally dropped 5 to 7% overnight. Not 40%..

Stock at&t s4 rooted..
[BetterBatteryStats] zsams:
0 data and gpslocationprovider

Hi,

I got 2 short questions.

In network stats, I almost always see "0 (Mobile) (0)" and some kb usage.

What is that?

Another question:

Even if I have everything Location off, sometimes I get tons of Gpslocationprovider wakelock.

Why is that happening? (I have everything google disabled, except maps. GSF disabled, Playstore disabled etc, so "debloated" phone for battery life.)

Thanks in advance!:D
[BetterBatteryStats] Perseus:
Well Titanium was running for little over half an hour. Screen was on for another 20 minutes. In all the phone was on only for 1 Hr 10 Minutes. The difference will go to probably the music you listened or whatever was using the Audio. Touchwiz framework is a bloat and I'd expect undue drain from it.

1. The Data Usage.

2. First off reboot then see if the wakelock appears in BBS. If it does then check if you turned off Scanning Always Available option under Advanced Wireless Settings ?
[BetterBatteryStats] tangcla:
Can anyone give me any insight into this log?

It's a Nexus 4 running Cataclysm ROM (KK4.4); with no SIM card and only connected to Wifi idling, I am getting battery drains of 7.6% per hour. The phone's also been heating up a fair bit too.
[BetterBatteryStats] mag01:
[MENTION=1330150]chamonix[/MENTION]

Just updated Nexus 5 to 4.4.1 (KOT49E) and there seem to be difference regarding the BATTERY_STAT permissions. :( So the battle is still on! :fingers-crossed:
[BetterBatteryStats] Perseus:
News & Weather app seems top consumer along side location services.
[BetterBatteryStats] tangcla:
Thanks, that's odd, I've never used the news/weather on this and I've turned off location services too.

I've been having major drain issues with that phone (8 hours total flat without any interaction at all) so I've just done a restore back to factory image to see if it's still an issue there.
[BetterBatteryStats] pkelly517:
I think I can confirm.

I doubt I've not had a single partial wakelock in the last 30 minutes since boot.

Edit: never mind. All the screens are updating as expected on 4.4.1.
[BetterBatteryStats] dtfamily:
android.intent.action.TIME_TICK Alarms

Hi,

I'm trying to diagnose an alarm problem I'm having. According to BBS, I'm getting 161 wakelocks, a majority of which are from "Intent: android.intent.action.TIME_TICK" (see below). Does anyone know what app/process may be associated with that wakelock. I've looked rather extensively on-line, but haven't been able to find anything.

I'm on a rooted but original ROM (4.1.2) Verizon Samsung S3 phone.

Thanks for any help!

======================

android (): Wakeups: 161

Alarms: 72, Intent: com.android.server.LightsService.action.UPDATE_SVC_LED

Alarms: 373, Intent: android.intent.action.TIME_TICK

Alarms: 18, Intent: com.android.server.action.NETWORK_STATS_POLL

Alarms: 50, Intent: com.android.server.ThrottleManager.action.POLL

Alarms: 1, Intent: android.app.backup.intent.INIT

Alarms: 21, Intent: android.appwidget.action.APPWIDGET_UPDATE

Alarms: 3, Intent: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD

Alarms: 1, Intent: com.android.server.NetworkTimeUpdateService.action.POLL

Alarms: 8, Intent: android.app.backup.intent.RUN

Alarms: 56, Intent: android.content.syncmanager.SYNC_ALARM
[BetterBatteryStats] Perseus:
What app has your Front LED buzzing so much ?
[BetterBatteryStats] yurkinator:
BBS does not seem to be recognizing when my phone is full charged and I unplug it. The unplugged reference never resets. I have tried reinstalling BBS and its still the same. The default battery monitor in settings does reset when I unplug.

Tried searching but not finding anything. Any ideas?
[BetterBatteryStats] dtfamily:
It may be Flash Notification- it flashes my camera led when I get messages. Any idea about the other question?

Thanks.
[BetterBatteryStats] ScottHW:
Happy to pay for this app

Thanks Sven, for a fantastic app. <Thanks'd x 2>

Review: * * * * *

I used the xda-edition to help diagnose an irksome runaway wifi data issue. I really respect the "xda-edition" ethos.

So I was happy to buy the full version to show gratitude and support development.

- ScottHW
[BetterBatteryStats] harry_seaward:
This app has helped me a lot. Thanks.
[BetterBatteryStats] matt-86:
Hi! Someone can give me advices on what to do to get better batterystats? I am on an s3 and disabled fast dormancy and with autostarts i disabled the processes of the apps I've installed. Not the system ones.

https://www.dropbox.com/s/0ff7ji4ib0v7wrl/BetterBatteryStats-2013-12-06_074224302.txt
[BetterBatteryStats] exwan:
Please view my log. My phones takes around 20 minutes to get into deep sleep. Is there anything wrong?

https://mega.co.nz/#!WEQRVCZT!RLGQRM_JFEyXibADRcjjByTYSUdwigDcxIJT8OLSKyA

Sent using GT-I8190N with Maclaw Panda rom (OS 4.3.1)
[BetterBatteryStats] Perseus:
Yes that should help. But turn off Location Service as well while testing after Factory Reset.

Your other Problem with Android Tick is harder to pinpoint. Android Tick is System onboard CPU Clock. Any process can register to receive that tick. Only when its counting those ticks that you'd get this high value. That's why I focussed on the Service Led or Front LED. See which app is causing it to flash. Uninstall that app and then check BBS after Reboot. If the problem went away then you know the culprit. If it persisted, please post a full log and I or someone can help.

Can both of you post your Text Dumps as attachment to your post here ? I have firewall problems.
[BetterBatteryStats] Wh1t3Rose:
OK I am not having serious battery drain but I'm just not getting as good of idle drain as I want. Can someone help me track this down I want better idle drain.

https://drive.google.com/file/d/0B4KgPJlGrU7tQXY1a1k1UzJyeXM/edit?usp=sharing