yashsingh1/xdaforums huggingface dataset:
[Android General] Celestial Fury:
Awake (): 1 h 41 m 45 s

Screen On (): 33 m 17 s

You've been using your phone. See Post #3 on what an idle test is.

It will interfere with the battery saving app in question.

Your network was somewhat active. Attach the other screenshots from Post #3 to see what else is draining since alarms/wakelocks are already low.

How often does it happen? KitKat or Lolipop? See Post #3 Facing problems with abnormal battery % and shutdown ?

CurrentWidget shows no data on my phone so can't test this and no one else in that thread tested either. A hypothesis needs independent confirmation.

Could be - I don't use FB notifications though.

I'm only familiar with BBS so you'll need to post something BBS related.

THIS. Long-time subscribers of this thread will know that I spoke of WeChat before and how they created random alarms and couldn't be stopped without breaking functionality. They were the first and then Google followed suit. They can't be limited as another random numbered alarm will be created. Now the fix for it has also stopped working. We know there are Google employees with accounts on XDA. I won't be surprised if they keep up with what actions we take and then come up with a counter-measure. It seems to me it's best if fixes related to Google should not be said.

Wakelocks from apps that you've uninstalled? A reboot should make them disappear.

Not familar with WLD. Need something BBS related.

Shhh. One does not exist.

Google's Safe Browsing project?

No devs here - this is just a 3rd party guide. Those aren't what's needed. See Post #3.
[Android General] silverhunk:
Thank you for explaning bro. The only one solution is to freeze it when sleeping as i dont use it much.
[Android General] Pepsy89:
[MENTION=5401012]Celestial Fury[/MENTION] What can i do about this ? It's draining my battery pretty fast :)
[Android General] praveensingh569:
Plz help huge battery drain
[Android General] edwardob:
haven't hit the target 0%but I well pleased with 3% 7 hours......

tried debloat greenify.... others... but this was the best....

just need to get rid of 3%
[Android General] Portgas D. Ace:
Then upload an idle dump log file and someone might be able to help you. Check the first posts in this thread if you do not know how to do that.

---------- Post added at 11:34 AM ---------- Previous post was at 11:33 AM ----------

From your log:

Alarms: 41, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

Alarms: 16, Intent: com.android.providers.calendar.intent.CalendarProvider2

Limit those two alarms according to the OP.
[Android General] Portgas D. Ace:
The best way to pull an idle dump is described in post #3 (section Test Idle Battery Drain). You'll need Better Battery Stats (BBS; can be found here on XDA) for this. Charge your device to 100%, unplug it and leave it idle ( = do not use it) for 7 hours, preferrable during night when you don't use the phone at all. Then save the log file from within BBS (in BBS --> Share --> Text Dumpfile) and upload it here as attachement.
[Android General] TNSMANI:
What you can do instead of posting screenshots after running the phone for just half an hour, is read the first few posts of the OP and post the required details so that someone can help you.
[Android General] Pepsy89:
Hello, sorry for the first post , i made a idle battery test almost 10 h from full charge , here are the results.
[Android General] Portgas D. Ace:
Use the share function within Better Battery Stats to save the idle dump file as .txt file and upload this file here..
[Android General] thechints:
Anyone know what these wakelocks are?

I've got Location History off and the Location Services is in Battery Save mode.

I hope this information does point to a general direction and an not being a total noob...

Thanks.
[Android General] Blade2014:
Hi Sir,

Finally I think I may have found the cause of the miscellaneous battery drain. Can you please check the screen shot and guide me to which wakelock, alarm or service should I block

