yashsingh1/xdaforums huggingface dataset:
[Android General] ovizii:
Ok,I know this is a long shot but any idea how to figure out what broke my Google Play services and makes it tell me every few minutes that it has stopped that was advised in this thread?
[Android General] Daedulus Minion:
Please check your PM sir.

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

It is caused due to denying permissions in Privacy Guard or App Ops. Workaround is to set location (if you use it) to device only or else resetting it's permissions.
[Android General] v7:
Try to wipe the cache from recovery.

Tapped from my furious dogo ;)
[Android General] azithro:
Read the post again :D

Freezing? i never said freez.

Guess you have not enough knowledge of android

Check apps i mentioned battery usage, specially knox battery drain issues.
[Android General] Stupifier:
This guy sounds like a troll.....Quit badgering the nice OP about meaningless nonsense and a clear typo.
[Android General] APCOtech:
Show some respect please , he did not get (recognized contributor) for nothing , looks like he is helping a lot of us to gain better battery life.

As for your genius method , come on plz , every little child is using TB to freeze or uninstall unwanted apps !!!! simply u mentioned ur unwantd apps but for others , what you need is not what they need . now that being said , we are here talking about stopping unwanted services from running while phone is deep sleep and this for a guy talking about uninstalling apps by TB , is magic !!

So , why are you coming to this thread if you already know what u r doing ???
[Android General] danigraham:
Why sorry? I was just mentioning that because the word location gives some people the impression it had to do with GPS. I have broken mine before by disabling SOMETHING and do not want to again!
[Android General] v7:
I've little knowledge about android.I believe you know better than me and that's why I've become an RC,running this thread and helping people everytime I can.If you know battery saving methods that earns you "BIG",make a new thread yourself and help the people.This conversation ends here and if you wanna talk further,I'll arrange a MOD for you.
[Android General] Jamalsid:
I tried again. Can't seem to get my drain down as low as you. Any ideas what else I can do?
[Android General] v7:
You have a kernel issue I guess .Lots of Kernel Wakelocks.Can you try switching ROMs? Or a clean install?

Tapped from my furious dogo ;)
[Android General] ShadowAndroidFanatic:
Hey can you please look at my dump and tell me how I can improve? Thank you!! Would really appreciate it :)
[Android General] v7:
You have a Wakelocks and alarms from the Kik app.You can hibernate it of course.Post me a dump after trying it.

Tapped from my furious dogo ;)
[Android General] Fir3lordZuk0:
Thanks again man, I will try it :)
[Android General] v7:
Limit

ConnectivityService (Android system): 44 s Count:48 0.2% to 7200 seconds.

Update BBS to 2.2.0B5 from the BBS Thread and post me another dump.

Here's the link to the thread:BetterBatteryStats

Also there's no need to use "hide" tags when you upload the dump as a text file Use them when you copy paste the dump to a post :)

___

v7

XDA Assist
[Android General] belloni:
Awesome, will do this tonight :)

I've just checked under Services and I have a ton under "Unknown" and nothing else. My main culprit with 70436 compared to the next 8454 is com.twitter.android/com.twitter.library.scribe.ScribeService, what shall I limit this too?

Also, under Wakelocks GPSLocationProvider is the next cuplrit under Safe to limit, can I limit this? If so, what to? :)
[Android General] v7:
Nope!Don't use Amplify stats as a baseline.Amplify lists all the wakelocks/alarms/services that trigger on your device.Blocking important services will break the functionality of the app or even lead to a system failure.

Limit GPSLocationProvider to 40000 seconds.See if it breaks GPS.

___

v7

XDA Assist
[Android General] PeterImmel:
Hey together,

can someone tell me what causes my wakelogs?

BetterBatteryStats-2016-01-21_101415212
[Android General] Portgas D. Ace:
Sure, you have used your device for nearly 3 hours. Post an idle dump.
[Android General] PeterImmel:
Yes, the cycle is around 22 hours and it idled the hole night(about 7 hours)
[Android General] Portgas D. Ace:
Then you should have saved the BBS log file right after the idle period, before you used your phone. Using your phone results in useless log files.

