yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
Limit

1.*job*/com.facebook.orca/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.orca.Messenger): 9 m 47 s Count:11 1.6% to 9999999 seconds.

2.*job*/com.facebook.katana/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.katana.Facebook): 9 m 28 s Count:11 1.6% to 9999999 seconds.

3.Icing to 800 seconds.

4.Alarms: 236, Intent: ALARM_WAKEUP_LOCATOR to 41400 seconds.

5.Alarms: 173, Intent: ALARM_WAKEUP_ACTIVITY_DETECTION to 41400 seconds

10187 (Mobile) (com.twitter.android.Twitter): 2.0 MBytes 18.4%

10211 (Wifi) (com.snapchat.android.Snapchat): 1.0 MBytes 14.3%

10008 (Wifi) (Google Play services): 1.0 MBytes 11.9%

10008 (Mobile) (Google Play services): 1.0 MBytes 9.9%

10178 (Wifi) (com.spotify.music.Spotify): 1.0 MBytes 9.3%

Twitter,Snapchat and Spotify consumed some juice and data.

___

v7

XDA Assist
[Android General] v7:
Amplify is needed to reduce the drain further.Greenify is helpful in improving your SOT.

___

v7

XDA Assist
[Android General] gh0stzk:
What is SOT?

Enviado desde mi GT-I8190 mediante Tapatalk
[Android General] v7:
*Screen On Time*

___

v7

XDA Assist
[Android General] Baskhara:
Okay, I might want to try Amplify, from the dumb file above what do you recommend to limit?
[Android General] v7:
Install Amplify ans wait for a day or two.Then read the OP and limit stuffs in Amplify.Post me a dump.I'll take a look.

___

v7

XDA Assist
[Android General] cfsr4:
One question:

I have moto g 2014 . Sometimes during use, the system is very slow.

I clear the recent apps , and the system is fast again

I have many installed app.

It will be normal in the device to have 1GB ram and have apps with ads or some kind of virus ?
[Android General] AakashKaushal98:
Can i share textdump file of bbs instead of logcat
[Android General] v7:
Check your running apps and see what runs in background.If there are some unwanted apps,greenify them.

For a device with 1 GB ram,it's quite normal to see this behavior.Clearing the recent apps quiet often is not a good idea though.

___

v7

XDA Assist
[Android General] v7:
You should post the BBS dump,not the logcat.Logcat is needed only when you encounter a random reboot/crashes.

___

v7

XDA Assist
[Android General] haseogu:
Here is the new log https://www.dropbox.com/s/pzfm0b0kckbxbvo/BetterBatteryStats-2016-01-28_095630285.txt?dl=0

Sent from my Find7
[Android General] AakashKaushal98:
here is The textdumpfile...i hope this is the accurate one:p
[Android General] v7:
Limit

1.NlpCollectorWakeLock to 41400 seconds.

2.Add ALARM_WAKEUP[0-9]{8,} to your regex and limit to 9999999 seconds.

10029 (Wifi) (com.android.vending.Google Play Store): 41.0 MBytes 88.2%

Play Store updates consumed a lot of juice.

BbmPlatformKeepAlive (com.bbm.BBM): 47 m 4 s Count:19 10.6%

BBM is killing your battery.Can't do much about it.Limiting it will break the app's functionality.

___

v7

XDA Assist
[Android General] v7:
Post a dump on WiFi.

___

v7

XDA Assist
[Android General] AakashKaushal98:
But my wifi is not always on...are u saying that,i should turnon my mobile wifi toggle or my mobile should be connected to wifi during idlemode?
[Android General] senthilrameshjv:
Hi @V7, I am seeing the below wakelocks defined as Unknown in Amplify. But still the count for them is high. What can I do with them?

1. *alarm* (possibly comprising of all alarms??)

2. ContextManagerWakelock

3. UlrDispSvcFastWl

4. AnyMotionDetector (needed for Fit?)

5. GCM_CONN_ALARM

Alarms:

1. Timely's widget.UPDATE_ACTION

2.device_idle.STEP_IDLE_STATE

And also below are seafe to limit ones:

