yashsingh1/xdaforums huggingface dataset:
[Android General] neonkat:
i am using xposed,so in powernap,do i need to whitelist all xposed modules or just xposed installer?

btw using cm13.0
[Android General] one7dchevy:
Here is another idle dump with no screen on time after adding the ALARM_WAKEUP[0-9]+.

Phone seemed to stay awake more than last time.

Awake (Screen Off) (): 51 m 54 s 9.5%

Level lost [%]: Bat.: -5%(100% to 95%) [0.6%/h]
[Android General] v7:
Whitelist the apps that needs to work in background during sleep.

___

v7

XDA Assist
[Android General] v7:
Limit

1.ALARM_WAKEUP_ACTIVITY_DETECTION to 41400 seconds.

2.ALARM_WAKEUP_LOCATOR to 41400 seconds.

3.com.facebook.analytics.service.a.ACTION_ALARM to 9999999 seconds

Alarms: 63, Intent: ccc71.bmw/ccc71.at.receivers.phone.at_mA_receiver

The battery monitor widget seems to fire too much alarms.

com.commonsware.cwac.wakeful.WakefulIntentService (flar2.exkernelmanager.EX Kernel Manager): 4 m 12 s Count:2 0.8%

EX Kernel manager held wakelocks for sometime.

Post a dump later after limiting these stuffs.

___

v7

XDA Assist
[Android General] rtorres01:
Hello [MENTION=5867207]v7[/MENTION] how are you? Follow my BBS for analysis.

w w w.dropbox.com/s/h6tqy4ans43156r/BetterBatteryStats-2016-02-15_060040945.txt?dl=0

thank you
[Android General] v7:
0.2%/hr is awesome man!Enjoy your battery life :)

Glad I could help ^_^

___

v7

XDA Assist
[Android General] 12gage:
I followed your guide to the letter, only excluding things to do with location (I have some apps that I want to have location access occasionally through tasker rules) and then I didn't have some of the things you listed, maybe due to still being on 4.4.4. I have noticed a difference, especially when the phone isn't active. One problem I have been having though is when my alarm goes off in the morning my screen won't activate/come on. The alarm does sound, but it's almost like the phone can't come out of hibernation, so I have to hold down the power button and reboot. Any idea what could be causing this?
[Android General] v7:
AndroidSystem whitelisted in PowerNap?

___

v7

XDA Assist
[Android General] flar2:
4 minutes won't use your battery and normally you would never see that wakelock unless you are having network problems (however, the network issues would hurt your battery). You should not try to limit stuff like that, but if you want to, simply turn off "check for kernel updates daily" in the EXKM settings.
[Android General] v7:
Never asked him to limit it.I was mentioning that an abnormal wakelock was held by the app :)

The drain wasn't related to it anyway!

___

v7

XDA Assist
[Android General] thiagofbrito:
I'm proud to share one of my best battery cycles, 5h SOT. Thanks [MENTION=5867207]v7[/MENTION] you are superb

:):thumbup:
[Android General] one7dchevy:
Thank you V7! I limited those 3 items and un-installed Battery Monitor Widget. I'll also keep an eye on EXKM.

Thank you Flar2, I have disabled the daily check and will keep an eye on it. This was the first time that I have seen EXKM keep my phone awake, likely a rare occurance.
[Android General] 12gage:
Yes sir, and the alarm app
[Android General] v7:
Freeze PowerNap and see if the issue persists.

___

v7

XDA Assist
[Android General] rtorres01:
Only I have a thank this tutotial and community members .

Just a question . No want restarted as Amplify Statistics. IT will keep as limitations of Wakelocks and Alarms ?

Thanks again . :Boa:
[Android General] v7:
Use the RESET button in Amplify homescreen.

All those limited stuffs will be kept.Only the stats will be wiped.

___

v7

XDA Assist
[Android General] milojoseph:
Hey I just brought a new phone. Might have some problems setting up. Can you check my battery. And I touched my phone once to respond to a text message for a few seconds

https://db.tt/qDstIacS
[Android General] v7:
Disable Fitness sync if you don't use it.

1.Limit GpsLocationProvider to 41400 seconds.