Read post #6 about how to produce a proper dump file.
[Android General] PeterImmel:
Ok thanks. I read post 6 but didn't know that only the idle time should be in the log. Thank you.
[Android General] Scuk:
I limited what you suggested and disabled Bluetooth. Here is my new log. Thanks.
[Android General] v7:
Limit com.facebook.analytics.service.a.ACTION_ALARM to 9999999 seconds.

Rest of it looks good.Nine sync and TweetCaster caused a little drain.Nothing to worry :)

___

v7

XDA Assist
[Android General] Scuk:
Great. Limited. Thanks. Ill post 1 more log tomorrow if ok? Thanks again!
[Android General] v7:
You can visit this thread anytime for help :)

I'll be around ;)

___

v7

XDA Assist
[Android General] con2x:
Phoenix Rom V10.5 with Boeffla kernel 1.4 beta 3
[Android General] fossils-n-dents:
(Noob Question)

How to convert dump file to a small link. Sorry.
[Android General] v7:
Upload it to some file host and share the link :)

You can visit the thread from a browser to attach the dump as the txt file :)

___

v7

XDA Assist
[Android General] aashgaur:
Here's another dump file.

Lost 5% in 3.5 hours. :(
[Android General] fossils-n-dents:
@V7

Thanx for the quick reply! It was like getting a message from a rock star!:good::good::good:

Something is draining my battery, I use Amplify (Donate) on default settings until you look at my file, Greenify (Paid), Wakelock Detector, Disable Service, and BBS (xda version).

Please help me.

https://www.dropbox.com/home?preview=BetterBatteryStats-2016-01-21_093043416.txt

Thank You for your time, and generosity. Will post results to Exposed Tuesday Youtube vid.:cool:
[Android General] v7:
Limit com.facebook.analytics.service.a.ACTION_ALARM to 9999999 seconds.

How old is the cell?

___

v7

XDA Assist
[Android General] v7:
The link leads to DropBox sign in :(

___

v7

XDA Assist
[Android General] v7:
[MENTION=4723925]Robati[/MENTION] Thanks a lot for the donation bud ^_^

I really appreciate the help :) :beer:

___

v7

XDA Assist
[Android General] Tuxedo75:
I just tried at my work place and in 2G I've "green" signal and no drain when in sleep...any safe method to switch automatically to 2G when 3G was poor quality? Or only way to switch manually?

Inviato dal mio D6603 utilizzando Tapatalk
[Android General] v7:
Use Smart Network module to switch to 2G while screen off.Link is in OP :)

___

v7

XDA Assist
[Android General] atrix4nag:
Yesterday with all these techniques, I lost overnight 7 hours 1%, but end of the day when I was @ 10%, I have SOT around 4 and half hours, with calls around 20 minutes.

Where as my wife has same phone (Nexus 6) she was @ 15% with SOT of 5 and half hours with 2 and half hours of calls. I am pretty sure these techniques are worth for getting more battery during sleep, but when I am using phone, I am loosing battery as normal. or may be the way I use my phone is battery draining usage.

I am not at all saying these techniques are bad or anything like that.. Don't get me wrong. I am just saying my observation.

Also my phone is 1 year old, and my wife phone is new. So may be that's the reason, she is getting such a great battery.
[Android General] v7:
SOT clearly depends on the usage pattern.None of the methods explained here reduces your usage time.Your usage must be different from your wife's :)

___

v7

XDA Assist
[Android General] aashgaur:
Don't have any wakelock like that.

Cell is 25 months old.
[Android General] atrix4nag:
Yeah.. but my wife does like more browsing and watching videos from the phone and from you tube, facebook and wahtsapp chatting. Mine is most of the time browsing and very minimum facebook - whatsapp chatting.. no videos, and no gaming..

My conclusion is that, you cannot get battery like some one else.. if someone is getting 7 and 8+ hours of SOT that's their usage.. and for my usage, I cant go beyond 5 even 5 is extreme case...

