yashsingh1/xdaforums huggingface dataset:
[Android General] mrdunlop:
It seems I jumped the gun in thinking I solved the "Auto Sunc" issue. I believe it stems from something with the deep sleep, overnight it cuts out but with regular use through the day it remains ticked. Will update later with new findings. Whats fascinating is I was running the exact same setup on my old phone and never encountered this issue, but it was with LP, my new one is on MM.

EDIT:

Whitelist -Google account sync manager- in Greenify's "agressive doze" that was the issue
[Android General] dukat0s:
[MENTION=5867207]v7[/MENTION] hey dude :) can u check this plz ? :) tai for your time TY
[Android General] Sander9847:
Could you please check my log v7 and tell me if there's anything I can improve. Thanks in advance man!

http://pastebin.ca/3381968

Uploaded to text site because tapatalk wouldn't let me add a text file to the post.
[Android General] JohnHorus:
Quick questions and thanks

Hey [MENTION=5867207]v7[/MENTION]! Thanks for all the effort you put in here, this is quite the frustrating topic you've decided to tackle! I'm eternally grateful!!

I've been having good success so far with the guide, SystemUpdateService was giving me some issues but I managed to get it to shut down through a combination of Amplify and Autostarts (though in the end it may have been solely Amplify that did it.)

I'm noticing two wakelocks now that I never saw before for being too focused on SUS, (three technically.) The two that show up in Better Battery Stats are: GCM_CONN_ALARM and ConnectivityService.

I was curious by extension about GCM_CONN, but Amplify says limiting that's unsafe, I don't see it in BBS, and I like GCM push functionality anyway.

I am curious if you know anything about GCM_CONN_ALARM or ConnectivityService, though! The first is part of GPlay Services, the second is part of Android System. I'll try playing around with them when I get the time, but I was hoping you might be able to give me the scoop in advance! Thanks again, you're really a saint to a lot of people I imagine!

EDIT: Do you know anything about AudioMix(part of package "1013,") either? I don't enable Touch Sounds, but Amplify says it handles "Alert Sounds," as well.
[Android General] v7:
Post the BBS dump bud!

___

v7

XDA Assist
[Android General] v7:
Screen On (): 2 h 52 m 31 s 17.2%

Read FAQ in post #6 and get me a dump!

___

v7

XDA Assist
[Android General] Sander9847:
Ok sorry, will post a dump this way when I have the time to not touch my phone for 6 hours.
[Android General] sachin.soman:
@ v7 This is a OEM, i got it replaced from LG service center, it was a sealed pack. Still my idle drain is very high, average is 1.6 %, will changing kernels will help me.

Thanks

Somanna
[Android General] Pandawg:
My Nexus 6P keep wakings up, and I've tried every ROM and kernel combination possible. I've tried downgrading to 6.0, and still it wakes up from something. Hoping you can help me pinpoint what is causing my device to wake up and not doze properly.
[Android General] Portgas D. Ace:
From your log:

Screen On (): 5 h 50 m 6 s 34.5%

Read post #6 and post an idle dump.
[Android General] v7:
You can try a different ROM/Kernel combo and report back to me!

___

v7

XDA Assist
[Android General] Pandawg:
I'll post the correct dump tomorrow. Thanks for showing me the post!
[Android General] ProudRed:
Using Sony Xperia Z's Stamina mode in LP with Xtended standby and Xtended usage on. Using with Amplify and Greenify. Do I need to use powernap and naptime/doze editor ?

Or having Stamina mode on doesnt need anything else ? New to the device.. anyone aware about it please enlighten.
[Android General] neonkat:
no need for powernap.no need for naptime because lp is not having doze.
[Android General] v7:
You can use PowerNap along with the setup.

Doze isn't there on LP!

___

v7

XDA Assist
[Android General] ProudRed:
There is an app called Doze available on Google play.. I can use it if needed..

Doze - For Better Battery Life - https://play.google.com/store/apps/details?id=com.yirgalab.dzzz&hl=en

---------- Post added at 02:23 PM ---------- Previous post was at 02:22 PM ----------

