yashsingh1/xdaforums huggingface dataset:
[Android General] wahuka:
Hi friend.

Exactly, which ones i have to limit? Sorry for my ignorance on the subject.

I see people who have 6.7 and up to 8 hours of screen on and I do not know how to get it.

Your tips are welcome :)
[Android General] Celestial Fury:
I don't know how to get 8 hours of screen on time (SOT) - is that even possible? Turn off wifi,data,cell; brightness below min, underclock or turn all except one core; governor powersave; and use the phone as a screensaver that shows one dark picture that doesn't change? 8h SOT - depends on what they use the phone for during that time. Play games? Really doubt it.

This guide is for when your screen is Off. In your screenshots, your phone's awake time is 51m 59s. That means you've been using the phone already. You need to take screenshots immediately after the idle period. Otherwise, the drain will include your using of the phone. See Post #3.
[Android General] Blade2014:
Sure Sir. I will do that tonight and will post here.

Thanks a lot

Santhosh. S
[Android General] garthybarthy:
Hi,

I'm still getting alarm_wakeup######

I've tried the app ops hack fix but still getting them.

Is there any other way to stop this?

I'm running the latest Google Play services.

Thanks

Sent from my SM-G920F
[Android General] tenjou_89:
this is awesome! i've configured Amplify following the exact same parameters posted (except for the clean master ones) and my sleep time incresed from 17% to 45% . BUT.. video playback is broken =( no matter what video player i use, only the first playback after boot goes normally. Afterwards, any other recorded or downloaded video wont play on stock video player, mx player, ESvideo player, etc. Also youtube playback stutters if i play a youtube video after boot before any other video, and then no other youtube video would play! nor any other recorded or downloaded video. Of course all this problems go away if i disable the module. what might be going on? what do you think could be the service or alarm shutoff that is causing this?
[Android General] b0neyard:
anyone seen the alarm alarm_wakeup131129? insane amount of alarms! just wondering if it's safe to limit?

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

Never mind... after further reading I see that it's not safe to limit.
[Android General] kopitalk:
I have those weird numbered alarms too after experimenting with wakelocks. I read something similar in the OP and it could be similar case whereby the main alarm/wakelock is limited and the affected app somehow find a way to create new alarms to get its way through.
[Android General] Blade2014:
Edited
[Android General] kopitalk:
Please edit your post to encapsulate it like this...

[hide]Respected Sir,

...

Thanks and regards[/hide]
[Android General] Celestial Fury:
The fix no longer seems to be working. If Keep Awake is turned off, then Google Play Services has stopped will keep appearing and Play Store can't run properly.

I don't have this issue. It depends on what you've limited that isn't in the guide. So, you need to compare.

Whether it's limited or not, Google Play Services will still create random 5-6 digit alarms.

You need to EDIT your post and ATTACH the dump file as a txt file ATTACHMENT and not post it as it fills up the screen.
[Android General] Blade2014:
Sir, I am very sorry for the inconvenience caused. I have edited my post and now I am attaching the text. Kindly check and guide me.

Thanks