And one more thing, thanks for these wonderful guide, which improving the idle time.. and giving me more juice from it.. :)
[Android General] fossils-n-dents:
@V7

My bad...Try this one. (Fingers Crossed)

https://www.dropbox.com/s/huhx9uyiugc3liz/BetterBatteryStats-2016-01-21_093043416.txt?dl=0

Very, very sorry.
[Android General] f0xy:
You on an Aosp ROM? Compared to your wife running stock?
[Android General] v7:
It's an alarm.Limit it and post me another dump!

___

v7

XDA Assist
[Android General] v7:
Limit

1.Alarms: 33, Intent: {com.google.android.gms/com.google.android.gms.checkin.EventLogService$Receiver} to 84000 seconds.

Alarms: 3, Intent: 2.com.google.android.gms.analytics.ANALYTICS_DISPATCH cmp={com.google.android.gms/com.google.android.gms.analytics.AnalyticsReceiver} to 9999999 seconds

3.android.appwidget.action.APPWIDGET_UPDATE to 3600 seconds

___

v7

XDA Assist
[Android General] atrix4nag:
No both are on Light ROM - Nexus 6,
[Android General] TheWise87:
how to use power nap in Marshmallow LG G3 ?

Enviado desde mi LG-VS985 mediante Tapatalk
[Android General] sandfreak:
Hey all, since applying these tweaks I've noticed a lag in my notifications, specifically Google messenger, gmail, and talon.

There's really no rhyme or reason that I've been able to pinpoint yet. Sometimes they seem to work like they should, sometimes they'll be 20 minutes late.

None of these particular apps are greenified. I haven't been accepted to the powernap community yet so I don't have that. I am using naptime, and amplify. I'm guessing it has something to do with amplify but that's just a guess.

I've only applied the amplify settings that are mentioned in op. I haven't touched any other wakelocks, or alerts in amplify.

I'm on a Nexus 6p stock rooted 6.0.1, with elemental x kernel, and xposed.

Could it be one of the amplify values causing this? I've been following this thread daily for a long while now but don't recall seeing this, however, if it has been mentioned I do apologize for wasting time and space in the thread.

Thanks.

(Edit) Also, if anyone is using the push notification fixer app mentioned in op did you alter settings in that app or leave as is?
[Android General] v7:
Unlimit SyncLoopWakeLock and android.content.syncmanager.SYNC_ALARM.That should fix the delay :)

___

v7

XDA Assist
[Android General] :
@v7

I have been following this thread since the very beginning. I haven't checked all of the posts but read most of the first 100-200 pages and also tested various settings myself.

I just have one question about Amplify and PowerNap. From what I can see PowerNap already blocks all wakelocks and alarms from Google Play Services (except for GCM_RECONNECT). It it really necessary to them to Amplify separately?
[Android General] v7:
Looks good.Update BBS to latest 2.2.0B5 and post another dump :)

___

v7

XDA Assist
[Android General] v7:
GooglePlayServices needs to be whitelisted in PowerNap for proper working of Google Services and Google Apps.So Amplify is needed for taming the wakelocks and alarms :)

___

v7

XDA Assist
[Android General] Tuxedo75:
Seems that smart network was unavailable in Italy(that says playstore from Web on the link in op):

On playstore app it wasn't simply displayed.

Inviato dal mio D6603 utilizzando Tapatalk
[Android General] v7:
http://repo.xposed.info/module/ma.wanam.smartnetwork :)

___

v7

XDA Assist
[Android General] v7:
Get the apk,install it and activate the module!

___

v7

XDA Assist
[Android General] belloni:
Me again, see attached. Is it entering doze properly? On 4g at work it enters fine, is it my WiFi? Thanks in advance :)
[Android General] glennsamuel32:
Thanks a lot v7

I don't know if this is normal but as soon as I unplug the charger, there seems to be a lot of activity and I lose between 4-6% of battery...

And it happens everytime...