Doesnt powernap and stamina mode clash with eachother ?
[Android General] neonkat:
that's some different 3rd party app which should work with lp.you can try that.

maybe use both stamina mode+powernap,hope for a better result!
[Android General] Caddos:
Hi Dude, can you check my log plz?
[Android General] v7:
That app is no different from SmartNetwork/LeanDroid.It turns off data while screen off which isn't a great thing IMO.

You can try turning off Stamina Mode and can use PowerNap alone.

___

v7

XDA Assist
[Android General] v7:
Looks good!No issues :)

Enjoy your battery life ;)

___

v7

XDA Assist
[Android General] Cichy26:
[MENTION=5867207]v7[/MENTION] i have question becouse you have OPT with BOEFFLA kernel and you use PowerNap ?? Becouse when i using it i have randoms reboots when screen is off. Did you have this problem ??

My white list:

AirDroid

com.oneplus.ota

Alert Slider

Amplify

BetterBatteryStats

DI Radio

Google Drive

Flud

Google Services Framework

Greenify

Keep

LocationServices

Nova Launcher

OnePlus System Service

OpenFM

Rocket Player

SMS Control Center

SoundCloud

System Android

TuneIn Radio

Google Play Services

Xposed Installer

YAATA
[Android General] neurohollic:
i had the same problem with boeffla kernel n powernap and there are many who have complained the same. so i just removed and reboots stopped.

if u ask me u dont need powernap if u have amplify+greenify plus i never noticed any significant battery life with powernap. so my advice is, just uninstall it.
[Android General] v7:
Add Android System to the whitelist!

I've moved to CM13 now :)

___

v7

XDA Assist
[Android General] Cichy26:
Yep i just freeze it, but i was thinking somebody had solution for it ;)

I had in whitelist android system and the problem is the same. ;) [MENTION=5867207]v7[/MENTION] did you have this problem on OOS ??
[Android General] LucentBirch:
Can the Bluetooth ALARM_WAKEUP be limited at all?
[Android General] mannyalba:
[MENTION=5867207]v7[/MENTION] are you running AD and powernap both? hows your drain overnight now that you are on cm13?
[Android General] v7:
I had reboots very rarely.Still I had them.But was not sure if it was PowerNap related coz OOS was never so clean :)

___

v7

XDA Assist
[Android General] v7:
May break bluetooth functionality!

___

v7

XDA Assist
[Android General] v7:
I'm not using PowerNap now!Only AD and Amplify.CM13 is still in beta stage so I haven't tested the battery life yet.

___

v7

XDA Assist
[Android General] EnIXmA:
can you please check the attached logs from bbs.. last night i had a 15% idle battery drain.

thnx
[Android General] JohnHorus:
Hey [MENTION=5867207]v7[/MENTION]! Thanks for all the effort you put in here, this is quite the frustrating topic you've decided to tackle! I'm eternally grateful!!

Do you know if GCM_CONN_ALARM (from GPlay Services,) ConnectivityService (from Android OS,) and AudioMix (from "1013,") are safe to limit? I see that Amplify knows GCM_CONN, but I see higher drain in BBS from GCM_CONN_ALARM.
[Android General] v7:
Intent: ALARM_WAKEUP108954 add regex as mentioned in the OP.

Awake (Screen Off) (): 1 h 4 m 10 s 8.7%

Kernel wakelocks are empty.I guess there's some kernel wakelocks that keep the device awake.Post me a dump on Aeroplane Mode!

___

v7

XDA Assist
[Android General] v7:
ConnectivityService can be limited to 10800 seconds.

GCM_CONN affects notifications.AudioMix is the notifications and system sounds.Not safe to be limited!

___

v7

XDA Assist
[Android General] Rakuu:
What is 'AD'?
[Android General] v7:
Aggressive Doze

___

v7