That "Starting dock service" wakelock is for around 15 minutes while the phone is in idle mode.
[Android General] pnm3049:
sir. i just recently saw this thread. you helped me a couple of days back in vaisakh7's thread. i was just wondering, this thread's setup is a bit different and a bit harsh i could say. the alarms that we avoid limiting before is being limited here. any opinions? PS: i dont want to offend anyone by this post
[Android General] pnm3049:
I saw you limited most of the things that triggers facebook. But how about limiting something about messenger? Because I think when messenger wakes up due to notifications or something it automatically wakes up facebook. What do you think?
[Android General] JudgeDread11:
I got that same feeling, whenever messenger is active Facebook wakes up, even though it's a separate apk.

Does anyone know how they communicate? Do they use receivers and if so which receivers?

If we know that we can block those and prevent messenger from waking up Facebook.

Sorry for being somewhat of topic since what I ask is not limiting alarms and wakelocks. And will probably limit/disable sooner Facebook functionality while the aim of this threat is to not do that.
[Android General] pnm3049:
what your saying can be done by using the cut off feature from greenify. but I have tried it and it broke the functionality of the two working hand in hand. so maybe the best solution here is to limit the alarms of messenger the same seconds as the facebook. i havent tried to limit them to large numbers though
[Android General] Xx-Ness-xX:
Could you please take a look at my BBS log and tell me what I can do to improve my idle battery drain given that at my workplace the cellular reception is pretty weak so partially the poor battery drain is due to the weak signal. I am also using Android Wear so Bluetooth needs to be on all the time.

So besides turning off Bluetooth, and get a better signal what else can I improve in my situation?

Thanks in advance!
[Android General] Portgas D. Ace:
Limit the following alarms according to the OP:

com.whatsapp.messaging.MessageService.CLIENT_PINGER_ACTION

com.whatsapp.alarm.CLIENT_PING_TIMEOUT

com.google.android.gms/.checkin.EventLogService$Receiver

Furthermore, the apps com.handmark.tweetcaster.premium and com.disa are giving you an insane number of alarms. You could limit com.handmark.tweetcaster.premium/com.handmark.tweetcaster.UpdateService to 3600. This way you will receive notifications from Tweetcaster once per hour if you are okay with it.

If you use Greenify (donation version), you could greenify both apps and activate the GCM push feature within Greenify (see "experimental features"). This way you will decrease the number of alarms but still receive your push notifications in a atimely manner. This is especially useful for Disa, as it creates lots of different alarms that can't be tamed one by one.

I have no idea what the app jp.r246.twicca is/does, but it seems that jp.r246.twicca.CLEAR_CACHE is responsible for approximately one alarm per hour.

Beside those, 0.6% per hour over nearly 12 hours of standby time is quite good.
[Android General] akimester:
Hi all!

At first,sorry for my bad english. It is not my native language.