2.*job*/com.facebook.orca/com.facebook.bugreporter.scheduler.LollipopService (com.facebook.orca.Messenger) to 9999999 seconds.

Too many alarms from Clipboard Actions and Device Control.Try to find an alternative for device control.

Alarms: 26, Intent: android.content.syncmanager.SYNC_ALARM

Sync caused much of the drain.

10301 (Wifi) (com.opera.max.global.Opera Max): 2.0 MBytes 46.8%

10252 (tun0) (com.chrome.dev.Chrome Dev): 1.0 MBytes 26.1%

Data usage from Chrome and Opera!

How's the cell signal at your place?

___

v7

XDA Assist
[Android General] milojoseph:
Every time I search for Facebook in amplify it doesn't pop up. Signal is horrible in my area. And thx I will limit the following and test again 2nite
[Android General] rtorres01:
It´s safe limit com.google.android.intent.action.GCM_RECONNECT?
[Android General] v7:
Search "job".You'll find that wakelock.

___

v7

XDA Assist
[Android General] v7:
Limiting will delay notifications.

___

v7

XDA Assist
[Android General] jason8612:
Attached is my BBS result.

I wiped out my OP2, restored to factory, updated to the newest version, root and xposed with greenify and amplify. (no more custom kernel)
[Android General] v7:
Screen On (): 15 m 19 s 3.0%

Post a complete idle dump.

ALARM_WAKEUP137401-> Add regex as mentioned in the OP.

IMO,Anti-virus isn't needed in Android Platform.

___

v7

XDA Assist
[Android General] jason8612:
Thanks. I will do a idle dump. Added that ALARM_WAKEUP[0-9]+ to Amplify.

One thing I like about the Avast is that it allows location tracking in case I use the phone. I don't really need antivirus, but that feature is nice.
[Android General] v7:
Guys,

I'm on to ROM development.Since the Internet speeds in my area is below average,I'm looking for a build server.If someone can offer a good server,it'll be a great help!

Thanks in advance!

___

v7

XDA Assist
[Android General] neonkat:
you can try Google Cloud.its free for first 2 months.
[Android General] XdroidPerfect:
I did a load to 100% and wait more than six hours for the log. Deputy results of my Samsung Note. :)
[Android General] mrrocketdog:
but who the he√√ will say "read FAQ post #6 and post BBS dump" ?

just kidding. best luck and if rom dev is for m8 please keep us posted.:good:

srry i know nothing of build servers.

"err on the side of kindness"
[Android General] v7:
Limit com.facebook.analytics.service.a.ACTION_ALARM to 9999999 seconds.

Rest is all good!

___

v7

XDA Assist
[Android General] v7:
This will my priority whatsoever!Will be around for any help :)

___

v7

XDA Assist
[Android General] XdroidPerfect:
Thank you very much for answering. :good:
[Android General] E.N.D:
Hey @v7 please see my BBS dump file, losing 20% battery overnight

https://www.dropbox.com/s/ug81yoyqcfe9t2o/BetterBatteryStats-2016-02-16_113254556.txt?dl=0
[Android General] v7:
How old is the cell?

No issues in the stats!

___

v7

XDA Assist
[Android General] E.N.D:
Just one year old. I think then its marshmallow issue, was getting fine backup on lollipop
[Android General] aashgaur:
getting google contact sync fc's.

is it because of the limiting of sync wakelock ?
[Android General] v7:
Restore a LP ROM and post me a dump.And a dump on MM stock kernel.

___

v7

XDA Assist
[Android General] v7:
Never had any issues here.Try clearing the app data.

___

v7

XDA Assist
[Android General] LucentBirch:
So the SMS_Changed alarm falls under the com.google.android.gms in BBS so it won't show up in the dump. In amplify it says there's about 700 that were acquired, but in BBS there's only 69 showing up...so I don't know why the difference.

Also, has anyone tried limiting the Heartbeat_Alarm? I know there was some warning that went along with it, but I wasn't sure what that was.
[Android General] v7:
Amplify shows the stats since it was installed.

BBS shows the stats from Boot.

Try limiting the alarm to 10800 seconds.