XDA Assist
[Android General] deepu458:
Hi @v7, thx buddy for the post and extensive support. i have followed this guide and it helped me a lot in reducing unnecessary wakelocks. I have one issue in regards to Gmail notification & syncing issue, after a while my sync is not happening and hence no notification fires. I have make sure that both the Sync Wakelocks or Alarms are untouched in Amplify. In Greenify i have whitelisted the Gmail app but still same issue, i have tried to reset Cache & data for app but no luck.Do u have any idea of how we can fix it.
[Android General] v7:
Is GooglePlayServices and Framework whitelisted in PowerNap?

Are you sure that auto sync is ON and gmail is enabled in Sync settings?

___

v7

XDA Assist
[Android General] deepu458:
Sorry forgot to mention that, i'm not using Powernap as i had a lot of reboots from it so i stopped using it. Yes i have auto Sync on and gmail sync is enabled. But some time i see the Arrow keys in Gmail i need to manually put it to Off and on back. then it works fine for a while and gets lost in the way. Most of times i dont see that sync error but wont sync the gmail account.
[Android General] brom25:
Hi v7!

I've been following your trend for quite a long time and usually it worked good but these last days, I get some weird battery drain, like Android OS taking 19% while screen just 9% of the battery. I'm using a Moto X Play with CM13 Temasek, Squid2 Kernel, and having Greenify (with AD enabled), Amplify, Autostart to block some Google Play Store services and BBS. The log file can be found in the attachements.

It would be a great help if you could take a look! Cheers
[Android General] v7:
Try to delete the Google account and assign in once again!

Post the Amplify screenshots.

___

v7

XDA Assist
[Android General] v7:
Red FAQ in post #6 and get me a dump :)

___

v7

XDA Assist
[Android General] marioca:
With all these tweaks.. how many hrs are you guys achieving? What about screen on time?
[Android General] hhhfdq:
hi..can i use doze editor with this guide..
[Android General] ProudRed:
Having issues with Whatsapp notifications.. not hibernated by Greenify.. white listed in stamina mode. Not getting any notis.
[Android General] mannyalba:
If you are using Agressive Doze with greenify beta 2 there's no need to use doze editor anymore, that's why v7 removed it from the guide a while back.

unnistall powernap and see if notifications arrive, had the same problem once.
[Android General] ProudRed:
Not using powernap
[Android General] v7:
Is Whatsapp whitelisted in Battery Optimization?

___

v7

XDA Assist
[Android General] ProudRed:
Using LP bruv. No MM.
[Android General] brom25:
I read it already and I think I did it correctly!

Thanks

http://xdaforums.com/attachment.php?attachmentid=3661810&stc=1&d=1456558337
[Android General] v7:
Try to reinstall Whatsapp and see if the issue persists?

Is anything limited apart from the OP?

___

v7

XDA Assist
[Android General] v7:
Screen On (): 3 h 17 m 57 s 21.3%

You should post an idle dump.It's explained properly in the FAQ.

___

v7

XDA Assist
[Android General] brom25:
My bad, read too fast.

I'll post it in 6h! Thanks
[Android General] supermedo:
Can someone look at my idle dump please? I followed the instructions and had managed to get around 0.2%/h idle drain before, but now it got up to 0.8%/h and I can't find the reason. Could it be kernel/ROM related? Thank you very much.
[Android General] EnIXmA:
I hve attached the dump with aeroplane mode on.... after adding the regex line that wakelock is gone. now With aeroplane mode on, my overnight drain was 7% in 7 hours last night as opposed to 15% the night before.

thnx
[Android General] ProudRed:
Could be.. To ensure a good battery life on my poor battery I have compiled amplifier tweaks from everywhere..
[Android General] v7:
radio-interface (): 14 m 48 s Cnt:(c/wc/ec)882/8/0 2.4%

lli_pm_wlock (): 10 m 24 s Cnt:(c/wc/ec)917/10/0 1.7%

Either it's related to poor signal or it's a Kernel issue.

___

v7

XDA Assist
[Android General] v7:
Screen On (): 12 m 46 s 3.0%

Post a complete idle dump on aeroplane mode.Screen ON Time should be <2 mins!

___

v7

XDA Assist
[Android General] v7:
Post your Amplify screenshots!

___

v7

