yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
Do you have Calendar Sync enabled?Do you have some reminder set?

IPReachabilityMonitor.wlan0 needn't be limited.

___

v7

XDA Assist
[Android General] arunkafley:
I just replaced the battery 5 months back
[Android General] v7:
Can't find any flaw in the stats.Is this with stock Kernel?

___

v7

XDA Assist
[Android General] arunkafley:
Yeah CM13 20160123. But this issue has been going on since a month. So I dont think its kernel related
[Android General] kakabobo:
below process is generating wakelock.

any suggestion?

com.google.android.gms/.lockbox.LockboxAlarmReceiver
[Android General] 2x4:
I have my Google account synced to my phone and the calendar does sync. Is that what you mean? And yes I have Calendar events with reminder notifications.

I also have a widget for the calendar on the home screen. Would this have any effect?
[Android General] fradbari:
Hi, anyone suggest me a good version (wakelock free) of gapp?

I've tried open gapp program, tk gapp and minimal gapp, all with the same battery drain of Google play service.

Inviato dal mio A0001
[Android General] bkkzak:
It took me 3-5 weeks to be accepted, so it should Eventually happen :)
[Android General] suaverc118:
Good morning @v7. I was wanting a little help and think Facebook messenger is the culprit to keeping my phone up last night. Maybe you can help me with limiting it and some other things if needed that you see. Thanks sir
[Android General] suaverc118:
You can also see all the wakelocks from around 11:00 pm or so until I just woke up. It was a custom dump
[Android General] atrix4nag:
Here is my dump, my drain is 1.5 % hour.
[Android General] senthilrameshjv:
[MENTION=5867207]v7[/MENTION] I see you recommend smart network module for battery saving. But I had some question whether it really helpful to have networks changed often that will help the battery, rather than sticking to Lte itself. Last paragraph in the below post I posted the query

http://xdaforums.com/showthread.php?p=64922553
[Android General] Ad.Shk2:
[MENTION=5867207]v7[/MENTION]

So here is my dump with the new kernel.

Any ideas? The drain is the same, about 10% overnight.

https://drive.google.com/file/d/0B-YehMCBHI-ndlczQkRWWkN3Rzg/view
[Android General] Toutatis_:
I've been getting great results lately! Thanks @v7
[Android General] v7:
LockBox is some kind of anti-theft feature.Try limiting and see if any issue occurs.

___

v7

XDA Assist
[Android General] v7:
The wakelock is related to Calender.No need to worry about it then!

___

v7

XDA Assist
[Android General] v7:
*job*/com.facebook.orca/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.orca.Messenger): 1 h 37 m 33 s Count:10 22.1%

Limit this to 9999999 seconds.

___

v7

XDA Assist
[Android General] v7:
Limit NlpCollectorWakeLock to 40000 seconds.

___

v7

XDA Assist
[Android General] v7:
Actually,it helps in deep sleep.Smart Network can to configured to delay the switching.

___

v7

XDA Assist
[Android General] Ad.Shk2:
Bump @v7
[Android General] v7:
Limit

com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

ALARM_WAKEUP672096->Add the regex as mentioned in the OP

10071 (Wifi) (com.whatsapp.WhatsApp): 9.0 MBytes 73.2%->Whatsapp downloads again!

10056 (Wifi) (com.cleanmaster.sdk.Cheetah Mobile CleanMaster SDK): 2.0 MBytes 15.4% Why do you use Clean Master?

___

v7

XDA Assist
[Android General] atrix4nag:
I blocked it after getting the dump, still I am seeing some drain, I will post the idle dump again.
[Android General] wrongway213:
I've been curious lately as I have seen a lot of talk about the *alarm* wakelock in BBS, and that it is likely a byproduct of wakelock blockers in custom ROMs. From what I have heard it can safely be limited, and it does nothing more than make BBS logs cleaner to read. It appears the *launch* wakelock is of a similar nature, but much less information appears on it (almost none). Unfortunately, searching for asterisked words does not work even with quotes here or on Google, so I am hoping to come to the ultimate battery guru for guidance. Ideally, if I am correct I will be able to navigate my own battery issues through logs much easier by simply blocking these wakelocks - however if they may cause issues, I'd much rather deal with a little difficult to read BBS graph. If you are able to provide any definitive answer on either of these, I would quite appreciate it.