Heartbeat_Alarm is related to GCM.Limiting will delay notifications.

___

v7

XDA Assist
[Android General] LucentBirch:
I usually reset the stats, but I must have forgotten...whoops.

Also, why is RILJ showing up under not safe to limit? I thought it was?
[Android General] atrix4nag:
These are my today stats. Drain is increasing. What to tweak.
[Android General] v7:
RILJ is related to location via mobile connection.You can limit it to 800 seconds

___

v7

XDA Assist
[Android General] v7:
10114 (Wifi) (com.whatsapp.WhatsApp): 2.0 MBytes 82.7%

Couldn't find any other issues.Can you post a dump with both Mobile Data and WiFi turned off?

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Here you go, logs in Airplane mode
[Android General] v7:
It's the battery or the ROM.0.7%/hr drain in Aeroplane Mode is bad.

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Okay, I will try with other ROMs.

Do you think limiting some alarm might help reducing this drain?

Also, i was wondering, how do you decide on time (ex 10800 seconds) when limiting Alarms/Wakelocks?
[Android General] v7:
It was less before.I tested new values couple of weeks ago and updated the guide.

___

v7

XDA Assist
[Android General] Fir3lordZuk0:
Thanks man,

I will update the values :)
[Android General] carlitobahsoun:
hi dev...can i limit those wakelock ??? :

starting alert service

activity manager launcher

alarm

ringtone player

gcm_lib

vibratorservice

gcm_conn

google_c2dm

thanks in advanced....as in ur post in amplify non of this wakelock are limited !!!!!!

n920c/64g/aryamod v1.1/arter kernel v11/xposed : greenify+powernap+amplify
[Android General] aledex:
I seem to be unable to receive push notifications from Outlook, be it using the outlook app or the native email client. Any idea on what could be the cause?

Inviato dal mio XT1052 utilizzando Tapatalk
[Android General] v7:
Those needn't be limited.They run for a purpose.Limiting will break the functionality!

___

v7

XDA Assist
[Android General] v7:
1.Those apps whitelisted in PowerNap?

2.GooglePlayServices whitelisted in PowerNap?

3.Have you limited sync alarms?

4.Are they greenified?

___

v7

XDA Assist
[Android General] carlitobahsoun:
ok thanks

n920c/64g/aryamod v1.1/arter kernel v11/xposed : greenify+powernap+amplify
[Android General] v7:
Wrong stats I assume.This is the stats while charging.
[Android General] danigraham:
No, it was off charger. Unplugged> Current

This is why I usually set a custom reference point.
[Android General] v7:
See the stats.The charge went from 21-49%.

Tapped from my furious dogo ;)
[Android General] danigraham:
Yes but my settings are unplugged>Current. So when I unplugged my phone in the middle of the night is when it should've started getting stats.

Regardless. I will do it again later. I've never had problems with anyone viewing my idle logs before, I am doing the same thing I always do.
[Android General] v7:
Charge to 100% and unplug the charger.Leave it idle then.
[Android General] Luke2508:
Here is my stats from almost 15hrs of pure idle. I am quite surprised by how good they are, and I don't think much more can be tweaked for better idle time, but I'll let you guys take a look and give me any suggestions :)
[Android General] v7:
Incredible :).I assume you use SYNC.If not, disable the sync or limit them to higher numbers in Amplify.

Tapped from my furious dogo ;)
[Android General] Portgas D. Ace:
In case you are not using any fitness functions (e.g. sports tracker or fitness wrist band), you could also try to limit

*sync*/com.google.android.gms.fitness/com.google/73e122ece379d815c185bdd45d4a1a9d@gmail.com

with Amplify. Would not have an enormous impact, but why not tweak a little bit more? Nevertheless, your stats are quite impressive.
[Android General] Stupifier:
Pfft....that dude already has 0.3%/hr Battery loss while Idle for 14hrs......I'd not touch a single thing! That is incredible. You're done.
[Android General] Portgas D. Ace:
For sure this is incredible, but as he asked for suggestions, I gave him one.
[Android General] :
I use location services, forgot to mention.
[Android General] v7:
You don't find any a single alarm listed in the OP?If so,that's weird.
[Android General] Luke2508:
I do use Google Fit, so unfortunately won't be able to disable that for more idle time :P But I think what I got was pretty amazing, so I'm happy with the results, thank you so much OP, amazing tweaks!