Santhosh. S
[Android General] Celestial Fury:
Not a good idea to uninstall default system apps. 3rd party apps can stop being supported one day or a new update will cause it to create unnecessary alarms. Use Titanium Backup (it's free) to freeze the calendar app if you have to but then you won't be able to use Google to backup your calendar. Most 3rd party calendar apps also gets your appointments from the default calendar. I'm not sure if they provide their own calendar functionality so if you freeze the default calendar then you might not have any calendar to use. To see which app the alarm/wakelock belongs to just click on it in Amplify and it'll show you the app name.

Is this your own ROM? It's got your name in it. WiFi and data both off? Then it's very high drain. You need to attach these 4 screenshots as the dump doesn't show any problem:

(Android) Settings - Power management

1 Battery usage (to see app usage)

2 History details (to see mobile network signal and coverage and others)

BetterBatteryStats

3 Graphs - in 3-vertical-dot menu (to see more detailed wakelock graph)

4 History - in 3-vertical-dot menu (to check for skipping and abnormal drain)

If these 4 screenshots don't show anything either then it's either your ROM or battery.
[Android General] Blade2014:
Sir,

I am using sokp ROM. I just edited the build.prop lines to show my name in it. I used this to fool my friends into thinking that I build my own ROMs. :p:p:p. All believe me and I am a hero in my circle... Hahahahaha...

Also, I will look into the things which you have informed me.

Will update you with screen shots and text dumpfile tomorrow.

Thanks

Santhosh. S
[Android General] Blade2014:
Sir,

As mentioned by you I am attaching the 4 screen shots taken today. This is from midnight 1.55 to morning 9.03.

Kindly guide me..

Thanks and regards,

Santhosh. S
[Android General] -Zeppelin-:
Hi there,

I followed the guide and already get pretty amazing results. However I still got a few alarms/wakeups running wild, perhaps some of you have a clue if and how they could be tamed.

Log from BBS will be attached in a few minutes, as Tapatalk won't let me attach it.

Screenshots will be attached.

Greets
[Android General] Celestial Fury:
What is under Miscellaneous? I've never seen this to be high. This could be the drain.

Can you remove the screenshots from your post? They're meant to be attached and not posted. The dumpfile is enough. This forum does not use spoiler tags.

Awake (): 20 m 48 s

Screen On (): 8 m 15 (keep it under 1 m or the idle drain will be less accurate)

Did you read the guide?

Alarms: 73, Intent: ALARM_WAKEUP1864040 Does the fix in Post #2 work for you?

Alarms: 25, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: 44, Intent: com.google.android.gms.location.fused.GPS_ALARM_BALANCED_ACCURACY

Alarms: 18, Intent: com.google.android.gms.gcm.ACTION_CHECK_QUEUE

Alarms: 23, Intent: com.google.android.intent.action.GCM_RECONNECT

Alarms: 12, Intent: android.content.syncmanager.SYNC_ALARM
[Android General] Blade2014:
Sir,

As you said the miscellaneous is eating up my battery. I am not sure of what is it. Anyhow as a last attempt I will post the ss of what is mentioned in miscellaneous. Otherwise I will change my ROM and report to you.

Thanks

Santhosh. S
[Android General] -Zeppelin-:
I have the same problem with Video playback...

Happened after I started doing the wakelocks & services.

However I did NOT limit anything that's not in the guide, so no idea what's causing it...

Greets
[Android General] cuezaireekaa:
Just a though but have you tried a day of batt testing with all of those xposed modules turned off?

Try without the extra battery stats if that's one, maybe miscellaneous will magically disappear after a reboot and further testing. Id suggest then trying to see if any of those modules is the culprit.

sent from an sm-n900t
[Android General] Celestial Fury:
In other words, MISC is drain that is not recorded but observed - ghost drain or drain that can't be calculated directly but only mathematically. This could come from power inefficiency or maybe leakage either hardware or software.

See Post #3 How to find problems with limited alarms/wakelocks.
[Android General] Wilmerin:
Level lost [0,0%/h] in airplane mode

Thanks!

Attached new stats. Level lost [%]: Bat.: 0%(100% to 100%) [0,0%/h] but still some alarms are triggering. Should I worry about it?
[Android General] Portgas D. Ace:
Of course it does. Use [ HIDE ] and [ /HIDE ] (without space between brackets).

See? It works.
[Android General] -Zeppelin-:
I didn't get to under 1 minute with first resetting the stats and then in the morning exporting the text file. However I managed 1min40secs, which I hope is near enough (text dump is attached)

As per the video playback thing:

It seems (can't be sure yet), that after reenabling the services ".../com.facebook.analytics..." and "...com.facebook.analytics2.log..." the problem is gone. I'll keep watching it and IF the problem stays gone, try one after the other and report back.

As for the alarms at the bottom of your post: starting the limits with 7200 secs or would you start lower at the beginning?

It's just a random guess, but if there would be a way to somehow splitting high accuracy location and approximate location the location alarms & wakeups would already drain way less. E.g. if it would be possible to tell the OS that only e.g. Maps & Navigation may use high accuracy location and the rest have to use battery saving mode (which is way enough for anything not using continuous tracking).

Greets
[Android General] Celestial Fury:
To get rid of the drain you need to know where it's coming from. Do the baseline tests in Post #3 first.

No. Alarms are a natural part of the android system. If they don't cause drain there's nothing to worry about.

It has a spoiler function but not spoiler TAGS. It's called hide tags in this forum and he typed

Spoiler content hidden.
[Android General] bailey boy:
[MENTION=5401012]Celestial Fury[/MENTION], I have followed this guide today and have realized that the clock in my status bar has stopped updating. This is a Gravity Box tweaked clock. Which of the above items do you think block the transfer of the current time to the status bar?

Edit: I've unlimited the TIME_TICK and it's working again.
[Android General] Wilmerin:
Stats in Idle battery drain test

Thanks. Attached the stats on idle battery drain test. I decided to limit

Alarms: 67, Intent: com.android.internal.telephony.gprs-data-stall

to 600 secs
[Android General] dynou:
Hello

This night my Battery drain 1%/h

Could you help me for better battery life?
[Android General] Portgas D. Ace:
Alarms: 16, Intent: ALARM_WAKEUP8770918

Alarms: 20, Intent: com.facebook.push.mqtt.e.b.ACTION_INEXACT_ALARM.com.facebook.orca

Those two seem to be culprits for the drain. For the ALARM_WAKEUP*** alarm, there is a workaround available (see here).

The other one is related to FB Messenger. Do you rely on instant notifications from FB Messenger? If not, limit this alarm to 43200 (you will receive notifications every 12 hours if you do not open the app manually).
[Android General] dynou:
Thank you

I modified com.facebook.push.mqtt.e.b.ACTION_INEXACT_ALARM.co m.facebook.orca

and apply the modification on Google play service with servicely.

I had already changed this :

Under Hacks - Tick FIX OP_WAKE_LOCK

Turn off - Keep Awake & Run on Boot
[Android General] Portgas D. Ace:
Could you please check whether the issue caused by ALARM_WAKEUP*** will still persist? It seems that the fix is not working for some users with newer versions of Google Play Services as stated by Celestial Fury in post #2.
[Android General] dynou:
Ok, I'll tell you that tomorrow morning :)
[Android General] carmalius:
Useless Location Requests

I have limited location-related alarms and wakelocks to 300 secs. I still want to store my location on Google.

During the idle time (on night) I'm having 0.6% per hour. It's OK for me.

But during the day use I have started to mention that there are constant location checks (both rough and fine). They haven't appeared with Amplify disabled.

AppOpsXposed shows that location request are coming from Android System, Google App (I suppose it is Google Now) and Google Play Services. .

I think that limiting some wakeloks/alarms are causing some disfunctionality in location mechanism and leads to additional battery drain. Probably some wakelocks are stopping that useless location requests, but I prevent them using Amplify.

Is it possible to diagnose the problem? Do I have to correlate some location limits?
[Android General] dynou:
Hello

It's seem to be perfect, thank you.

I have 0.2%/hour :o with Localisation, wifi, data, 4 push mailbox, google photos, and others services activated :victory:

My stats if perhaps improved
[Android General] Celestial Fury:
TIME_TICK isn't in the guide and it's also listed as not safe in Amplify.

Looking at dump now...

TIME_TICK is running wild. You need to find out why. Your CPU is also running at max for 8 minutes. Check android Battery Usage for what app is using the battery / CPU.

Looking at dump now...

MCS_HEARTBEAT

Facebook

Alarm_wakeup (Is the fix working? To avoid Play Services had stopped responding when you uncheck Keep Awake, uncheck Location as well - but the alarm still occurs for me.)

Looking at dump now...

Fix working then? To reduce drain some more limit MCS_HEARTBEAT. I'd also test for a longer idle period.

Limitations depend on how long you have limited them and are unrelated to day or night. If Amplify is disabled they WILL appear. If wakelocks / alarms don't run they lead to less drain not more except for certain situations listed in the dangerous / do not deny section. This is not the case for location alarms / wakelocks so far. It's perfectly safe to limit them.

It is possible to diagnose the problem by providing a dump.
[Android General] dynou:
Hello

Sorry I'm a bit lost

What do you mean by Dump?

In AppOps i have check Fix OP_Wake_Lock

How can I see if the fix is working?
[Android General] tssphysicsboi:
Works greats on one plus one on teamseak Rom 7.1. Can feel the difference.
[Android General] nasedase:
These settings messing with my pebble time?

My pebble time occasionally no longer updates the time when my phone's screen is off. Do any of the settings from this thread tamper with bluetooth?

I love these settings because it saves me loads of battery, so I would hate to have to disable them.
[Android General] :
Dump refers to the best battery stats log file. You uploaded it here for Celestial Fury to look into and suggest a possible fix for your problem? That's what he meant when he said, "looking at your dump (log file) now"..

And as for the Fix OP wake lock from ApOps, I guess if the Google Play services drain is reduced, then the fix was a success. However, since I have never used that option from ApOps before, my answer may not be correct. Thank you.

2+2 = Omeleto Frumage
[Android General] dynou:
Thank you :)

This morning i have me big drain issue...
[Android General] carmalius:
I'm talking about the day use as a way to describe that I'm actively using the phone. And such applications as Google Maps.

Yes, location services wakelocks / alarms are safe to limit. But leads to the problem I'm trying to highlight.

Something keeps GPS active (precise location), or doesn't stops it for hours, especially when I'm driving a car (with Google Maps and other apps shut down).

With Amplify turned off everything OK: I'm closing Google Maps, and GPS stop.

With Amplify turned on GPS keeps being active without any apps.

Which dump can I provide to illustrate this?
[Android General] arenaboy007:
How is this result guys? I combined the suggested adjustments here and from the other thread, choosing whichever setting has the longer time with duplicate suggestions.

Note: I have leandroid, that's why I have WiFi on every 1 hr for 60 s for notifications.
[Android General] Celestial Fury:
If ALARM_WAKEUP doesn't appear in BBS in idle period then it's working.

Post #3 How to find problems with limited alarms/wakelocks

ALARM_WAKEUP doesn't appear for you? Custom ROM or you don't have Google Play Services?

Alarms: 8, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: -50, Intent: com.oasisfeng.greenify.CLEAN_NOW

(Ask in BBS thread what negative(-) means.)

Alarms: 10, Intent: com.sec.spp.push.ACTION_SEND_PING_MESSAGE

BBS Text Dumpfile.

(Android) Settings - Power management - History details

Can't get better than [0.0%/h]. KitKat or Lolipop?
[Android General] dynou:
OK so it's seem to be work :)

What delay I need for thoses alarms ?
[Android General] jhuff83:
Did not see this one in the guide. If I limit will it affect Facebook? Also what should it be limited to?
[Android General] thechints:
At the risk of getting flamed (since am gonna go on and be a noob that doesn't use search function), I have installed Amplify... Do I need to purchase (or donate) in order to start restricting wakelocks, etc?

I mean I can see what's keeping the device awake etc, but how do I work on it?

Sorry. And thanks.
[Android General] Wilmerin:
Why is yahoo mail app using the GPS?

Thanks, I have notice that push notifications was too delayed. So I unlimited the alarm com.google.android.intent.action.GCM_RECONNECT. Now the push notifications are back.

Now, after read the dump file, I have limited as follow:

com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

com.facebook.rti.mqtt.c.b.ACTION_INEXACT_ALARM.FBNS.com.instagram.android to every 43200 secs.

Attached the stats before this changes. Testing again tonight.

Also, there is something with yahoo mail app using the GPS. Attached the screenshot of the battery usage for yahoo mail.
[Android General] Portgas D. Ace:
You could limit it to 7200 and check whether notifications from FB will arrive in a timely manner or get delayed by two hours (=7200 seconds). If you are not relying on instant notifications from FB, you can limit it to 86400. This way you will receive notifications only once per day or when you open the app.

The pro version is required to limit non-standard wakelocks/alarms, so: yes, you need the pro version to apply the settings from this guide.
[Android General] dynou:
Hello

My dumpfile this night

If you can help me with it.
[Android General] Rep7ile:
Fantastic guide, I have gotten my battery drain down to 0.2%/h while idle. Need to tweak a fee things and re-test
[Android General] tri.idamanto:
Action platform wake
[Android General] Celestial Fury:
It has a similar name with a FB alarm in the guide so you can probably limit it the same.

Awake (): 53 m 14 s 18,4%

In the guide

ConnectivityService

NlpCollectorWakeLock

Alarms: 73, Intent: com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

Alarms: 20, Intent: com.facebook.rti.mqtt.c.b.ACTION_INEXACT_ALARM.FBNS.com.instagram.android

Use XPrivacy and deny location permission for Yahoo Mail.
[Android General] dynou:
Hello Celestial Fury.

Thank a lot for helping me. I do no if you have saw my last dump ?
[Android General] bmdhj:
Hey [MENTION=295410]Celestial[/MENTION]fury, I have been following your guide for the Amplify, blocking all the necessary wakelocks, alarms and services. But I still have lots of wakelocks to allow them to be activated, I just don't know how much. Can you please help me which one is safe and which one isn't and for how long? Thank you in advance! :):)
[Android General] gaetanolip:
hI