P.S. I'm aware this is a bit of an unusual question for this thread - I have searched high and low and you seem the most likely person to know the answer to this, though. My apologies if I'm asking in the wrong place.
[Android General] v7:
*alarm* wakelocks appears on both Stock and Custom ROMs.(Android 5.0+).They show high count in BBS but doesn't cause any drain.It isn't related to wakelock blocker as it appears on stock ROMs too.

Blocking/Limiting it is pointless as it doesn't cause any kind of drain.No need to worry about it :)

___

v7

XDA Assist
[Android General] Ad.Shk2:
1. com.google.android.gms/.checkin.EventLogService$Receiver is ALREADY AT 84000 seconds ..... ??

2. Regex added.

3. What should i do with WhatsApp?

4. Weirdest thing!! I don't use clean master!!!

Edit: just checked, clean master not installed, but sdk was showing when i checked in titanium backup, so i just uninstalled it. So weird.
[Android General] Benny Bosser:
4. If you own a Samsung, the smart manager app has parts of clean master in it ;)
[Android General] Ad.Shk2:
Yeah it's an s6. Anyway, i uninstalled it. good riddance to bad rubbish.
[Android General] v7:
1.Weird!Post me another dump anyway.

3.Nothing to do.I was pointing out the cause of the drain :)

___

v7

XDA Assist
[Android General] senthilrameshjv:
Hi @v7, here is my bbs dump file. One thing I forgot to do is i had battery saver automated at night which I forgot to disable.

So these stats from 12 am to 6 am with battery saver kicked in at 1 am. Even then I lost 5 percent over night with doze never kicking in.

https://drive.google.com/file/d/0B1YoUVS0hVkEaHZpdkh5QXJ3TEk/view?usp=docslist_api

Edit: some more additional info. I've titanium backup scheduled at 4 am to backup apps. Apparently it hasn't hsppen.when i turned on phone in morning it started to show me the count down, I cancelled the scheduled action. Also I use Google fit, so I'll not be able to block related wakelock or alarms.

If needed I can provide a dump tomorrow with both titanium backup schedule and battery saver automation turned off.
[Android General] Ad.Shk2:
I unchecked media auto download for now. Let's see how that works.

About WiFi, should i keep it on in the night, or check the option that turns it off when in sleep?
[Android General] v7:
Greenify Ebay.

Get me a dump with battery saver disabled.

___

v7

XDA Assist
[Android General] v7:
Keeping WiFi or not is your choice.If you need it you can keep it,else turn it off.

___

v7

XDA Assist
[Android General] atrix4nag:
Today's dump. Better than yesterday, but still 0.8% per hour.
[Android General] v7:
Stats look good.No wakelock/alarm issues here.Maybe a different Kernel/ROM can earn you better stats.

___

v7

XDA Assist
[Android General] senthilrameshjv:
@v7,came across the issue where wifi shows in battery history graph all the time even though it's off? It usually happens when I am connected to wifi and after leaving the zone and I forget to turn off wifi. After some time even I turn off wifi, it keeps on showing in battery history. Not sure if it's actually draining battery
[Android General] v7:
Check if Network Notifications is enabled in WiFi advanced settings.

___

v7

XDA Assist
[Android General] senthilrameshjv:
Nope. That's the first thing I turn off. Also location wifi and Bluetooth scanning are off
[Android General] v7:
Can you post me a short time BBS log with WiFi turned off?10-15 minutes should be enough.

___

v7

XDA Assist
[Android General] senthilrameshjv:
Sure but usually it happens randomly.. I'll try to reproduce the scenario.. Reboot fixes generally.
[Android General] v7:
I guess it's a bug in the battery stats.Happens on my OnePlus 2 too.Anyway we'll see :)