---------- Post added at 04:29 PM ---------- Previous post was at 04:27 PM ----------

I couldn't find these services to disable which I found strange, any idea why that might be?

com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService

com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService

com.google.android.gms/common.analytics.CoreAnalyticsIntentService

Thanks for the thread vaisakh7, amazing tweaks :D
[Android General] onlytanmoy:
[MENTION=5867207]vaisakh7[/MENTION]>> hi, even if i uncheck them and reboot my device, when i enter Under Broadcast Recievers -> Actions -> Boot Completed, I can see they are ticked back on. What am i doing wrong here? Please guide. Thanks.
[Android General] v7:
You should exactly click on the App label,and not on the checkbox.Then you'll find a popup asking to wait.Done!!

On the other hand,if you click the checkbox,it shows as disabled,but when you come back it seems enabled automatically.This maybe a bug.
[Android General] v7:
This is because you've already disabled AnalyticsService of GPS' in MyAndroidTools :)
[Android General] onlytanmoy:
excellent! that did the job! :) thanks a lot bro.
[Android General] nostrings:
My BBS log from having it run overnight, after a 100% charge.

Not too shabby for 0.5%/hr. Though, I wish I could tame the MCS_HEARTBEAT alarms a bit, along with what Viber is doing... however, I am not too confident that would change things by much, if at all.

Thanks you for doing a great job - definitely appreciated!
[Android General] v7:
MCS_HEARTBEAT is related to the GCM.Limiting it breaks the Notifications.With Viber running,it is normal to have this alarm running.

You can disable Google Searchbox if you need and disable WearableSync in MyAndroidTools under GPS'.

Tapped from my furious dogo ;)
[Android General] Emmago:
Hello people I can't seem to find Xposed framework for my device.. Am using elephone p7000 and it's got this configuration MediaTek MT6752 Octa core 1.7GHz

GPU:Mali-T760 MP.. Runs android lollipop... The Xposed framework am seeing is for arm devices.. Please help
[Android General] aledex:
Thank you for your fast response!

I forgot to mention: yes both of them were white listed and not greenfield. I do not block any sync alarm (as long as I'm concerned, at least the ones with "sync" or "mail" or "notification" in their title), nor is play service blocked in power nap. I've also tried other clients such as wemail.

Inviato dal mio XT1052 utilizzando Tapatalk
[Android General] one7dchevy:
Hi v7, I did another overnight idle test after limiting what you mentioned. I also un-installed battery monitor widget.

Oddly enough I lost even more over night. Dump attached.

Level lost [%]: Bat.: -8%(100% to 92%) [1.0%/h]

Awake (Screen Off) (): 36 m 33 s 7.8%
[Android General] v7:
Is PlayServices whitelisted in PowerNap?

Make sure you have auto sync enabled.

___

v7

XDA Assist
[Android General] v7:
Something is keeping the device awake.

384 MHz (): 20 m 38 s 4.4%

I suggest you to do a clean flash.

___

v7

XDA Assist
[Android General] one7dchevy:
Hmm, yea I have been wondering if it is rom related myself. Perhaps another clean flash is needed. I have been running Pure Nexus, which was cleanly flashed about 10 days ago.. I'll do another this week.

Thank you for your time investigating!
[Android General] Cares:
Is it possible to write up quick notes about each Amplify alarm/wakelock that is being limited? Will I notice any performance issues if I limit these things?
[Android General] aledex:
Yes.

I've reset amplify settings and now I receive emails on Outlook app as it was intended. I don't have any idea on what was the culprit, I'll try again.
[Android General] v7:
Maybe in future when I find enough time :)

These settings won't affect your device's performance in any manner.

___

v7

XDA Assist
[Android General] Cares:
Thanks! What about the time? I see other guides and the time the recommend differs significantly for the same wakelocks.
[Android General] jason8612:
New BBS dump on idle.
[Android General] JoshuaOrphir:
[MENTION=5867207]v7[/MENTION] It would be great if you could check my bbs dumps. One is after 6 hours in the morning and the other at 50% in the evening.