1. LocationManagerService

2.GPSLocationProvider

3. AudioIn

4. StartingAlertService.

If any of these can affect Fit, I would consider before limiting them.
[Android General] v7:
1.*alarm* shows up on all lollipop and MM ROMs.They doesn't cause any drain No need to limit them.

2.ContextManagerWakelock is an important wakelock.Not safe to be limited.

3.It's a part or UlrDispatchingService.Not safe to be limited.

4.AnyMotionDetector->Doze wakelock.Limit it to 9999999 seconds.

5.GCM wakelock.Limiting breaks Push.

Both those alarms are not safe to be limited.

Limit

1.LocationManagerService to 414000 seconds.

2.GpsLocationProvider to 41400 seconds(see if it breaks GPS)

3.Limit AudioIn to 7200 seconds and see if it break Voice Recognition.

4.StartingAlertService is from your Alarm/Clock app.Not safe to be limited.

___

v7

XDA Assist
[Android General] v7:
Most of the alarms/wakelocks trigger during an active data connection.Post me a dump on WiFi so that I can give suggestions.

___

v7

XDA Assist
[Android General] v7:
I think the battery % was stuck.Seems like a placebo.See the graph.The battery dropped drastically after turning on the screen.

___

v7

XDA Assist
[Android General] arunkafley:
I think thats bcause I started playing COC. And by the way this is the first time my phone has ever entered doze.
[Android General] v7:
Anyway you can see if it was a placebo in the next idle cycle.If you find some time,post me a dump again.

___

v7

XDA Assist
[Android General] AakashKaushal98:
But my drain was almost 5-6% even without wifi...can u please check the log once again..so that i can limit that alarms or wakelocks which are being awaken even without internet...
[Android General] ProudRed:
Battery draining quite quickly on MM. Here is the dump attached (4 hours), Let me know if anything can be tuned.
[Android General] v7:
There's nothing to limit in the dump.Wakelocks and Alarms are minimal.

___

v7

XDA Assist
[Android General] AakashKaushal98:
But still 5-6% of drain was there..
[Android General] aashgaur:
Last log. Getting a new battery if this shows nothing.
[Android General] ProudRed:
Anyone ?
[Android General] Portgas D. Ace:
You have posted nearly one hour ago. Be patient and wait for an answer ;) No need to push anyone.

From your log file:

Screen On (): 2 m 13 s 0.9%

Try to reduce the time to less than a minute. Save the log file right after you have turned on your screen. This way a more precise advice is possible.

@v7: any other thoughts about this one? Only a few alarms, but 6% drain.
[Android General] ProudRed:
Yes there has been too much drain. Possibly coming from services and wakelocks.
[Android General] Portgas D. Ace:
How is the network signal at your place? Can you post a screenshot of the in-build battery stats?
[Android General] ProudRed:
Stats after keeping the device idle ? I have put the charger in now. Do you need idle stats ? then I can post tomorrow only.
[Android General] Portgas D. Ace:
Yeah, idle stats. This way we can check if the network signal is bad at your place. Bad network signal is a known battery drainer. So I would recommend you grab another idle dump and attach also the screenshot of the battery stats (Settings -> Battery).
[Android General] v7:
Old battery?

___

v7

XDA Assist
[Android General] ProudRed:
I was on wifi all night when the device was idle.
[Android General] Portgas D. Ace:
I am not talking about the mobile data network signal (internet), but the mobile network (telephone). This one can drain your battery.
[Android General] v7:
Did you install the ROM recently?

___

v7

XDA Assist
[Android General] v7:
No issues in the stats.It's probably the weak battery.

___

v7

XDA Assist
[Android General] AakashKaushal98:
Only 8months...
[Android General] ProudRed:
Mobile network is pretty smooth. No issues with that.
[Android General] v7:
Well,try a different ROM/Kernel combo then.

___

v7

XDA Assist
[Android General] ProudRed:
As recent as 4-5 days back. But its just an update.. Been using the rom for 2 weeks now.
[Android General] v7:
I couldn't find any issue in the stats.Try a clean flash and if that doesn't help,try a different Kernel/ROM.