___

v7

XDA Assist
[Android General] atrix4nag:
Thanks V7, I will look for a different ROM, and will give you dump tomorrow.. These days its becoming a task to choose a ROM, so many options :fingers-crossed:
[Android General] v7:
Shamu is a great device :)

___

v7

XDA Assist
[Android General] atrix4nag:
Yeah, do you know any rom + kernel combination for good battery?
[Android General] v7:
You've got great choices.

I can't recommend you a combo as I'm not familiar with any of the devs.

___

v7

XDA Assist
[Android General] f0xy:
Is it more battery friendly to have wifi/2g overnight pal?
[Android General] v7:
WiFi is battery friendly than data connection.
[Android General] f0xy:
Kk :)
[Android General] Momotani-Hitoshi:
http://xdaforums.com/showpost.php?p=60429417&postcount=4 has a list of alarms/wakelocks to tweak in amplify, but curious if any description exist on what they do?
[Android General] v7:
I couldn't find time to update it's description.You can google and find most of them.Maybe I'll update it when I get time :)

___

v7

XDA Assist
[Android General] senthilrameshjv:
@v7, I was able to reproduce that wifi bug but I didn't unplug but just set a custom ref.. But i dont see that option to take log after some 30 min. The log I produced has 3h+ bbs Stat from boot. Can u still be able to look for that issue or shall I do one more after unplug so that u can have a better idea? My log just in case..

https://drive.google.com/file/d/0B1YoUVS0hVkESkZUQ2paZ3R4UVk/view?usp=docslist_api
[Android General] v7:
Wifi On (): 2 h 40 m 28 s 81.4%

Wifi Running (): 2 h 40 m 27 s 81.4%

Wifi was off for like 30 minutes.So the bug is with the stats.Actually WiFi is off.No need to worry.Just report it to your ROM dev!
[Android General] senthilrameshjv:
Thanks @v7.. I'll let [MENTION=3913401]atl4ntis[/MENTION] know about it. But I make it a point myself not to expect my bugs to be fixed by developers as an obligation. I leave it to them. So, if I presume, if the bug isn't fixed, I may just leave it as it is? Cos only the stats is wrong and nothing impacting battery..
[Android General] v7:
Nothing wrong with battery.No need to worry :)

___

v7

XDA Assist
[Android General] Ad.Shk2:
Here you go, fresh dump. Same battery performance.

https://drive.google.com/file/d/0B-YehMCBHI-nal82ZU93bWVxdTA/view
[Android General] v7:
Post screenshots from Amplify.Amplify isn't blocking some things.

Also post logs from Xposed Installer.

___

v7

XDA Assist
[Android General] Ad.Shk2:
Here you go
[Android General] v7:
Edit the regex to ALARM_WAKEUP[0-9]+

Click on com.google.android.gms/.checkin.EventLogService$Receiver alarm in Amplify and send a screenshot.

Xposed logs too.

___

v7

XDA Assist
[Android General] Ad.Shk2:
Xposed log: https://drive.google.com/file/d/0B-YehMCBHI-neUhjYi1NMEMxZnM/view
[Android General] v7:
Update Amplify to 3.3.6!

___

v7

XDA Assist
[Android General] Ad.Shk2:
Done. Will post another log tomorrow.
[Android General] m0han:
does this app have a place in this guide?
[Android General] zero58092:
LG G4 Randomly loses ability to receive calls and texts after this

My LG G4 Randomly loses the ability to receive and send calls and texts randomly during the day after applying this guide is there a reason for this?
[Android General] Robati:
Do you use Smart Network or such to toogle to 2G when screen is off? If your mobile network operator doesn´t support 2G you will loose your connection and hence will not be able to receive texts/calls
[Android General] zero58092:
I dont think i have anything like that. My Carrier is Verizon.
[Android General] cobras3:
Is this Wakelock com.xtify.WakefulIntentService safe to limit like WakefulIntentservice (GcoreUlr-LocationReportingservice) like in OP. Tnx