here my dump overnight ( asus zenfone 2 root, custom rom, custom kernel)

LOST 1% per hour , 4g on and wifi on ( wifi not connected to any router, always scan disabled ) sync off when screen off, gps and location off.

used greenify, apmplify and appops exposed. i think the culript is wifi ( kernel), in fact i notice much more drain in standby using wifi than 4g.

any help please?
[Android General] Celestial Fury:
Awake (): 9 m 28 s

Still in the guide

Alarms: 11, Intent: com.google.android.intent.action.MCS_HEARTBEAT

Alarms: 17, Intent: com.google.android.gms.gcm.ACTION_CHECK_QUEUE

Alarms: 17, Intent: com.sec.spp.push.ACTION_SEND_PING_MESSAGE

(What does this app do?)

You haven't been following Post #3.

Awake (): 10 m 27 s

Good Signal (): 49 m 48 s

(Attach your signal screenshot.)

Alarms: 16, Intent: com.asus.alarm.ALARM_CONTROL

(What does this app do?)

Nothing else in the dump. See what else to attach if alarms/wakelocks are low.
[Android General] revanthina:
My dump over night

Decrease 6% on 7 hours

OPO cm 12.1 CAF

https://drive.google.com/file/d/0ByoQ20cwpMoGNzJjVnpOZzN2Y1k/view?usp=docslist_api
[Android General] Blade2014:
Sir, if you can see my screen shot, suddenly the battery drops from 100 to 97. I don't know what happened. Can you please help me?