___

v7

XDA Assist
[Android General] Scuk:
New ROM. Here is my most recent BBS log. Thanks.
[Android General] v7:
Limit

1.GCoreFlp (Google Play services): 2 s Count:119 0.0 to 10800 seconds.

2.*net_scheduler* to 10800 seconds.

10377 (Wifi) (de.orrs.deliveries.Deliveries): 10.0 MBytes 70.7%

This app consumed some battery.

How's the signal at your place?

___

v7

XDA Assist
[Android General] Scuk:
Both were limited to 7200 seconds. I bumped them to 10800 seconds. Signal is good here. Why do you ask? Thanks!
[Android General] v7:
Thread Updated

​

1.Updated Wakelock/Alarms limits

i)7200seconds->10800seconds

ii)40000 seconds->41400 seconds

iii)84000 seconds->93600 seconds

2.Added Facebook bugreporter wakelocks in Wakelock section.

3.Removed com.android.vending/com.google.android.finsky.services.ContentSyncService(Reported to delay Whatsapp notifications-Thanks to [MENTION=5901790]orville87[/MENTION] for the report)​

___

v7

XDA Assist
[Android General] v7:
Some radio related wakelocks are present.

I edited the last post.See that too.An app had high network usage which in turn caused some drain.

___

v7

XDA Assist
[Android General] Razertje:
Which ones did you update so we don't have to check them all again? ;)
[Android General] v7:
See my announcement post.I updated it :)

Also please check your PM :)

___

v7

XDA Assist
[Android General] v7:
Thanks a lot for the donation [MENTION=285646]Razertje[/MENTION] ^_^

Thank You so much for the love :) :thumbup:

___

v7

XDA Assist
[Android General] Razertje:
You're welcome sir!
[Android General] v7:
Post #6993 :)

___

v7

XDA Assist
[Android General] gothy.gothy:
Thank you very much for this thread

A lot of very good advices!
[Android General] ProudRed:
Suggestions if any ?
[Android General] v7:
Clean Flash or change the Kernel/ROM.

___

v7

XDA Assist
[Android General] ProudRed:
Do you have any suggestion regarding trying out any particular ROM or kernel that sucks less juice ?
[Android General] v7:
I'm not familiar with any of the Moto E devs.So can't suggest one particular ROM/Kernel.

___

v7

XDA Assist
[Android General] Uriens:
Thank you for your work v7, I have been following this thread since months; I have been finally able to install Xposed and the battery life of my ZTE Blade S6 running 5.0.2 is greatly improved.

I have a question: since I use normally the synced tabs of Chrome, Should I unlimit android.content.syncmanager.SYNC_ALARM(delays sync) and SyncLoopWakeLock(delays sync) to have sync in realtime or do you know any other solution to send link from Chrome PC to Chrome Android?
[Android General] v7:
Does the feature work with those limited?

If not,unlimit it.You can disable or limit other syncs individually if you don't use them.

___

v7

XDA Assist
[Android General] Uriens:
It works but the Chrome's tabs sync is delayed of hours but I need to have them synced in realtime. I'll try unlimiting both alarm and wakelock. Thanks.
[Android General] v7:
Guys,

From now onwards,all changes to the thread will be updated in post#7 :thumbup: :cheers:

Have a great time :)

___

v7

XDA Assist
[Android General] Stupifier:
The OP says it all......Just use AppOpsXposed/Privacy Guard Startups section.....you can choose which apps to allow boot at startup. Simple.
[Android General] Gnexlex:
Sorry but can you tell me how to do that using AppOpsXposed??
[Android General] Stupifier:
Get AppOpsXposed. Open AppOpsXposed. Swipe Right until you get to the "Bootup" tab. Click on an App you don't want to Run at Boot. Scroll to bottom. Turn off "Run at Startup". Repeat for all apps you DO NOT want to run at Boot. Reboot phone. Done.
[Android General] Gnexlex:
There is no bootup tab.there are only location personal messaging media and device tab.
[Android General] Luke2508:
How could you want any better than that. With like almost 15hrs of idle time you got 2 minutes of awake. You really wont get much better than that without going airplane mode.
[Android General] azithro:
Good Answer :good:

