yashsingh1/xdaforums huggingface dataset:
[Android General] TNSMANI:
Whatever you do, BT will be woken up. I also have the same issue. I think that Google made it that way to ensure that it gets our location details even if your location is off.

Our location details are collected with wifi, cell towers and any nearby BT devices. It is a new one in MM.

---------- Post added at 06:42 PM ---------- Previous post was at 06:38 PM ----------

Read atleast the last couple of pages before jumping up to ask questions. Then search. Only if you don't get answers this way, you should raise a question.

Hint: read the last two pages.
[Android General] MrHellRider:
RR rom v5.6.7 android 6.0.1 marshmallow on samsung galaxy grand 2. Will the options mention for the amplify app can solve the problem
[Android General] neonkat:
you will never know if you don't try!;)

also use powernap+privacy guard.
[Android General] wogooo:
how did you setup intelli3g?

---------- Post added at 06:07 PM ---------- Previous post was at 06:02 PM ----------

Disabling Sync prevents Google Calender to sync with my Windows calendar :( Does anyone know whether or not i can do this manually?
[Android General] Lither:
I'm getting these wakups on my tablet, what can I disable or limit?
[Android General] Docek70:
How to limit this wakelocks:

GCoreFlp

RILJ1

AlarmManager

And alarm:

Full Name: com.system.analytics.cpa.service.MyService

Wysłane z mojego SM-N910C przy użyciu Tapatalka
[Android General] Portgas D. Ace:
Hmm, I am not that familiar with all types ov CPU governors, but there are a lot of guides and descriptions for the different governors available.

http://xdaforums.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817

http://xdaforums.com/showpost.php?p=26884865&postcount=2

I don't use Intelli3G, so I can't give you any help on that. But I am sure there is a thread available here on XDA.

Screen On (): 4 h 31 m 28 s 2.7%

Post an idle dump as described in post #6.

The first three wakelocks are necessary for Android System to work properly, I would not recommend to limit them.

The alarm can be limited to 9999999.
[Android General] v7:
Guys,

I'm a bit busy with my exams.Will be back soon :)

___

v7

XDA Assist
[Android General] dhananjay123:
Where is the auto start permission in AppOpsXposed ?
[Android General] Portgas D. Ace:
It might be called "Start on boot" on some ROMs.
[Android General] dhananjay123:
I can't find it anywhere in the app .
[Android General] Portgas D. Ace:
Open AppOpsXposed -> Settings -> Hacks -> enable "add OP_BOOT_COMPLETED" and reboot.
[Android General] Shark5060:
I can't find the option "OP_ALARM_WAKEUP/Wake Up" anywhere in AppOpsXposed. Yes I've checked the box in Hacks but there's only the option for "Keep Awake".
[Android General] Portgas D. Ace:
I had the same issue once. In German, it is "Aktiv lassen" ("keep awake" in English).
[Android General] PeterImmel:
http://textuploader.com/5y7fj (BetterBatteryStats output)

any recommendations?
[Android General] TziMmysGr:
I have the same issue.
[Android General] Portgas D. Ace:
Alarms: 13, Intent: ALARM_WAKEUP122749820 -> use Amplify's regex function to block this one

Alarms: 38, Intent: com.android.bluetooth.btservice.action.ALARM_WAKEUP -> Bluetooth draining battery
[Android General] Shark5060:
My phone language is english, so that shouldn't be an issue.

I _DO_ find the "Keep Awake" option, just not the "OP_ALARM_WAKEUP/Wake Up" one.
[Android General] rdoane:
I also couldn't find that option. After browsing this thread for a while I determined some roms don't have that option. I am on stock 6.0.1 by the way.
[Android General] Shark5060:
Ah alright. Thanks for this explanation.

I'm on XtreStoLite 3.2 but that's based on stock, so it would explain that.
[Android General] ziuta24:
+1

Happy D6633 user
[Android General] aaaqhaaa:
i follow the instructions at amplify, and now my network isnt working,

am on erobot rom 6.0.1 SM 910-U

thank you
[Android General] Shark5060:
Here's a log from me today. I'm quite happy with the battery life but maybe there's something that I could improve even more.

Thanks a lot for this amazing guide.
[Android General] jijishthomas:
How to configure Amplify?

I didn't understand it
[Android General] neonkat:
check if you limited "data-stall".if yes,then remove the limit,and reboot device.

---------- Post added at 09:31 PM ---------- Previous post was at 09:29 PM ----------

you need to pay for that.afterwards,slide towards left and select alarms or wakelocks.search for names as given in the thread and click on them,enable limit option and put the values.

or you can look at some videos on youtube.
[Android General] jijishthomas:
Ok will try
[Android General] Ph0z3:
Hey [MENTION=5867207]v7[/MENTION] here are more to add to post #4 for Amplify!

-- I have been running these with ZERO issues for the last 3 weeks or so...

ALARMS:

- com.google.android.analytics.ANALYTICS_DISPATCH @ 14400 (play services)

WAKELOCKS:

- bugle_datamodel_service_wakelock @ 1200 (Google Messenger)

- bugle_background_worker_wakelock @ 1200 (Google Messenger)

- Bugle_sticker_sync_service_wakelock @ 1200 (Google Messenger)

- GmailProviderProviderChangedBroadcastWakelock @ 21600 (Gmail Sync)

SERVICES:

- com.google.android.gms/.ads.social.GcmSchedulerWakeupService

---------------------

ALARM_REGEX:

ALARM_WAKEUP[0-9]{4,} @ 43200 seconds (12 hours) / 86400 (24 hours)
[Android General] aaaqhaaa:
Hi neonkat,

Thank you for your help.

Much appreciated.
[Android General] xstormli:
hiya operator [MENTION=5867207]v7[/MENTION]

I am writing this msg to express my gratitude of your great thread. however, one of my concern is that I wouldn't want to miss any single reply which contains good suggestions. Are those updated in your OP already, or I have to go through all 400ish pages to look up my own?
[Android General] Portgas D. Ace:
This one should be limited to 9999999 as it is not required at all (Google analytics service).
[Android General] rolarocka:
I followed the wakelock settings for amplify and i my alarm clock stops working.. I have no alarms blocked... Any hint? I also use greenifys aggressive doze mode.

Oneplus One
[Android General] Prattham:
Can anyone help me?

Before using the steps given in this thread i had same amount of drain and after using them i still have the same

Followed everything

This is during the night when device was flat on my table

Cheers ?

Sent from my Purified NexusixP

If someone helped you don't just say thanks hit the thanks button?
[Android General] samcarl:
Are you using powernap? If so disable it and check.
[Android General] neonkat:
give a bbs dump!

check post #6 for details.
[Android General] PeterImmel:
Thanks a lot. Is it also possible to see what app/which service causes the alarms(...749820)?
[Android General] Portgas D. Ace:
Sure. You can check this in the same screen where you enter the limitation within Amplify (by clicking on the alarm/wakelock). The name of the related app or process is listed there right on top in the description section (look for "Package Name").

The ALARM_WAKEUPS are caused by Google Play Services.
[Android General] drstereos:
how to do it with the alarm regex I have only one option to deny the service any help with this thanks..
[Android General] noobSU:
Anybody can help to find a culprit in stats?

I think kernel wakelocks are.

https://drive.google.com/file/d/0B0Al5ZRoGzLedl8yT21wNVBiRTg/view?usp=drivesdk
[Android General] Portgas D. Ace:
ProximitySensor (Phone): 1 m 37 s Count:18 0.3% -> proximity sensor has been active, thus draining some battery

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

Alarms: 11, Intent: com.facebook.analytics.service.a.ACTION_ALARM

Alarms: 13, Intent: com.facebook.common.executors.dy.ACTION_ALARM.com.facebook.orca.Mqtt_Wakeup

-> related to FB Messenger

Alarms: 32, Intent: com.facebook.rti.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.MqttLite.com.facebook.katana

Alarms: 13, Intent: com.facebook.common.executors.WakingExecutorService.ACTION_ALARM.com.facebook.katana.Mqtt_Wakeup

-> related to FB App

Both apps are known to drain battery pretty fast, the reason why you achieved 0.1% drain per hour is the missing data connection. If you can go without both apps, I would suggest to try an alternative FB client such as Metal for Facebook or even Facebook Lite. Both are far more battery friendly and do not lack any core functionality compared to the two big FB apps.

Alarms: 14, Intent: com.uc.action.push.utils.alarm -> related to UC Browser, you can either greenify the browser or limit this alarm to 7200 if you don't rely on instant push notifications from the browser

"msm_hsic_host" (): 3 m 58 s Cnt:(c/wc/ec)358/24/0 0.8%

"sns_async_ev_wakelock" (): 2 m 41 s Cnt:(c/wc/ec)2012/0/0 0.6%

-> both are kernel wakelocks, which can't be directly limited by using Amplify, but you can search for the wakelock names and see if any information is available about them
[Android General] jordirpz:
Can i limit it?
[Android General] Ph0z3:
I set it to that value, so it syncs with everything else. But yes, max value works fine too.

Directions are in the OP / Post #4
[Android General] wogooo:
Thx
[Android General] gothy.gothy:
[MENTION=5867207]v7[/MENTION] please let me know where can be set the interval for the auto sync?

I am using now Macrodroid for setting an interval for auto sync, but can be set by one wakelock, allarm or service?

Thanks
[Android General] ElementRn:
I'll post an idle dump tonight. Would anybody be so kind take a look at it? Thanks in advance.

Please tap the thanks button if I helped you. ?
[Android General] BatDroid:
a huge question :D

[MENTION=1071347]vaisakh[/MENTION]7 @v7

I wonder!

when I put that setting on my samsung gts5282 stock,everything fine.

But when I put this on cm10/11/12,

with same WL's, calibrated battery goes crazy.
[Android General] xstormli:
I couldn't follow this procedure, where is this option located?

While I am in AppOpsXposed,

I can't follow this instruction of "Navigate to Settings->Hacks->Check FIX OP_WAKE_LOCK"

Am I missing something?
[Android General] BatDroid:
Okay.

download appops v1.30 from xposed repo.

It exists.

:D :)
[Android General] gothy.gothy:
Nobody?
[Android General] StevenBX:
Could someone take a look at my idle log please?