Thanks

Santhosh
[Android General] badnaffy:
Thanks for the guide. ☺
[Android General] deathkid13:
Should i limit thia? Or are they even safe to limit? :) thanks in advance
[Android General] Portgas D. Ace:
Sure they are safe to limit - in case you don't want DS Battery Saver to work properly ;) If you want DS Battery Saver to work, leave them as they are, limiting those alarms will break things.
[Android General] dynou:
Hello

It's better Thank you.

I don't know what this app com.sec.spp.push.ACTION_SEND_PING_MESSAGE
[Android General] Portgas D. Ace:
This is a part of Samsung Push Service, which is responsible for push notifications from Samsung apps (ChatOn, Samsung Apps, AllsharePlay, Samsung Wallet and so on).
[Android General] Blade2014:
Hello all,

I kindly request if anyone know why there is this drop in battery from 100% to 95% suddenly during idle time? There are no wakelocks or alarms during that period...

Thanks and regards,

Santhosh. S
[Android General] Portgas D. Ace:
Sure. Check this thread.
[Android General] Blade2014:
Thank you so much for you guidance sir...

Thanks and regards,

Santhosh. S
[Android General] xnknown:
wont limiting those facebook alarms prevent push notifications from coming in?
[Android General] deepu458:
Hi [MENTION=5401012]Celestial Fury[/MENTION], thx for ur guide. Im currently seeing some screen wakelocks like this, does these wakelocks drain my battery as i see count of wakelocks as 0 but the time its running is same as the device running time.
[Android General] silverhunk:
Is it safe to limit them?. I'm now getting 95% deep sleep but we cherry is what killing.
[Android General] Bijuu:
BBS shows that I have biggest drain from "deleted_wake_locks". Have no idea what's this.

Can anyone explain me what is this and is it possible to amplify it?
[Android General] EleDeA:
The suggested action was to wipe cache and dalvik cache from recovery, I don't remember where I read it =(

Here you can find more info :

https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/deleted_wake_locks

Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
[Android General] deepu458:
Hi [MENTION=5401012]Celestial Fury[/MENTION], please try to help with this issue as it is causing me really annoying any help would be greatly appreciated. These screen wakelocks are caused a lot is there any way we can restrict this WindowManager.
[Android General] Casyis:
Even though I followed the Play Services fix for this (here: http://xdaforums.com/showpost.php?p=62260833&postcount=1192), I'm still getting wakeups from ALARM_WAKEUP#####.

Does anyone know of another fix/workaround?
[Android General] dasojie:
Hey dev,

any idea what is security.snet.snetservice? it's safe to limit it?

thanks

HTC Desire 601 kitkat 4.4.2 stock rom kofilakernel
[Android General] arenaboy007:
Lollipop custom rom(Xtresolite for G925)