sorry for my last post
[Android General] lepa71:
What does negotiationService do?
[Android General] -m3tac0rt3x-:
[MENTION=5867207]vaisakh7[/MENTION]

I've read all of your OP posts, and every piece of advice you gave to users questions / doubts (following this thread since it had 2 posts).

Didn't exactly follow your guide, but it's very well written and with great detail, and people that read it will definitely learn what everything does and how it works. :good:

I've learned a thing or two about a couple of Alarms and Wakelocks I didn't find reference to anywhere and most definitely I appreciate your contribution to the XDA Community.

Here's my little contribution to you 6BJ1299858179913H for your work, patience and support on the thread.

Also, congrats on the forum title, suits you very well! :highfive: :victory: :cool:
[Android General] Luke2508:
I'd just like to say this guide is very well thought out, well written and has some great ideas included! :) I was happy on my sunday evening to stumble upon it and have a reason to tinker.

So after following all the steps in the OP, my idle time has definitely improved, however I think it could get better! (I don't expect some of the frankly ridiculous idle times that others have managed since I still want notifactions from certain apps)

Included is a dump from a normal battery cycle with tweaks applied, and I have noticed some strange wakelocks.

I use android wear daily so that explains all the bluetooth related wakelocks.

For example, how can I improve msm_hsic_host

Or msm_serial_hs_dma

I would be grateful if anyone could look over my stats and tell my how I could improve, thanks for all the help, truly awesome thread!
[Android General] v7:
While the Phone is UP,you can try different methods to improve upon your battery.All general tweaks are mentioned in the second post.

About the log,With LTE connection running in background,this drain is pretty great.No unwanted wakelocks,everything seems fine :)

Tapped from my furious dogo ;)
[Android General] v7:
You can also try MyAndroidTools to disable apps at,boot.

Go to Broadcast Recievers->Actions->BootCompleted and disable the apps you want.

Tapped from my furious dogo ;)
[Android General] v7:
It is known to be related to Google Ads,though exact definition is not known.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4179760]-m3ta-[/MENTION] Many thanks for your good words and your contribution mate :)

Tapped from my furious dogo ;)
[Android General] v7:
msm_hsic host and msm_serial_hs_dma is related to your kernel and cellular connection.There's nothing much we can do about it,other than turning the data off when you don't use it.

I assume you've few syncs active all the time.If you don't use sync cery often.you can limit android.content.syncmanager.SYNC_ALARM to 7200 seconds.

Next time,post me an dump of atleast 6 hours idle time.

Tapped from my furious dogo ;)
[Android General] kend0g:
Thanks for the tutorial... I have been using greenify for a long time... But it seems when I have power nap and greenify running my phone WILL not go into deep sleep.. I have everything else like your tutorial described.. When I freeze greenify my phone goes into deep sleep.. I'm on skydragon 4 and using skydragon kernel 4.1 with the 75° ctt thermal mod... I have tried changing setting in greenify but nothing seems to work but uninstalling/freezing either greenify or power nap... It's one or the other it seems

-SD 4.0/SD 4.1 Kernel- :)
[Android General] Ippolito1971:
So white listing greenify doesn't do it? It did it for me and I'm on the same as you
[Android General] v7:
If you use Power Nap,whitelist Greenify and Amplify in Power Nap.

Tapped from my furious dogo ;)
[Android General] kend0g:
With an app like syslog?

-SD 4.0/SD 4.1 Kernel- :)
[Android General] v7:
I'm asking to whitelist Greenify and Amplify in Power Nap.
[Android General] Ippolito1971:
Greenify and any other battery app go in the white list of power nap. Click the endurance mode and it'll open a window. There you can white list. He stated that in the OP. Hope this helps you
[Android General] lucfig:
Hi guys,

Installed Amplify this week and tonight I did my first battery test.

Some comments:

I already uninstalled TeamViewer

TitaniumBackup runs every night when charging

Pocket Casts was set to update every 3 hours and I updated to 24 hours

Pocket was set to sync instantaneously and now is once per day