XDA Assist
[Android General] ProudRed:
Here you go.
[Android General] v7:
You've limited a lot of stuffs which are not in the guide!Remove all those 'whatsapp' wakelocks and alarms from Amplify limited list.

___

v7

XDA Assist
[Android General] Blade2014:
Hi Proud Red,

Have you blocked all the things that are in the screen shot?
[Android General] ProudRed:
Yes they are blocked on all my devices.

---------- Post added at 11:37 PM ---------- Previous post was at 11:35 PM ----------

Doing and getting back. BTW can I greenify Whatsapp ?

And Truecaller ?

And to get truecaller working do I need to add it to powernap whitelist ?
[Android General] neonkat:
i have greenfied both whatsapp and truecaller,no issue till now.
[Android General] ProudRed:
When I first made the amplify settings all these whatsapp wakelocks and alarms were there.. I didnt make any change after wards to them.. rather added more. So no more whatsapp wakelocks and alarms in amplify ?
[Android General] neonkat:
you can't block all wake locks.do not block every wakelock,only block those which cause battery drain which are listed in bbs or wakelock detector.
[Android General] JohnHorus:
vclib, AudioDirectOut

Thanks again for all your help v7!

Do you have any knowledge of the "vclib," and "AudioDirectOut" wakelocks, as part of Hangouts?

I saw earlier in the thread that you recommended limiting AudioIn to 7200, which I tried, and don't seem to have issues. I don't see either of these two anywhere, though.

[IMG="AudioDirectOut and vclib as part of Hangouts, AudioIn as both?"]http://i.imgur.com/NP8Bb8z.png?1[/IMG]

[MENTION=5867207]v7[/MENTION] ugghhh!! Auto-mentions are so broken!
[Android General] mannyalba:
I'm surprised your phone even booted...
[Android General] mannyalba:
[MENTION=5867207]v7[/MENTION] do you have any idea why this happened? same rom/kernel but newer versions of them both, cleaned flashed everything as always.

Edit: Nvm, found out what was causing it.
[Android General] Mantoi:
Hi folks.

Who had the Power Nap aplication?

Please share.
[Android General] CanMan1:
PMed
[Android General] Mantoi:
Thank you!
[Android General] v7:
Never heard about them!Are they causing big issues?Too many counts?

___

v7

XDA Assist
[Android General] JohnHorus:
If you haven't heard of them, don't worry about it. I rarely use hangouts except to make wifi calls during the day. I wasn't using it for 8 minutes that I can remember, but perhaps the services just stuck around for a bit, or maybe I made more calls than I thought... not having the greatest month, my brain doesn't work so well.

Have you ever seen services disappear from Amplify without uninstalling anything? I noticed I couldn't make calls when my phone was set to LTE(figured it out, wasn't amplify) but because I just finished configuring it, I thought that it might be the problem at first. So I force stopped it, and after restarting, I swear a bunch of limited services and alarms have disappeared!

I may just be remembering a longer list of limited alarms than I actually had, but I know there were *EXACTLY* 5 services limited, 3 for analytics or something stupid, and then 2 to get rid of SystemUpdateService. The only one left now is one of the SUS services... I hate HTC so much! huge trash collection, nothing more. SystemUpdateService was a huge battery drain, and I specifically needed to limit BOTH services to get it to disappear.... fml.
[Android General] mvlad:
https://mega.nz/#!UVBEDKTZ!PPDFSULj2No4UpCa6-vKi9RoM3qOPgWS3ViclFOl_Ac

Anything else I can improve?
[Android General] v7:
Never seen such issues on my devices.

Are you running stock ROM?SystemUpdateService was fixed long ago by Google.Which version of Gapps do you have?If you're running stock,try to uninstall the updates of GooglePlayServices and let it update again.

___

v7

XDA Assist
[Android General] v7:
Please provide a mirror link.MEGA is blocked by my ISP :/

___

v7

XDA Assist
[Android General] mvlad:
http://www.mediafire.com/download/d2zq7xesajs51f5/BetterBatteryStats-2016-02-28_062728356.txt
[Android General] v7:
Have you enabled api for wakelocks and alarms in BBS settings?If so,please disable it.