Gesendet von meinem GT-I9300 mit Tapatalk
[Android General] v7:
Won't recommend this.Blocking all wakelocks just breaks the app's functionality.

___

v7

XDA Assist
[Android General] v7:
Limit

*job*/com.facebook.katana/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.katana.Facebook): 3 m 14 s Count:4 0,6% t 9999999 seconds.

com.maildroid.alarm.lock (com.maildroid.MailDroid): 11 m 9 s Count:17

MailDroid caused some drain!

___

v7

XDA Assist
[Android General] ironLink21:
When ever I activate it my phone starts rebooting over and over on its own, I would wait a bit for there to be more development behind it
[Android General] v7:
Do you use PowerNap?

Is AndroidSystem whitelisted in PowerNap?

___

v7

XDA Assist
[Android General] v7:
Nope!

___

v7

XDA Assist
[Android General] v7:
You mean PowerNap?

___

v7

XDA Assist
[Android General] m0han:
alright.

i posted about the app 'cos i read so in the description: "It treats apps in a more gentle way thus most of the apps' background functionality are kept but the battery consumption is largely reduced...... By using No Wakelock, you can have extended battery life without compromising on the functionality of apps."

:D:good:
[Android General] v7:
Will have to see how it performs.I'd still prefer Amplify over it coz it offers a choice of what to limit and for how long.

___

v7

XDA Assist
[Android General] ddee105:
Thanks [MENTION=5867207]v7[/MENTION] 6hrs SOT on LG G4 with this guide!
[Android General] v7:
Happy for you mate :) :beer:

___

v7

XDA Assist
[Android General] zero58092:
Yes and yes
[Android General] v7:
Share your whitelisted apps.

___

v7

XDA Assist
[Android General] v7:
Do you have Ambident display enabled?

___

v7

XDA Assist
[Android General] AakashKaushal98:
Bro..i had 60% battery while sleeping and when i wake up it was also 60% without anydrain...but after 1minute of using phone,my phone freezes and restarts and stuck at boot and then i again restart and get into the rom but the battery dropped to 2% from 60% why? (Using amplify as mentioned in op anx my phone is s4 with note5 rom and voltaqe kernel)
[Android General] arunkafley:
Yeah.Should I turn this off?
[Android General] v7:
Seems like Ambient Display is buggy in your ROM.Turn it off and post me a dump.

___

v7

XDA Assist
[Android General] v7:
Do you have PowerNap installed?

___

v7

XDA Assist
[Android General] alokt27:
Hi .. Pls help me a little

#1 Can you help me understand fast dormancy and assertive display in layman's terms ... And what do do with them .. As I don't have almond display and I use airtel 3G

#2 I'm running tmsk 12.1 cm ... With custom kernel and I have chance to flash cm13 unofficial test builds /or AOSP Paradox MM rom .. I will not have custom if I move to mm

I have also read on xda yesterday that doze is not that impressive

So I need your opinion on " is mm update worth it , because I have good performance and battery on tmsk 12.1 with your guide and some modifications..

#3 good network mode switching apps ( best 2 I should try)

#4 I have changed display settings.. For example increasing saturation intensity from 30 to 64! And my colors are crisp and better now .. Will this affect battery life ??

#5 I use Use viper4android | dobly atoms sound mod .. And I love them ... Then I found a Sony Display enhancement post with many libs and flies .. I think the mod will cause more battery drain. Should I avoid it and other mods like that

#7 wow your dedication is Tremendous!! Big thanks for that and v7 due to ronaldo 7 ??? :) :)

Happy republic day in advance :victory::victory
[Android General] ChingghisKhan:
Thanks, great instructions.

On my HEAVY de-bloated SM-G870A on 4.4.2, I have only found 7 items to limit :laugh:

So you can see, de-bloating helps quite a bit.
[Android General] v7:
1.See this video:Fast Dormancy Explained