I've fiddled with the ElementalX kernel, and am currently on Franco Kernel, and have implemented the Greenify, Amplify and Power Nap settings but still don't seem to be making much progress. With normal usage, I could probably only get about 3 hours of SOT during the day. The problem seems to be that my phone is reluctant to doze, and is awake a LOT. Usually over the course of a work day my screen might be on an hour or so of the day, but the phone is held awake for 2-3 hours (although 1/2 of this is probably due to listening to podcasts on the way to/from work). I can only get 4-5 hours SOT when on WiFi and using the phone pretty much constantly, so I'm at a loss how people are getting such good SOTs with normal usage. If there's something holding my phone awake which is the culprit, it'd be great to identify it.
[Android General] Portgas D. Ace:
BetterBatteryStats version: 2.1.0.0

-> Update BBS to the latest version 2.2.0.0B6 (available here on XDA).

Statistic Type: Boot to Current

Level lost [%]: Bat.: 32%(62% to 94%) [-3.8%/h]

-> Set the statistic type within BBS to "Unplugged to Current" and post another idle dump. Right now the log file is quite useless.
[Android General] Shark5060:
Could someone have a quick look onto this and see if there's anything? Thanks.
[Android General] StevenBX:
Woops, sorry - thought I had the right thing but did the log as soon as I woke up this morning; obviously hadn't woken up yet!