I use location history, would like to limit it to 10 minutes

Do you have any other recommendations?

Thanks and regards
[Android General] v7:
Limit

1.GsmCellBroadcastHandler (Serviços do smartphone): 1 m 28 s Count:30 0,5% to 9999999 seconds if you don't use Cell Broadcasts.

2.*job*/com.facebook.katana/com.facebook.prefetch.feed.scheduler.NewsFeedPrefetchLollipopService (com.facebook.katana.Facebook): 4 s Count:9 0,0% to 9999999 seconds.

3.ConnectivityService to 10800 seconds.

4.NlpCollectorWakeLock to 41400 seconds.

5.Alarms: 17, Intent: ALARM_WAKEUP_LOCATOR to 41400 seconds.

6.Alarms: 7, Intent: ALARM_WAKEUP_ACTIVITY_DETECTION to 41400 seconds.

7.Alarms: 8, Intent: ALARM_WAKEUP29917912->Add regex as mentioned in the OP.

You uninstalled TeamViewer?It's alarms are still present in the stats.

___

v7

XDA Assist
[Android General] lucfig:
Thanks v7!

I uninstalled teamviewer this morning, that is why it was present.

1. OK, did it

2. OK, would this break facebook push notifications?

3. OK, was set to 7200

4, 5 and 6. Can this break location history?

7. Weird, I already have set ALARM_WAKEUP[0-9] to 9999999 The "+" sign was missing
[Android General] v7:
Limit those Location Alarms and see if it breaks location history.AFAIK,it shouldn't.

___

v7

XDA Assist
[Android General] ProudRed:
Something I want to limit are the tapatalk notifications. Any suggestions as to which alarm or wakelock needs to be limited for that ?
[Android General] v7:
You can turn off the notifications in Tapatalk itself!

___

v7

XDA Assist
[Android General] ProudRed:
I dont want to completely turn off notis. Once in 2-3 hours would ve ideal I think for the battery.
[Android General] v7:
I can't find a specific Tapatalk alarm/wakelock to limit to attain that.

___

v7

XDA Assist
[Android General] aashgaur:
Is there any way to find out if the battery is degraded. Any app or something. I tried geekbench. I can send you the link if you can take a look at it and tell me if it definitely is the battery which is at fault.
[Android General] jockovonred:
Charge phone to 100%, turn off for 6-8 hours, start it and check battery status.

Then charge again to 100%, put in airplane mode, disconnect from charger and see how much battery drain occurs without network/WiFi activity.

These are the two baselines I use for battery and ROM/kernel.
[Android General] acestars:
Here my bbs dump file. I am using miui 7.0.12 with kernel speed mod 1.19.

I often use google maps and gps so what your recommendation?

Thanks.
[Android General] v7:
Limit

1.NlpCollectorWakeLock to 41400 seconds.

2.Analytics WakeLock to 9999999 seconds.

Update BBS to latest beta 2.2.0B5 and post a dump.

___

v7

XDA Assist
[Android General] wolfjj79:
My alarm clock app didn't work this morning but I'm not sure if had anything to do with the apps on this thread. Would the amplify non-donation details interfere with my alarm clock? Or even part nap?
[Android General] v7:
Is Alarm Clock and Android System whitelisted in PowerNap?

___

v7

XDA Assist
[Android General] wolfjj79:
The alarm clock app wasn't but it was working before. I've whitelisted it now, though, just to be safe.
[Android General] ProudRed:
20 % battery drain in 5 hours at idle state. Bbs dump coming up.
[Android General] ProudRed:
Here are the SS and BBS Dump.
[Android General] acestars:
OK thanks, i will do it after i have time.

Sent from Xiaomi Redmi Note 2 with MIUI 7.0.12
[Android General] brossovitch:
Using Naptime, Amplify, & Greenify along with this thread I had 0% loss after 9hrs. Much better than before.

Running CM13.

The only issue I had was not a single one of the alarms or wakelocks listed in the OP exists when I open Amplify.

Regardless, thank you [MENTION=5867207]v7[/MENTION] for this wonderful thread.
[Android General] v7:
New ROM?