Its really weird, somethings is keeping the mediaserver activ.

Can you fix this? Should I provide further information?

I also did some screenshots. https://imgur.com/a/xTYCz
[Android General] mannyalba:
If you happen to run into troubles with your messages apps like whatsapp, telegram, plus messenger etc, I mean when your phone goes dozing and you see no messages are recieved and as soon as you pick up the phone and unlock it, go to the app and there are messages that should have arrived, powernap is doing that to you, spent some hours trying to figure it out, at least to me, powernap was killing everything even with those apps whitelisted, unnistalled it and they are all working like they should now.
[Android General] sandfreak:
How has your battery drain been affected since uninstalling powernap?
[Android General] mannyalba:
I am definitely sure I wont be affected by that, Greenify with AD on boost mode is more than enough for the phone to sleep like a baby, heck even doze alone was doing a good job.

Edit: I knew it, after 1hr dozing with wifi on, got 24secs of Awake screen off time, never ever got that with powernap instaled, it was always 1-2minutes. will do the 6-7hrs idle test tonight.
[Android General] v7:
All these values are updated after testing.Won't cause any issues.

___

v7

XDA Assist
[Android General] v7:
I guess the SnetLaunchService is related to SafetyNet.

Alarms: 30, Intent: android.content.syncmanager.SYNC_ALARM

Intense syncing caused the drain.

___

v7

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

Post a complete idle dump.Screen On time should be <2 minutes.

I'd say those screenshots are normal.You had some Youtube streaming and other stuffs that triggers mediaserver.If mediaserver drained,it should've been in the idle dump too :)

___

v7

XDA Assist
[Android General] carlitobahsoun:
hi..... i dont know why but i cant get more than 0.7 per hours in iddle...maybe coz of this????

n920c/64g/aryamod v1.1/arter kernel v11/xposed : greenify+powernap+amplify
[Android General] v7:
Uninstall it and post an idle dump.

___

v7

XDA Assist
[Android General] johnnyman25:
I don't receive gcm notifications with greenify apps. I use xposed too. I didn't touched heartbeat in amplify.. Any solutions?

I'm using aicp cm12.1 rom.. Thx.
[Android General] Ikkuh84:
Hi [MENTION=5867207]v7[/MENTION] ,

Here is a bb dump of mine.
[Android General] v7:
Apps are whitelisted in PowerNap?

Which apps are having issues?

___

v7

XDA Assist
[Android General] v7:
de.devmil.minimaltext (): Wakeups: 301 (43,2 / h)

Too much alarms from the app.

net.dinglisch.android.taskerm (): Wakeups: 242 (34,7 / h)

Tasker also consumed some juice.

___

v7

XDA Assist
[Android General] Ikkuh84:
Hmm. I already thought that Minimalistic Text used too many alarms (and also Tasker, but I can live with that, except the other battery consumers). But nothing strange about gmail sync, which is also high (I think) I'll try something else for Mini Text.

Thanks for taking your time :)
[Android General] speedy56:
Can anyone look at my sats plesase? It doesnt seem good to me, almost 1%/h

https://www.dropbox.com/s/t5r2nerel6zuo0o/BetterBatteryStats-2016-02-17_060629225.txt?dl=0
[Android General] v7:
How old is the cell?

Seems like a weak battery.

___

v7

XDA Assist
[Android General] speedy56:
Almost 2 years, about 21 months. The phone is a bit older 2 years and 3 months, the battery was changed
[Android General] v7:
It's the battery.Time to get a new cell :)

___

v7

XDA Assist
[Android General] speedy56:
Thanks [emoji106]

I'm waiting for the Z5 premium prices to drop down a bit ?
[Android General] v7:
I won't buy an Xperia device anymore.IMO,without development android sucks :D

___

v7

XDA Assist
[Android General] JoshuaOrphir:
[MENTION=5867207]v7[/MENTION] Isn't the first attached file a complete dump idle? I charged the device to 100% and let it idle without interruptions for 7 hours.