I'll do another idle log overnight tonight and re-post tomorrow. Thanks for pointing me in the right direction.
[Android General] Portgas D. Ace:
Alarm stats seem to be corrupted. Update BBS to the latest version (2.2.0.0B6, available here on XDA) and try to produce another idle log file.

Awake (Screen Off) (): 6 m 48 s 2.3% -> try to minimize the screen-on time by saving the BBS log right after you turned on your screen

com.rageconsulting.android.lightflow (): Wakeups: 18 (3.6 / h) -> LightFlow is consuming some battery

com.sec.spp.push (): Wakeups: 16 (3.2 / h) -> related to Samsung's apps (provider for their push notifications)

I can give you some more detailed advices if you update BBS and produce another idle log file showing each individual alarm and not only the related apps/processes.
[Android General] gothy.gothy:
@v7

please let me know where can be set the interval for the auto sync?

I am using now Macrodroid for setting an interval for auto sync, but can be set by one wakelock, allarm or service?

Thanks
[Android General] Shark5060:
Ah okay, thought I was on the newest version - but it seems the PlayStore doesn't update to beta releases (well obviously ..). Installed the new version and will do another log file tomorrow.

Regarding the Awake (Screen off) - I did pull the stats right after I unplugged the cable (Screen on time would be the correct number), seems the device was awake during the idle period.