If this is characteristic of Android, what are the processes eating up the power ?

And I'll update BBS and report back :)
[Android General] PeterImmel:
second try:

BetterBatteryStats-2016-01-22_083733835.txt
[Android General] Portgas D. Ace:
Great, those are good stats. Let's start:

com.google.android.gms (): Wakeups: 51 (5,6 / h)

Alarms: 17, Intent: com.google.android.gms/.checkin.EventLogService$Receiver Limit it according to OP

Alarms: 17, Intent: com.google.android.gms.gcm.HEARTBEAT_ALARM Don't limit this one! It affects push notifications, which will be delayed if this one is limited

Alarms: 11, Intent: ALARM_WAKEUP86540 Limit it according to OP with Amplify's REGEX function

android (): Wakeups: 39 (4,2 / h)

Alarms: 20, Intent: android.content.syncmanager.SYNC_ALARM You can limit this one, but it will affect synchronisation as well as some push notifications

Alarms: 18, Intent: android.appwidget.action.APPWIDGET_UPDATE You can limit it to 3600 ( = updating once per hour), but it will affect widgets, they might not update properly anymore

com.android.bluetooth (): Wakeups: 33 (3,5 / h)

Alarms: 33, Intent: com.android.bluetooth.btservice.action.ALARM_WAKEUP Related to a Bluetooth device/service. If you don't use any Bluethooth connection at all, limit it

net.veierland.aix (): Wakeups: 26 (2,8 / h)

Alarms: 26, Intent: aix.intent.action.UPDATE_WIDGET You can limit it to 3600 ( = updating once per hour), but it will affect the corresponding app's widget, it might not update properly anymore

com.withings.wiscale2 (): Wakeups: 9 (1,0 / h)

Alarms: 9, Intent: com.withings.wiscale2.device.hwaautosync This one seems to run once per hour. If you don't need it to sync once per hour, you can try to limit it

com.samruston.weather (): Wakeups: 12 (1,3 / h)

Alarms: 9, Intent: com.samruston.weather/.services.NotificationReceiver I have no idea what this one does, but you can try to limit it and check if it has any noticable (negative) effect. Right now it seems to be okay as it is

The rest looks good :good:
[Android General] v7:
Limit com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

Rest is all good :)

___

v7

XDA Assist
[Android General] PeterImmel:
Thanks a lot!
[Android General] jmfinity:
why is it regex is not working in my android one marshmallow? i am using 3.3.6 pro version..

tried reset all stats and checked it after 2 days..still ALARM_WAKEUPxxxxxx is not limited
[Android General] Portgas D. Ace:
Please post a screenshot of the regex setup page and a screenshot of the alarm page with some of the ALARM_WAKEUPXXXX shown.
[Android General] Extreme Noob:
[MENTION=5867207]v7[/MENTION] and other experienced folks

What is android.net.wifi.DHCP_RENEW? I am getting this alarm when device is in deep sleep and I keep both Wi-Fi and auto Sync turned on. It does fire if Wi-Fi is turned off.
[Android General] Scuk:
Here is my latest with the new changes. Thanks.
[Android General] Portgas D. Ace:
Well, I don't see that any of the ALARM_WAKEUPxxxx hasn't been blocked. Look at the number: 0.

You could check each one and will see that all have been blocked properly.

If it does appear in Amplify but with a 0, it means the alarm was called but not triggered (meaning it has been blocked).

---------- Post added at 12:51 ---------- Previous post was at 12:47 ----------

com.facebook.orca (): Wakeups: 35 (4.3 / h)

Alarms: 32, Intent: com.facebook.rti.mqtt.e.g.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca

com.lsdroid.cerberus (): Wakeups: 23 (1.3 / h)

Alarms: 23, Intent: com.lsdroid.cerberus/o.áµ“

Lots of alarms from Facebook Messenger and Cerberus. I would recommend not to limit anything related to Cerberus, but if you are okay with receiving Facebook Messenger push notifications every 30 minutes instead of instant notifications, you could limit the FB-related alarm to 1800.
[Android General] TheWise87:
I have it installed but then activate around three minutes the screen does not turn me on and stays dark and then restarts the phone again and again