This is one of the cleanest stats I've ever seen!Which ROM and kernel is this?

___

v7

XDA Assist
[Android General] mvlad:
https://forums.oneplus.net/threads/...s-h2os-1-2-6-0-1-clean-gapps-debloated.424685

this rom and its stock kernel. (The MM version)

However the kernel is not that great if the screen is turned on (about 3%/15minutes)
[Android General] JohnHorus:
Yeah, it's graffixnyc/Enewman17's stock GPE, for the HTC One M8, from the basic M8 dev forum. All that's added is root and busybox. I was definitely seeing SystemUpdateService as like 60-90% of my wakelock time in BBS. I disabled "com.google.android.gms/.update.SystemUpdateService" and it stayed around, but then when I disabled a second similar service, it finally disappeared from BBS for good. There were also 3 services related to analytics or something annoying, but minor, that vanished from the limited list as well when this occurred.

The dev suggested trying to reset Amplify to default and see if they appear again, so I guess I'm just starting all over... Haven't seen anything in services that matches what I remember, but SystemUpdateService sure is back in BBS... *headgun*
[Android General] ProudRed:
Haha have been running 3 devices with this setup.

---------- Post added at 11:31 AM ---------- Previous post was at 11:30 AM ----------

Actually BBS showed they are draining hence I did,
[Android General] neonkat:
after i greenified whatsapp,it doesn't make any more wakelocks(according to bbs) nor powernap shows any(not whitelisted).

it works fine for me(no delay in notif.).you can test it yourself by greenifying it.
[Android General] donvito62:
Using Myandroidtools pro you should disable system update in the Broadcast recever section.leave system update service in the service section on.do not disable it.you can use system tuner pro app too.
[Android General] brom25:
Hi v7!

I did a correct dump this time. If you could check when you have time would be awesome :good:
[Android General] v7:
There's a guide in my signature too ;)

___

v7

XDA Assist
[Android General] v7:
wake:com.google.android.googlequicksearchbox/com.google.android.apps.gsa.sidekick.main.gcm.SidekickGCMIntentService (com.google.android.googlequicksearchbox.Google App): 44 m 51 s Count:102 9.7%

Google app held wakelock for minutes.Clear the app data once.

event1 (): 40 m 17 s Cnt:(c/wc/ec)17394/438/0 8.7%

event5 (): 39 m 9 s Cnt:(c/wc/ec)17466/440/0 8.4%

event7 (): 39 m 7 s Cnt:(c/wc/ec)17466/440/0 8.4%

This seems like a kernel issue.Try a different kernel or clean flash the ROM once.

___

v7

XDA Assist
[Android General] JohnHorus:
The guide doesn't work for me... at least, not anymore.

Previously, in order to get it to stop, I had to follow the steps from the guide in your signature, THEN use 3C toolbox to disable "update.SystemUpdateService in the services section of Google Play Services. THEN I had to disable two distinct services (the one that I am still seeing was not enough, even with all of the prior steps,) after which it disappeared from BBS.

When I force stopped it to try to figure out why I couldn't make cellular calls, as someone was waiting for me to call them, the next time I opened it the second SUS service, as well as 3 others that were limited, had disappeared. Only the one that I have now remained.

For reference:

[IMG="Screen-off time"]http://i.imgur.com/wlapO1Q.png[/IMG]

[IMG="Nearly 100% uptime on SUS"]http://i.imgur.com/lbBi3DP.png[/IMG]

[IMG="Receivers correctly limited"]http://i.imgur.com/uj1Pszg.png[/IMG]

[IMG="Receivers scrolled down"]http://i.imgur.com/1lwpkZa.png[/IMG]

[IMG="Only service that remained after whatever happened"]http://i.imgur.com/7RkQv70.png[/IMG]

I spent so long trying to get this phone set up... and I did! And then the very same day I saw it working well, BAM. Gone. And now the exact same process will not work, I'm getting completely different output from the system! Those screens above were taken from a completely fresh install...

Android is such a pile of ****... I don't ever want to see one of these ****ing things again in my life.
[Android General] mannyalba:
This makes me wanna sing the happy bat song...:p
[Android General] v7:
Did you try a clean flash?