Read about Assertive Display here.

2.I'm still on Lollipop.Can't comment much on Doze.

3.Smart Network(Mentioned in OP)

4.Battery wont be affected unless you have an AMOLED display.

5.Sound mods can cause a little/unnoticeable difference in battery life.If you're a music lover,go for it :)

7.Yep!I'm a huge fan of CR7 :)

___

v7

XDA Assist
[Android General] v7:
1.See this video:Fast Dormancy Explained.Read about Assertive Display here.

2.I'm still on Lollipop.Can't comment much on Doze.

3.Smart Network(Mentioned in OP)

4.Battery wont be affected unless you have an AMOLED display.

5.Sound mods can cause a little/unnoticeable difference in battery life.If you're a music lover,go for it :)

7.Yep!I'm a huge fan of CR7 :)

___

v7

XDA Assist
[Android General] v7:
If you've installed Amplify recently,wait for a day or two.Alarms/Wakelocks will pop up :)

___

v7

XDA Assist
[Android General] Razertje:
[MENTION=5867207]v7[/MENTION]

Did a clean install of CM13 on my LG G3 yesterday, and followed your guide.

Now I have a GOOGLE_C2DM wakelock in BBS (17% awake while screen of). Do you know what this can be?
[Android General] AakashKaushal98:
Nope
[Android General] v7:
C2DM is the Google's Cloud To Device Messaging.It was officially deprecated few years ago and GCM is being used since then.I wonder why they pop up.

Did you mess up with any receivers or services?

Can you post me a dump?

___

v7

XDA Assist
[Android General] v7:
Did it happen again?If it happens often,try a clean flash.

___

v7

XDA Assist
[Android General] AakashKaushal98:
It happened for the first time for me...
[Android General] v7:
Report back if it occurs again.

___

v7

XDA Assist
[Android General] ShadowAndroidFanatic:
Alright thanks, but is there anyway to limit the alarms and wakelocks without losing notifications?
[Android General] v7:
Greenifying shouldn't break notifications.

Tapped from my furious dogo ;)
[Android General] ShadowAndroidFanatic:
Okay thanks. Just need gcm push on correct?
[Android General] v7:
Yes.And Xposed Module working.

PS: Don't forget to whitelist it in Power Nap.

Tapped from my furious dogo ;)
[Android General] milojoseph:
Sent from my SM-G900T powered by Alliance Rom and ktoonsez kernel
[Android General] ClownShoes:
Okay, looks like the version of BBS on the playstore has problems with the LG G3. I'm using the latest xda beta now.

Would you mind taking a look at my stats?

Cheers
[Android General] v7:
Somethings keeping your phone awake.1 hour awake time is too much.But in the stats I can only find wakelocks from Tasker,Bittorrent amd Email.

Turn off the BitTorrent sync if you don't use it and if you haven't touched your phone till now ,pull me a logcat.

Tapped from my furious dogo ;)
[Android General] ClownShoes:
I had used my phone a bit by the time I got your message. It was roughly 2 hours since I took the first log. My alarm was on snooze, I made one phone call, sent one text and posted here in this forum, so I'm not sure how much use this log cat will be, but here it is anyway.

I posted a normal log with it at the same time, if that helps?

If this is no good, shall I wait until tomorrow morning and post both a log and log cat?

Cheers
[Android General] v7:
I don't know if you use Tasker much but as for tonight can you disable Tasker and Bittorrent and get me a dump and logcat tomorrow?

Tapped from my furious dogo ;)
[Android General] singh54:
Thanks and Works Great

[MENTION=5867207]vaisakh7[/MENTION],

First of all thanks, Thank you very much dude... for this wonderful tutorial... I am using a stock based custom ROM and i am always using greenify etc.. and some other battery saver apps... but the battery drain was a lot... it never stopped...

After that i had seen this post by yours, i came to know about the myandroidtools, powernap and about amplify too:D:D:D