Thanks a lot so far tho.
[Android General] TNSMANI:
That is not how you save a dump file.

You charge the phone 100%, unplug it and leave it aside for atleast 6+ hours. Then you wake up the phone, open BBS and after checking that it shows 'unplugged to current', save the dump file. The screen on time should be as less as possible, in any case not more than a minute.
[Android General] jelive:
I use macrodroid and toggle sync off with screen off and on with screen on....seems to work well. U can also set a delay if u want after screen off/on.
[Android General] Shark5060:
You are correct ... that's what I did. Apparently I had a brainlag when I wrote the quoted text.
[Android General] gothy.gothy:
Let me understand, this is your answer to my question "can be set by one wakelock, allarm or service?"

So you are answering that you are using Macrodroid like me and that is the answer to how can be set auto sync by one wakelock, allarm or service? Are you kidding, right?
[Android General] jelive:
Don't know way to do one specific wakelock etc with macrodroid. Could check and post on macrodroid forum for ideas. Why can't u use amplify for that. My suggestion was generic to turn off sync with screen which seems to help overall with sync issues-battery.
[Android General] gothy.gothy:
OK, I'm trying again: [MENTION=1330293]jelive[/MENTION] I don't want to use Macrodroid for setting wakelocks, but setting wakelock or allarms IN Amplify, because THIS IS THE APP WE ALL ARE TALKING ABOUT HERE and give up Macrodroid for auto sync

Now I hope it's clear for you, isn't it?
[Android General] neonkat:
with/without powernap+amplify(same drain)

---------- Post added at 11:32 PM ---------- Previous post was at 11:04 PM ----------

hey there,

anyone has greenified ANT HAL service?

i read thag there is no risk in hibernating it.
[Android General] jelive:
K missed the give up macrodroid. If not already in OP suggestions I'd list wakelocks and alarms that cause most wakeup and ask for suggested setting duration. Best I can offer...maybe someone else will step in.
[Android General] BrendenDonaher:
So I am getting a large battery drain from Android System, and it seems the culprit is an *alarm* wake lock (14,382 wake locks) since a fresh install of XtreSto about 2 days ago. Is it safe to limit this ?
[Android General] kevalpatel92:
I have Samsung note 4 n910g installed Dr ketan m3 rom with stock kernel.can I use this all settings in my stock kernel? Will it be safe has anyone tried it ?
[Android General] arunkafley:
anyone know what causes the android.net.netmon.lingerExpired_###_######## random number alarms? or have a regex to get rid of them?
[Android General] JustPlayingHard:
Good luck!