The mediaserver says the audio was on for almost 3 hours! I watched youtube for like 15 minutes and I did not listen to music.

The kernel also keeping the device awake for 1 hour. The charts from gsam it says that the device is almost always active.

Do you really think this is normal?

Thank you for your help!
[Android General] dukat0s:
hey [MENTION=5867207]v7[/MENTION] ; ) hope u good! when u got time take a look plz. again something eating my battery :> ty :cowboy:
[Android General] johnnyman25:
I dont use powernap only greenify with xposed donate version and amplify..im having issues with all apps i think..
[Android General] jason8612:
Should I limit any of those processes?
[Android General] v7:
Limit

ConnectivityService (Android System): 1 m 12 s Count:12 0.3% to 10800 seconds.

I don't find any other issues.Post another dump later.

___

v7

XDA Assist
[Android General] v7:
Try limiting SnetLaunchService to 10800 seconds.See if it breaks anything.

If you are okay with some delayed sync,limit android.content.syncmanager.SYNC_ALARM to 15mins/30mins.

___

v7

XDA Assist
[Android General] v7:
Degreenify those apps having issues and see if notifications come through.

___

v7

XDA Assist
[Android General] toto_vanir:
https://drive.google.com/file/d/0BybgeUpAoaaoRFRxWW1zYXVpV1E/view?usp=docslist_api
[Android General] jason8612:
thanks! will do.
[Android General] toto_vanir:
Can you help with this? Seems this alarms are causing wakelock.. how many seconds to limit??

https://drive.google.com/file/d/0BybgeUpAoaaoRFRxWW1zYXVpV1E/view?usp=docslist_api
[Android General] johnnyman25:
ok.done!lets see now.
[Android General] v7:


Screen On (): 2 h 15 m 34 s 34.9%

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

I've limited com.google.android.gms.icing.proxy.action.SMS_CHANGED to 9999999 seconds without issues.You can try it :)

___

v7

XDA Assist
[Android General] pkarekar492:
V7 . Plz find kernel log...as m facing issue for screen not waking up and directly going in reboot.
[Android General] v7:
Attach as a file.

___

v7

XDA Assist
[Android General] pkarekar492:
How to attach i dont know. Using tapatalk.
[Android General] v7:
Zip it and upload here from a browser.

Or upload it to a filehost and post the link.

___

v7

XDA Assist
[Android General] pkarekar492:
https://drive.google.com/file/d/0B2yi_KeEefMQQmRFU09lZGREOFU/view?usp=docslist_api
[Android General] v7:
This is the wrong file.Upload the kernel log.

___

v7

XDA Assist
[Android General] pkarekar492:
Plz guide v7 how to retrive kernel log
[Android General] v7:
When you encounter a random reboot,after rebooting use SysLog to grab the last_kmsg.In newer SOCs',the log can be found in /sys/fs/pstore.

___

v7

XDA Assist
[Android General] johnnyman25:
done!when i degreenify apps i have gcm notifications with screen and off and the opossite.whats the problem now? :(
[Android General] v7:
Read this.

___

v7

XDA Assist
[Android General] pkarekar492:
Ok ...not encountering issue now....dont knw wat changed..but if i encounter i will drop log. Also will give u bbs stats tmrw mrning
[Android General] vagkoun83:
Hi v7, I have a question: android.content.syncmanager.SYNC_ALARM

Is responsible for syncing google account (contacts, subscriber feed, etc) or is responsible for syncing all accounts in the menu Accounts in Settings?? Or maybe I am totally wrong!?
[Android General] v7:
It's the general alarm for all accounts.

___

v7

XDA Assist
[Android General] johnnyman25:
i read it m8!Maybe amplify broke gcm?any othe solution?thx and sorry for bad english!
[Android General] v7:
Did you limit anything apart from OP?

___

v7

XDA Assist
[Android General] vagkoun83:
I have limited it at 43200 and 2 mail accounts sync good every 1 and 4 hours. And except that, if I change or save a contact, that trigger google contact sync. So it seems safe to limit this alarm to sync once in a day or may breaks something?? Thanxxx