Tried uninstalling and reinstalling Play Services update?

___

v7

XDA Assist
[Android General] v7:
Awesome :highfive: :victory: ;)

___

v7

XDA Assist
[Android General] Aakash Kaushal:
Bro i am facing a weird issue...when i try to download any app from playstore,after download completes...the playstore dont install the app,it always complete the download but never install the app as it stuck at 100%..but when i try to open the playstore again by force closing it..then it install that downloaded app...i cleared data of play store, services but didn't figure out my problem...maybe i done something wrong (maybe with appops,amplify dont know).. Plzzz help
[Android General] v7:
Anything limited apart from the OP?

___

v7

XDA Assist
[Android General] Aakash Kaushal:
Nope...not anything else
[Android General] v7:
Try to clean flash the ROM.

___

v7

XDA Assist
[Android General] Aakash Kaushal:
:confused:
[Android General] v7:
Wipe data partition and reflash the ROM once.

___

v7

XDA Assist
[Android General] oldslowdiver:
Notwithstanding nobody took care to answer me (I'm sure everyone is busy here), I want to share my experience with you about Alarm 'com.ck.services.intent.ACTION_ONEMIN_TICK', Package Name: StatAssistant.

My device is a Redmi Note 2 Prime, running CM12.1.

This Alarm, related to system app ckservice.apk acts to be a massive battery drainer, constantly monitoring position, in a crazy, obsessive way, I'd say. And there's the privacy issue, not less to mention, right?

There is only a few information about it on Chinese forums, and being a system app, as I started to suspect, it is an app related only to Xiaomi's world: and, worst than that.. a BAIDU app:

(ref. http://bbs.ydss.cn/thread-416709-1-1.html)

google-translated: "ckservice.apk Baidu map location services"

And also

g-translated: " I looked at looks like a pre-installed APP There is a process called systemservice APK his name corresponding to ckservice.apk. APK serious doubts about this problem. 360 hope to attract the attention of mobile phone security engineers"

(ref. http://bbs.360safe.com/forum.php?mod=redirect&goto=findpost&ptid=3573054&pid=28974103)

g-translated: "In fact, a notification bar ads in data / app / ckservice.apk below, can be removed, you can download advertising without the user's knowledge to the notification bar."

ref: http://bbs.coolpad.com/forum.php?mod=redirect&goto=findpost&ptid=4453121&pid=14802143

Vade retro Baidu.. so, initially I set the 'allow' parameter on Amplify to 280/480/3600/7200 and now it's happily set to 9999999 (= max value), and I also disabled, through privacy settings, all permissions: no collateral effects so far in last 24hrs, so, next step is to freeze this app, and, eventually, remove it.

Cheers everyone, long live the battery, peace out.
[Android General] neonkat:
chinese apps = bullsh**

i too own a xiaomi and not using miui because of those craps.
[Android General] oldslowdiver:
I'm with you, but, in my case, it's not MIUI, but, CM 12.1 porting.
[Android General] v7:
Sorry!I actually missed your post :(

I'm glad that you fixed the issue yourself :highfive:

I'm never a fan of chinese ROMs!But,where the hell did a chinese crap come up in CM?[emoji54]

___

v7

XDA Assist
[Android General] oldslowdiver:
No worries. Maybe it's because the CM (unofficial) porting is by a Chinese dev? Can't say.. who knows if he knows that.. anyway. Thanks for your thread!
[Android General] v7:
Well,that's not the case!

It's a Trojan!!Remove it asap!

___

v7

XDA Assist
[Android General] ProudRed:
On MM Do I need to whitelist whatsapp in battery optimisation settings to receive notis ? When using aggressive doze.
[Android General] v7:
Yes.I have it whitelisted.

___

v7

XDA Assist
[Android General] madboymatt:
Here is an idle dump from the last few hours. Major wakelock issue. No idea why.

https://drive.google.com/file/d/0B22Py-kwWlGVeEFVbloxZ19mdzA/view?usp=docslist_api