Sent from my Graphite Nexus 6P - You just got tapTalked
[Android General] Portgas D. Ace:
Please update BBS to the latest version 2.2.0.0B6 (available here on XDA) and upload another idle log file, but this time attach it as .txt file to make it easier to read. The current log does not show any alarm statistics and might be corrupted.

Please update BBS to the latest version 2.2.0.0B6 (available here on XDA) and upload another idle log file, but this time attach it as .txt file to make it easier to read. The current log does contain a corrupted alarm statistic.

*alarm* wakelocks appear on every Lollipop and Marshmallow ROM, they can be limited but from my experience it is not required as they don't drain any battery at all.

You can apply this guide on any device.
[Android General] aaaqhaaa:
Hai portgas, thanks for the info, will do that and attach as .txt file
[Android General] xstormli:
where is the setting > hack > op_wake whatever

Thanks for helping me. however, I checked my version, which is the newest 1.30.3 downloaded from the repo.

sorry for the newish question. XD
[Android General] Portgas D. Ace:
Open AppOpsXposed, then click on top right on the three-dot menu -> Settings -> Hacks -> OP_WAKE_LOCK-Fix
[Android General] Shark5060:
Alright. Here's my log from this night, would you please have another look?

- this is an idle dump, Awake (Screen Off) (): 8 m 1.7% has to be something my phone did while it was laying on my table; I didn't even touch it after disconnecting the charger.

- all things related to Social Contact Sync are fine (I've setup to sync it once every night at 3am).

- I have switched kernels from Hacker to Arter97, so there might be some differences to the last dump

thanks a lot.
[Android General] Portgas D. Ace:
First of all, 0.4% per hour is good, that's for sure. But let's see what else we have here:

wlan_rx_wake (): 2 m 58 s Cnt:(c/wc/ec)224/367/224 0.6% -> this kernel wakelock can be tamed, see here for possible solutions

bcm4773_wake_lock (): 2 m 35 s Cnt:(c/wc/ec)312/0/312 0.6% -> this one seems to be related to arter97's kernel, a user suggested to re-flash the kernel once more (dirty flash should be enough)

Alarms: 23, Intent: com.sec.spp.push.ACTION_SEND_PING_MESSAGE -> Samsung's own push notification service for Samsung apps; if you don't rely on Samsung apps, you could either completely uninstall them (Titanium Backup) or limit this alarm to 86400

com.rageconsulting.android.lightflow (): Wakeups: 10 (1.3 / h) -> LightFlow draining some battery for each notification

Alarms: 9, Intent: 111

Alarms: 1, Intent: 112

Alarms: 4, Intent: com.microsoft.skydrive/.streamcache.service.AlarmReceiverForUpdateSyncRootService -> Microsoft SkyDrive seems to be active every two hours; if you don't rely on instant sync for SkyDrive, you could limit this one to 43200 so it will sync two times per day

Alarms: 2, Intent: com.facebook.rti.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.MqttLite.com.facebook.katana

Alarms: 1, Intent: com.facebook.rti.mqtt.e.f.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca

-> both FB apps seem to be active, but on a less regular base than normally. Did you greenify them or limit their alarms with Amplify?
[Android General] StevenBX:
Could someone take a look at my idle log please? Think I've done it right this time!

I've fiddled with the ElementalX kernel, and am currently on Franco Kernel, and have implemented the Greenify, Amplify and Power Nap settings but still don't seem to be making much progress. With normal usage, I could probably only get about 3 hours of SOT during the day. I think the reason might just be that my phone is held awake for a couple hours most days as I'm listening to podcasts during my commute, but if there's anything else going on it'd be good to fix that also. Any advice appreciated!
[Android General] Shark5060:
Yes, I've greenifyd them as suggested in the OP (Along with G+, Hangouts and Instagram).

Did all the other things as well. I am not unsatisfied with my battery life (actually I am really happy with it), but if it can get even better - why not =)