Just followed the steps you said in the tutorial, now my battery drain is highly reduced, a single recharge will lasts nearly more than one day with moderate use of mobile data, wifi, call, sms and other social apps....

I will use better battery stats to get more accurate details and i will post soon....

And one more doubt... I disabled the services of google play services as you said in the first page of this post...

Should i disable the following services of google play services, will it cause any problems????

1. analyticsservice

2.clearcutloggerservice

3.deviceconnectionservicebroker

4.gcmservice

5.gsmcorestatsservice

6.googlehttpservice

Also, should i disable the following service of google play store?

1.In-app billing service

Also, should i disable the following services of bluetooth share?

1.a2dp service

2.bluettothmapservice

3.bluetoothphap service

4.panservice

5.sapservice

You said in broadcast receiver you disabled the following apps form starting at boot..

You shown examples like whatsapp, facebook, messenger,etc....

How to do this?

What is unified daemon?

its always running in the background even though i stopped the service in the service section... it is not shown in the running apps section but whenever i check the battery stats, it consumes some battery... how to turn that off??? (Attached a screenshot)
[Android General] Portgas D. Ace:
This battery statistic is quite confusing when you do not know how it works. The stats show apps that have consumed an amount of battery since the last full reboot/full charge. Try to do a full charge and reboot your phone. Then wait for several hours and check again if this unified daemon is consuming battery power.

I do not know what it is exactly but my best guess would be that it is part of Samsung's TouchWiz.

By the way: try to disable AnalyticsService via MyAndroidTools.
[Android General] ImpassionedRule:
Getting Google Play Services force close after disabling some of the services in MyAndroidTools. Is there anyway to reset the services to default?
[Android General] Weetbix:
I got the same thing.... I think it was the negotiation service I ended up re enabling to stop the fc.

Which is good because I don't think you can reset without restoring a backup.
[Android General] v7:
In the list,AnalyticsService is safe to disable.The rest of them are not safe to be hibernated.

In MyAndroidTools,go to Broadcast Receiver->Actions->BootCompleted and disable the apps mentioned in the OP.

Unified Daemon is an app that handles Stock Market,Weather and News app.If you don't use the service you can either disable it or freeze using TB.

Tapped from my furious dogo ;)
[Android General] v7:
It is indeed the ads.jam.NegotiationService that makes GooglePlayServices crash on boot,but it does no harm.If you are annoyed by the crash,re-enable the service :)

Tapped from my furious dogo ;)
[Android General] v7:
Deleted.
[Android General] Stupifier:
Just sent you a few $$$.

You helped me out :D
[Android General] v7:
[MENTION=2638236]Stupifier[/MENTION] Many thanks for your donation mate :)
[Android General] duowing:
I'll try one more log and see what you think. I'm almost positive that when I turned the screen on it said .4%/h and that I was just on the verge of losing some battery so that caused it to jump to .5%/h. This was with location and wifi off. Data was left on with LTE. I had been successfully using intelli3g, but I might have to play with it more because my usage patterns in conjunction with the app was not actually saving me any battery. It was triggering too many alarms that any battery saved from switching was being negated by being awake. So I removed it for this run. I'm thinking the only way to improve battery life would be to disable Ambient Display along with some of the other motion gestures. Generally if I leave it on overnight with data/wifi/gps turned off I'll see a .1-.2%/h battery loss.
[Android General] Gnexlex:
[MENTION=5867207]vaisakh7[/MENTION] Which services exactly should I disable from facebook and messenger so as not to boot at startup?
[Android General] AakashKaushal98:
Not happened again but bro my phone freezes oftenly and also settings (application manager of s4) responding damn slow ??
[Android General] Razertje:
Didn't do anything except from following the guide.

Hope the log attached is useful as I've used the phone this morning, but maybe something interesting in there for you.

Thank you for your time sir! :)
[Android General] v7:
Clean flash the ROM.

___

v7

XDA Assist
[Android General] v7:
Can you post me an idle dump as explained in post #6?

___

v7

XDA Assist