please help [emoji26]

Enviado desde mi LG-VS985 mediante Tapatalk
[Android General] Scuk:
Other than that, all looks good? Thanks a ton!
[Android General] Portgas D. Ace:
Yeah, rest looks good (from what I see) :good: In case you need further help, read post #6 and post an idle dump.
[Android General] powerstarprince:
Can I limit ConnectivityService partial wakelock to 7200 sec? In amplify it's present under the safe to limit section. BTW in doing this does Wi-Fi turn off when my phone goes into deep sleep state? I have seen you advice somebody with an old and heavily used battery like me to do the same. Can you suggest me if I should do this too?
[Android General] v7:
ConnectivityService can be limited to 7200 seconds.It's in the OP.

___

v7

XDA Assist
[Android General] v7:
Report back if the issue occurs again.

___

v7

XDA Assist
[Android General] powerstarprince:
In the same way should I limit both the Facebook and messenger keep alive alarms like orville71 said above to 1800 sec. I don't use them very often on my phone. Both these alarms are at the top of the list in BBS alarms section. So is it safe to limit these alarms too?
[Android General] TheWise87:
Giving this restarts the same problem from time to time

My vs985 Marshmallow

use this ROM Port. D855

Enviado desde mi LG-VS985 mediante Tapatalk
[Android General] v7:
* The DhcpStateMachine provides the following features:

* - Wakeup and renewal using the native DHCP client (which will not renew

* on its own when the device is in suspend state and this can lead to device

* holding IP address beyond expiry)

* - A notification right before DHCP request or renewal is started. This

* can be used for any additional setup before DHCP. For example, wifi sets

* BT-Wifi coex settings right before DHCP is initiated

I could find this on gOOgle :) The wakelock is related to this.

___

v7

XDA Assist
[Android General] powerstarprince:
Ohh thank you.. I couldn't realise that both these wakelocks are one since the wakelock name that you posted for it is not the same in marshmallow. I have done it now.. That's cool but can I know why my Wi-Fi connection goes down while my phone is asleep. It's a bit random to be frank and I have enabled both shallow and deep hibernation modes in greenify 2.8 beta 9 including aggressive doze.
[Android General] Extreme Noob:
Thanks for taking the pain to find all these in Google. You have been very helpful.:)

Although I did not understand most of these things.

I just want to know that will it be a problem if I limit this wakelock in Amplify? As this is causing battery drain when firing and it is firing many times in the deep sleep mode with Wi-Fi and Auto-Sync turned on.

Will I lose instant notifications if I limit this? Or anything else can happen? Please enlighten me.

And if I can limit, how many seconds should it be limited to?
[Android General] v7:
Is Keep WiFi during sleep enabled in advanced settings?

___

v7

XDA Assist
[Android General] v7:
Limiting that won't be a good idea.That may even break WiFi.

___

v7

XDA Assist
[Android General] powerstarprince:
Yeah it's enabled and set to always on during sleep
[Android General] v7:
Can you freeze Amplify and PowerNap and see if the WiFi stays during sleep?

___

v7

XDA Assist
[Android General] tonyafc:
Hey guys what is the recommended setting for batteryserviceupdatestats_3 & android.intent.action.TIME_TICK? thanks in advance
[Android General] powerstarprince:
I don't have power nap installed. I'm using greenify and amplify. In addition I also have set the recommended settings for doze in doze settings editor. I'm running marshmallow and only 2 days ago I have switched to latest greenify beta version from the stable 2.7.1
[Android General] v7:
Leave them untouched.

___

v7

XDA Assist
[Android General] v7:
Freeze Amplify and check if the issue occurs again.If not,then probably the issue is related to the ROM.

___

v7

XDA Assist
[Android General] powerstarprince:
Freeze it using greenify you mean? Because I really can't find an option to freeze amplify. Perhaps I'm not familiar with it.
[Android General] v7:
Use Titanium Backup or any other app managers to freeze it :)