Thanks a lot for your amazing help not only for me but for all the other users. It must be kinda boring to repeat yourself every day and have a look at quite similar looking wall of texts. Really appreciated.
[Android General] Portgas D. Ace:
Yeah, this time everything is good. That's a nice idle log file :good:

Level lost [%]: Bat.: -5%(100% to 95%) [0.6%/h] -> that's quite good, but some things can be done to achieve an even better idle drain

Sensors (): 4 h 48 m 59 s 56.6% -> some of your phone's sensor(s) seems to be active, but it is difficlut to tell which one from the log file

IpReachabilityMonitor.wlan0 (Android system): 2 m 58 s Count:57 0.6% -> check this thread for more information about this wakelock

bluesleep (): 6 m 12 s Cnt:(c/wc/ec)51/8/51 1.2% -> this should be related to Bluetooth

Alarms: 86, Intent: com.android.bluetooth.btservice.action.ALARM_WAKEUP -> again, Bluetooth is firing a lot of alarms; I would suggest to disable it when you don't need it

Alarms: 11, Intent: com.google.android.gms.wearable.node.bluetooth.RETRY_CONNECTION -> seems you are using a wearable device

Alarms: 9, Intent: com.google.android.libraries.social.mediamonitor.FIRE_ALARM -> you could greenify Google's Photo app so it won't run in the background

Alarms: 4, Intent: io.casper.android.INTENT_START_NOTIFICATION_SCHEDULE -> some notifications from Casper, but this is absolutely okay and won't drain much battery

10169 (Wifi) (com.whatsapp.WhatsApp): 1.0 MBytes 35.9% -> Whatsapp using some data

In addition, you seem to have some games like Clash Royale or Boom Beach running in the background. Those are also draining some juice, you could greenify them.

The rest looks good :good:

You are welcome. I also feel the pain in the *** when it comes to bad battery life, so I am glad that I can help others with their issues :)
[Android General] StevenBX:
Thanks; sounds like short of turning off Bluetooth (and not using my Moto 360 during the day), there's not much there which would significantly affect the idle drain much. I'll have a look into the bluesleep wakelock more in depth I think.

Interesting that the sensors were active for a few hours overnight when the phone was sat on a table not doing anything - could this use much battery?
[Android General] Portgas D. Ace:
It might be that the sensor (whichever it was) is draining some battery, but I would say that most of the drain comes from the active Bluetooth connection.

HEARTBEAT alarm is related to Google Cloud Messaging, limiting it will delay push notifications.
[Android General] soza971:
So there's nothing i can really do ?
[Android General] Portgas D. Ace:
Well, you can limit it to 900 ( = 15 minutes) and check if you encounter any delayed push notification.
[Android General] soza971:
All right i gonna try that thanks
[Android General] aaaqhaaa:
Hi, ill just update to the latest and here is my dump.

I just use xposed and greenify and amplify.

Thanks for checking my stats
[Android General] xstormli:
I just don't see where the hacks are ...

This is going nowhere, chief...

My phone has no hacking options under settings like you discribed.

under settings there are :

Launch Icon

Notifications

Personalization

Phone Brand Model

Experimental

backups

debug log

and etc...

---------- Post added at 08:37 AM ---------- Previous post was at 08:29 AM ----------

the Regex, what does it mean exactly?

ALARM_WAKEUPS[0-9]+

I have a lot of ALARM_ACTIONS from WeChat, can I set up the same way to limit these?

and last one, I wanna limit my gmail syncs, what would be the regex?

I see a lot of *sync*..... [MENTION=5499064]gmail.com[/MENTION], what kinda regex discriptions are suitable?
[Android General] dynospectrum:
Not hard to find
[Android General] Prattham:
So here is the updated version dump file

As i said i have high drain like 10-12% in 7 to 8 hrs

Help is appreciated