___

v7

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

___

v7

XDA Assist
[Android General] m0han:
over how many hours?
[Android General] scissorscrush:
There you go... Wakelock com.quoord.tapatalkpro
[Android General] v7:
That's XDA Free package.

___

v7

XDA Assist
[Android General] ProudRed:
No havent shifted yet. Been using Temasek. I will move to someother ROM soon after I find a reliable ROM which can be used as daily driver ( Mainly bug free and smooth)
[Android General] scissorscrush:
What the guy is asking I did it yesterday for myself and it was successful. Great forum though good job. Is it ok to limit rilj, it has something to do with cell service?

I blocked some Facebook and other apps wakelock by my own and it's doing wonders now. Thanks ?
[Android General] v7:
Can you post me a screenshot of the wakelock limited in Amplify?

RILJ can be limited to 800 seconds.

___

v7

XDA Assist
[Android General] scissorscrush:
Sure, mind you I've blocked Facebook so that as soon as I close and clear it from the recent, it will be cleared from background application too and won't be able to wakeup the device at all. I also use Disable Service app for the same feature so no application would be running in the background when I'm not using them. As long as I'm using them they are there but as soon as I close them, they are cleared from everywhere.
[Android General] scissorscrush:
This is from last night. Mind you this is nexus 4 I'm using and I barely touch 4 hrs of SOT on it. NORMALLY
[Android General] v7:
Click on com.quoord.tapatalk and send a screenshot.

___

v7

XDA Assist
[Android General] scissorscrush:
Lol... I feel so stupid right now. And I wrote the whole story there. Anyways here you go
[Android General] v7:
See the package name.XDA Premium app.I guess the wakelock is common for XDA Free,Premium and TapaTalk.

___

v7

XDA Assist
[Android General] scissorscrush:
Yup, works though
[Android General] miltonwkw:
Please help me see how I can further reduce drain. Thanks in advance.
[Android General] v7:
Limit

1.*net_scheduler* to 10800 seconds.

2.NlpCollectorWakeLock 41400 seconds.

3.ConnectivityService to 10800 seconds \.

Update BBS to 2.2.0B5 and post a dump later.

___

v7

XDA Assist
[Android General] AakashKaushal98:
Last night i set alarm clock but when i wake up in the morning, the alarm was switched off automatically....it seems like i accidentally limit the clock alarm...can u tell me that alarm/wakelock name of clock alarm app..so that i can restore it to default
[Android General] v7:
Send your Amplify screenshots.

___

v7

XDA Assist
[Android General] gilliantpham:
Can this thread be applied to custom ROM?
[Android General] v7:
Yes :)

___

v7

XDA Assist
[Android General] AakashKaushal98:
Only alarm screenshots??
[Android General] Caddos:
Google play services problem

Hi, dude, i have problem with google play services.
[Android General] v7:
Check if you have limited anything apart from the OP.

___

v7

XDA Assist
[Android General] v7:
Post a dump as stated in FAQ(post#6).

___

v7

XDA Assist
[Android General] AakashKaushal98:
Nothing limited except given in op....bro do u know that alarm name?
[Android General] v7:
If you haven't limited anything apart from OP and you have Alarm app and AndroidSystem in PowerNap whitelist,there shouldn't be any issue with alarms.

___

v7

XDA Assist
[Android General] alokt27:
Using smart network :)

But sometimes it does not automatically switch my network to 2g or turn data off.. Any fix ??

Also I have just blocked this alarm from smart network

Because I don't use WiFi and location whatsoever

Kindly tell if it's safe
[Android General] v7:
Limiting this should break the switching in Smart Network.There's no need to limit it as it stands for a purpose and it doesn't cause any drain.

Share your SmartNetwork screenshots.

___

v7

XDA Assist
[Android General] JanNegron:
Need help with my wakelocks.. Idk if its ok, but I see there are wakelocks that its bugging me, like the Audio Mix from Chrome...
[Android General] v7:
Read FAQ in post #6 and post me a dump!

___

v7

XDA Assist
[Android General] JanNegron:
I uploaded in my first post... But I uploaded again. :)