Well,Amplify could be a good program,but not for me. :(

It simply doesnt work on my phone.

Here comes the facts:

C5302

Unlocked

CM 11 (4.4.4),GAPPS removed,i hate it.

At the moment custom kernel(doesnt matter,stock kernel acts like the same)

Xposed installed,configured,Amplify checkbox too. Phone restarted,etc. Root access granted. As it needs.

This is my second C5302. The first one was purchased from my carrier ,the currently used from an independent store.

Both phone acts like the same,even on stock ROM.

The problem is the following:

Sometimes the battery drains more with Amplify! (0.5-0.8%/hr)

My normal drain without "wakelock-tricking" is 0.3%/hr.

I did everything described in the first post but no effect. As i wrote,sometime i have more drain than usual. :(

Another thing: battery percentage indicator sometimes suddely freezes for ~20-25 mins under usage, (Browsing,mail writing,etc),after that continues the draining with normal rate.

And sometimes doesnt decrease for ~12-18 hrs when the screen is off/deep sleep.

Maybe thats why Amplify doesnt work for me?

Any idea?!

Waiting for any help!

Thank you very much!

Yesterday charged my phone to 100%, and created the logfile.

Here it goes..

Ups,it look like i cannot attach a file yet. :/ (upload it asap)
[Android General] edwardob:
.3% per hour. ......what you complain about? ? people here only Dream about that!

turn phone off. ..if you want improvement
[Android General] edwardob:
here's my log file ...any one any suggestions. .....I fixed the what's map entries
[Android General] Portgas D. Ace:
Limit com.microsoft.skydrive/.streamcache.AlarmReceiverForUpdateSyncRootService to 7200.
[Android General] edwardob:
l

thanks I spotted that but not sure how far I could go with the limit

thanks
[Android General] Pepsy89:
Hey i posted on page 147 some pictures and a .txt file from 10h idle status , can you please tell me how to improve that ?

http://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588/page147
[Android General] edwardob:
first look into......i see Facebook stuff

plenty of Facebook alarm/wakelock mention in list on first page

...

go trua ll of them and report back
[Android General] dynou:
Hello

This my BBS files with screenshots
[Android General] Pa2k3l1s:
Is it true that Xposed doesn't work on newest Cyanogenmod version? I'm using Note 3 N9005 model and when opening Amplify app it just keep the screen where it says that it's searching if Xposed is installed. However, nothing else happens. When I open Xposed app, it says that Xposed is not compatible with Android SDK version 22 or your processor architecture (armeabi-v7a). Sooo, bad news for me?
[Android General] Pepsy89:
[MENTION=1555240]edwardob[/MENTION] Thanx , i will timeout all facebook from first page , but should i let greenify instaled or unninstaled ? becosue i see com.oasisfeng.greenify/.cleanerservice used 305 alarms today.
[Android General] edwardob:
I set that one com.oasisfeng.greenify 1800 sec.....with no issues yet

Google. it.....

one step at time.....I went from 20%drain to 3% still working on getting more gains
[Android General] Portgas D. Ace:
Well, check again within Amplify if you have all alarms from the OP limited. Use the search function, this way you won't miss any alarm.

Comparing Greenify to Servicely: Greenify does hibernate apps, whereas Servicely kills all services from the app. One big disadvantage of Servicely is the fact that apps keep getting auto-started again after they have been killed (despite the fact that the developer of Servicely says that apps won't start again after they have been killed). This way apps get killed and start again after a while, thus resulting in being killed again... A vicious cycle, which drains more battery than it is supposed to save. In my opinion (and from my personal experience with it) Servicely is nothing more than a task killer which runs once every minute. In addition, you won't receive any GCM related push notifications from killed apps, whereas you can use the GCM push option in Greenify to receive push notifications. Currently, not all apps seem to work properly (Whatsapp and Telegram Messenger for example), but things are getting better with newer versions. Therefore I would recommend Greenify. But there is a version of Servicely available here on XDA which includes all pro features for free. You can try Servicely and check whether it meets your personal needs or not before going ahead and purchasing Greenify.

You can limit twicca alarm, sure. In general, you can limit any alarm of any third-party non-system app without having any system-related issue. Most alarms are for a proper working of the app, so limit them by making an educated assumption (like you already did) and check if the result correlates to the limit time or results in issues. If you are okay with the result, you can go ahead and inncrease the limit time step by step until you face issues or the app doesn't behave anymore as you like it to behave.
[Android General] Guido83:
Is somebody able to recognize the issue I am facing lately? I have absolutely no clue why my phone won't sleep as long as it should.

When u study my battery log (attached) you can see there are no wakelocks or alarms waking up the device, but nevertheless the phone was awake for about 20minutes. the CPU was being active for this time at a frequency of

I am really in despair of this and I have already carried out full wipes without success. The latest BBS log was done with almost no apps installed.

I hope someone can give me a clue about that strange issue.
[Android General] Portgas D. Ace:
Alarms: 33, Intent: android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED

This seems to be an issue. Limit it according to the OP and report back with a new idle dump file.
[Android General] DrShaggy:
Extremely helpful guide mate, noticeable difference in standby time! Cheers!

---------- Post added at 07:35 AM ---------- Previous post was at 07:31 AM ----------

I was wondering if you could help identify and limit some android wear related alarms etc since it is one of the major battery drain reasons on my phone...?
[Android General] Guido83:
Even blocking this aklarm does't fix the CPU online issue. It must be something different. So 33 alarms don't cause almost 20minutes wakefulness
[Android General] clintonbugz:
.

View attachment BetterBatteryStats-2015-10-09_063845739.txt

10% battery drain

pls help someone!!
[Android General] mikexmayhem:
*alarm* (com.whatsapp.WhatsApp): 40 m 46 s Count:11 10.0%

do you use whatsapp? if not limit it or use appopsxposed to disable keep awake

Alarms: 1, Intent: com.google.android.gms.reminders.REFRESH_NOTIFICATION

you can limit this to 86400. its for play services/store. ive done so for a few days now with no noticeable effects

Alarms: 1, Intent: com.google.android.gms.icing.INDEX_RECURRING_MAINTENANCE

same as the one above for this

Alarms: 5, Intent: android.appwidget.action.APPWIDGET_UPDATE

this will be one of the bigger ones most often. do you need widgets? if so limit them for as long as you can stand it

Alarms: 1, Intent: com.android.server.task.controllers.IdleController.ACTION_TRIGGER_IDLE

same as REFRESH_NOTIFICATION

com.whatsapp (): Wakeups: 2 (0.3 / h)

Alarms: 0, Intent: com.whatsapp.action.HOURLY_CRON

Alarms: 0, Intent: com.whatsapp.action.UPDATE_NTP

Alarms: 1, Intent: com.whatsapp.action.DAILY_CRON

Alarms: 1, Intent: com.whatsapp.action.BACKUP_MESSAGES

Alarms: 0, Intent: com.whatsapp.MessageService.RECONNECT

Alarms: 0, Intent: com.whatsapp.alarm.AVAILABLE_TIMEOUT

again if you don't use then limit these, uninstall the app, or use appopsxposed to limit wake up

start with some of those and do another test, overnight im assuming
[Android General] espaciox99:
Help me :(

https://www.dropbox.com/s/l1kglt64zorxndu/BetterBatteryStats-2015-10-09_070246970.txt?dl=0
[Android General] edwardob:
you need to go tru that list on first page ....and then start working tru the rest
[Android General] espaciox99:
Could you explain me how to work the rest? and excuse my English

Enviado desde mi Moto G mediante Tapatalk
[Android General] edwardob:
do what on the list first. ...leave overnight. ..and see what you have to do next. .

.
[Android General] Celestial Fury:
Post #1 is a general explanation.

Post #2 is the guide for which alarms/wakelocks to limit and for how long.

Post #3 is for how to test and how to find problems with limited alarms/wakelocks.
[Android General] edwardob:
when you have done all what you can........ then show us what's left with your stats ...

and someone here might be able to help you...

every ones phone will be different #####!!!!

here's my leftovers after putting on flight mode for 7hr.

Alarms (requires BATTERY_STATS permissions)

======================

imoblife.toolbox.full (): Wakeups: 10 (1.4 / h)

Alarms: 5, Intent: count_action_rotation_odleuser

Alarms: 4, Intent: count_action_end_odleuser

Alarms: 1, Intent: count_action_rotation_newuser

Alarms: 0, Intent: count_action_end_bootreceiver

tthis one is allinone toolbox ..not sure what to do? went for 43200 on these??!1

com.android.systemui (): Wakeups: 4 (0.5 / h)

Alarms: 2, Intent: com.samsung.cover.DELAYED_TIMEOUT

Alarms: 2, Intent: com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD

this one i havent a clue

com.google.android.googlequicksearchbox (): Wakeups: 4 (0.5 / h)

Alarms: 4, Intent: com.google.android.googlequicksearchbox/com.google.android.velvet.VelvetBackgroundTasksImpl$Service

Alarms: 0, Intent: send_events

something to do with google??

com.google.android.gms (): Wakeups: 1 (0.1 / h)

Alarms: 0, Intent: com.google.android.gms/.lockbox.LockboxAlarmReceiver

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

Alarms: 0, Intent: com.google.android.gms.tron.ALARM

Alarms: 0, Intent: com.google.android.gms.fitness.aggregate

Alarms: 0, Intent: com.google.android.gms.location.ENGINE_BATCH_TIMEOUT

Alarms: 0, Intent: com.google.android.gms.location.FUSION_ENGINE_STATUS_ALARM

Alarms: 1, Intent: ALARM_WAKEUP_CACHE_UPDATER

Alarms: 0, Intent: ALARM_WAKEUP_BURST_COLLECTOR

Alarms: 0, Intent: com.google.android.gms/com.google.android.libraries.social.mediamonitor.MediaMonitorIntentService

Alarms: 0, Intent: com.google.android.gms.flp.EXPIRATION_ALARM_1

Alarms: 0, Intent: com.google.android.gms.flp.EXPIRATION_ALARM_4

Alarms: 0, Intent: com.google.android.gms.flp.EXPIRATION_ALARM_5

Alarms: 0, Intent: com.google.android.gms.flp.EXPIRATION_ALARM_3

Alarms: 0, Intent: snet.service.intent.action.IDLE_MODE

Alarms: 0, Intent: com.google.android.gms.flp.EXPIRATION_ALARM_2

Alarms: 0, Intent: com.google.android.location.internal.action.ULR_BLE_SCAN_ALARM

again i have no clue? oh missed burst collector from list.....fixed

com.samsung.android.sm (): Wakeups: 1 (0.1 / h)

Alarms: 1, Intent: com.samsung.android.sm.ACTION_LOGGING_ABNORMAL_APP_LIST

Alarms: 0, Intent: com.samsung.android.sm.UPDATE_STORAGE_SDB_DB

again no clue??

com.sec.android.gallery3d (): Wakeups: 1 (0.1 / h)

Alarms: 1, Intent: com.samsung.android.intent.action.FIND_GALLERY_NEW_EVENTEVENT

something to do with gallery

if anyone can spot anything i would be grateful....

above list is just alarms......

one step at a time!!
[Android General] fenrir_ac:
Alarm_wakeup_activity_detection

Did anyone find blocking "ALARM_WAKEUP_ACTIVITY_DETECTION" causes whatsapp notification delayed? Or is it chained to other alarm which prevents the phone from receiving whatsapp notification?
[Android General] edwardob:
alarm_wakeup12273347 any idea what this is 54 wakeups.....google not showing anything
[Android General] celikbasm:
look to post#2 for ALARM_WAKEUP(#####) ;)
[Android General] edwardob:
I reaslied that after I posted...

although no links mentioned there. I did find something somewhere... I assume this fix is for google play services....it was not clear... thanks
[Android General] Celestial Fury:
You heard it here first.

(alarm) ALARM_WAKEUP_ACTIVITY_DETECTION

(alarm) com.google.android.intent.action.GCM_RECONNECT

(wakelock) net_scheduler

Limiting these seems to now break automatic WiFi reconnect

FOR ME

. WiFi network will display as

Disabled

. After unlimiting them you need to manually reconnect the WiFi network once. Has no one else encountered this problem?

ALARM_WAKEUP(#####) currently cannot be stopped. Does the fix still work for you? Freezing or Greenifying Google Play Services is a possibility but many things that rely on Google Play Services will break.
[Android General] deepu458:
Regarding ALARM_WAKEUP_ACTIVITY_DETECTION whenever i limit this wakelock i used to get unfortunately Google Play Service has stopped error message, so i went i and removed that. And GCM_RECONNECT whenever i limit this i used to not get any push notifications and hence i removed that too. But haven't noticed any difference with the WIFI networks being connected properly(Already Saved networks, not new ones).
[Android General] deepu458:
So what u meant earlier was even after limiting GCM_reconnect you were still getting Push notifications like GMail, G+, etc?
[Android General] espaciox99:
Sorry for the delay is that I had to install a new ROM because the battery was going very fast tonight I put the log of BBS and thanks for the help!

Enviado desde mi Moto G mediante Tapatalk
[Android General] duminduweera:
Are you using exodus ROM by any chance??
[Android General] Ajju^:
Great guide thanks.
[Android General] Celestial Fury:
Stock. It's in my sig. Don't understand how I'm the only one experiencing it. Now it seems like a wakelock might also be causing it.
[Android General] mikexmayhem:
Mine is 7200 and I still get notifications. I also don't have WiFi issues with those others limited too
[Android General] arenaboy007:
Hello everyone! I recently did a fresh install of custom ROM and immediately limited as much alarms and wakelocks base from the guide.

I have here a text dumpfile and screenshot of my results. I'd like to know if there are other alarms/wakelocks that I can still further limit?

Also, the only thing I've observed was after I switch apps from play store and back a couple of times it eventually crashes, but I'm not

even sure if Amplify/Greenify/Power Nap has something to do with it.
[Android General] mikexmayhem:
If you are getting 0.0% you've attained about the best that you can obtain. What I would do is turn data or WiFi on and do another test. I get 0.0% with data on. That's where you wanna be!
[Android General] arenaboy007:
Would you mind sharing some alarms and wakelocks that you limited that I might have?
[Android General] Rsroms:
Powered By Simplrom and Emotion Kernel (Y)
[Android General] edwardob:
after lot of effort. not only with amplify ....I still only manage..down to 3%...........unless I put flight mode.....I have to presume its ththe ROM at this stage

I have debloated.......tried. power nap....greenify....even smart network (not working on Note 5)

Seems to difficult at this
[Android General] yerebakan:
Optimization is good choice for our phone.

I use Note2 which renew my screen and battery.

Everyday I discovery new settings and now I reach almost awesome phone which I use about 7hours screen time and %0-1 deep sleep consumption about 7 hours bla bla bla. Stay tuned ?
[Android General] edwardob:
not sure how this helps my cause??

be useful if you told us how you do it..... although you're is Note 2
[Android General] yerebakan:
for baterry saving is a lot of more to do.

Kernel (CPU/GPU) settings

Greenify

Powernap

Amplify

AppOpsXposed

Smart network

Debloated

Freeze apps (which are sometimes use)

Location settings

Sync settings

Motion settings

Lux Brightness

Gravity Screen
[Android General] dynou:
Hello

0,5% /hours it's in progress.

Here my dump file

I don't know what is those alarms

Com.sec.spp.push.ACTION_SEND_PING_MESSAGE

And alarm_wakeup56731
[Android General] Celestial Fury:
Com.sec.spp.push.ACTION_SEND_PING_MESSAGE Samsung Push Service If you don't use Samsung Apps (Samsung Link, Samsung Wallet, Samsung Pay, etc.) - turn it off/freeze/uninstall.

alarm_wakeup56731

Welcome to Google Play Services hell.

Alarms: 8, Intent: android.appwidget.action.APPWIDGET_UPDATE

If you don't use widgets you can limit it. For others not in the guide you'll have to try limiting them and check functionality.
[Android General] mikexmayhem:
Here are my wake locks and alarms limited. Still have full functionality but there are a couple GPS alarm, so I have not limited yet that I need to get around to doing

Wakelocks

Alarms
[Android General] arenaboy007:
Would you mind sharing the values? [emoji39]
[Android General] urnamese3:
Hello [MENTION=5401012]Celestial Fury[/MENTION] you should add some wakelocks, alarms and services written here

http://xdaforums.com/showthread.php?t=3095884

I've followed both guides and now my drain is 0 % when screen is off thanks to you two :)