___

v7

XDA Assist
[Android General] cartman_73:
Install, for example, 3c toolbox and freeze it.

Or use Titanium backup, maybe the free version do it.

Edit:

Or go to settings-> application then select the app, tap over and select kill it and disable
[Android General] v7:
Remove PowerNap and see if the issue occur again.Probably compatability issue with PowerNap I guess.

___

v7

XDA Assist
[Android General] Ad.Shk2:
Hey Guys, I have an S6 - Stock rooted and Xposed installed. Im doing everything as per the first post (except limiting location coz I need it) but I still get about 10% battery drain overnight. I get a maximum of 3 hours of SOT a day. My dump file is below:

https://drive.google.com/file/d/0B-YehMCBHI-nZGtocTAxTzVVeDQ/view

Would appreciate help here to minimize the drain.
[Android General] v7:
10071 (Wifi) (com.whatsapp.WhatsApp): 9.0 MBytes 90.3%

Whatsapp consumed some data and juice.How's the cell signal at your place?

___

v7

XDA Assist
[Android General] TheWise87:
without power nap everything is 100% functional

Enviado desde mi LG-VS985 mediante Tapatalk
[Android General] v7:
Then keep PowerNap disabled.Use the rest of the setup.

Compatability issues :(

___

v7

XDA Assist
[Android General] Ad.Shk2:
Quick reply! Anyway, I live in the city center, on 8th floor. never had problems with the cell signal.
[Android General] TheWise87:
[emoji26] [emoji26] [emoji26]

Enviado desde mi LG-VS985 mediante Tapatalk
[Android General] v7:
Can you try a different Kernel if available?

___

v7

XDA Assist
[Android General] Ad.Shk2:
And what should I do about whatsapp? I dont wanna disable it, obviously.
[Android General] v7:
It's a normal behavior.Whatsapp media downloading in background!No need to worry about it.

___

v7

XDA Assist
[Android General] Ad.Shk2:
Yes I can try Hacker Kernel, but I had used it before too. The battery drain was the same with different WLAN wakelocks.
[Android General] v7:
Here,the wakelocks are related to radio.Not wlan!Changing the kernel may solve it :)

___

v7

XDA Assist
[Android General] Ad.Shk2:
Yeah I know, :)

I was just telling you that previously the top 3 wakelocks were all WLAN, WHILE I was using a different kernel. I have been following your methods and monitoring my battery for the last 2 months.

BUT, Ill try flashing the kernel again :)
[Android General] Tuxedo75:
Just to know but instead of powernap cant be used DSBatterySaver? I used it with satisfaction in the past...

Inviato dal mio D6603 utilizzando Tapatalk
[Android General] v7:
They're entirely different.PowerNap blocks wakelocks and services from apps while DS Battery Saver turns off data connection to save juice.The former is more efficient :)

___

v7

XDA Assist
[Android General] sandfreak:
I just can't seem to get an invite to the Power Nap G+ community. Had a request out for about four days now. Anybody else tried lately?
[Android General] jockovonred:
I've requested invite also, but no response has been given. It has been one week or more since request was made.
[Android General] Toutatis_:
You can easily find the .apk on the Internet.
[Android General] sandfreak:
Yeah but that way I won't get notified of updates...I think.
[Android General] v7:
There has been no update for 6-7 months now.

___

v7

XDA Assist
[Android General] sandfreak:
I see, then I will search for the apk. Anybody know the last version number?
[Android General] v7:
0.7a

___

v7

XDA Assist
[Android General] Santos89:
Huh, just downloaded the apk for power nap. Let's see if it works
[Android General] 2x4:
I'm on the nexus 5x pure nexus (android m 6.0.1) rom, following this guide has helped a ton but does anyone know what to do about calendar's StartingAlertService wakelock and androids system's IpReachabilityMonitor.wlan0 wakelock?
[Android General] v7:
Stats look good.How old is the cell?

___

v7

XDA Assist