yashsingh1/xdaforums huggingface dataset:
[Android General] TNSMANI:
Using Amplify+MyAndroidTools only

I had achieved 0.1% per hour battery drop on idle with Amplify, Greenify, PowerNap and MyAndroidTools. I had also posted my BBS stats earlier.

Now, as an experiment, I had removed Greenify and PowerNap and limited/barred wakelocks, alarms and services using the guide here and at [MENTION=5401012]Celestial Fury[/MENTION]'s thread. I had made some small adjustments to suit my usage.

Now I present the result.

Thank you [MENTION=5867207]vaisakh7[/MENTION]
[Android General] v7:
Is GCM_RECONNECT or any other PUSH alarms limited in Amplify or didn't you get any messages during this period?

Just to confirm that push is working well.

Tapped from my furious dogo ;)
[Android General] TNSMANI:
GCM_RECONNECT is limited to 43200. I have only Whatsapp and Aquamail and in both I am getting push messages without issue though not instantaneously. I don't mind a few minutes delay.

I don't use Facebook etc.
[Android General] agbazinga:
Awesome stats (y)

Just wanted to know by how much time you limit whatsapp alarms and wakelocks ?? And approx how much is the delay in push notifications ??
[Android General] TNSMANI:
Thank you.

Alarms:

LOGOUT_ACTION =43200

AVAILABLE_TIMEOUT=7200

CLIENT_PINGER_ACTION=43200

CLIENT_PING_TIMEOIT=43200

No wakelocks of Whatsapp limited.

Delay is a maximum of 5 minutes.

Mind you, what works for me may not work for you. It depends on the phone, ROM, apps, battery and setup. I have achieved this after a lot of trials and errors. Fortunately till now no freezes, crashes, bootloop etc. Fingers crossed.
[Android General] agbazinga:
Thanks for the info :)

Yeah buddy I know it may or may not work. Just want to give it a try (y)
[Android General] fazi78:
hi

can you tell me what is this and if I can limited wakelocks:

*alarm*

*vibrator*

*net_scheduler*

GCM_CONN_ALARM

ActivityManager-Launch
[Android General] v7:
1.If you have an inbuilt Wakelock Blocker,block *alarm*wakelock.If it is unavailable on your ROM,try to limit that wakelock to 9999999 seconds.

2.*net_scheduler* is mentioned in the OP.

3.*vibrator* handles the system vibrations.

4.GCM_CONN_ALARM is related to Cloud Messaging and PUSH.Limiting it may break the notifications.

5.Activitymanager-Launch handles the recent apps that you've launched,and running processes.It is not safe to be limited.

Tapped from my furious dogo ;)
[Android General] GjorgiDxc:
A workaround for this is to download the Google Clock from Play store, and use that over stock clock. After that go and whitelist it in Power Nap. Don't know why but on cm12.1 the system clock doesn't show up in Power Nap.
[Android General] mikexmayhem:
can anyone tell me what this is and if it can be limited? im getting 6000 alarms from it

com.sprint.w.v8/.tasks.ObserverService

i believe it has to do with the sprint zone app? but i dont use it so im sure i could just uninstall it to get rid of this?
[Android General] sydeu:
I have already blocked *alarm* but I'm a bit curious about what this actually is, do you know? It's got ridiculousy many wakelocks when on (like a few hours of a few apps everyday)
[Android General] milojoseph:
Has anyone tried this

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

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Android General] v7:
There's no info about that wakelock.It appears on all LP ROMs.Although it shows high running times,actually it doesn't drain much.

Tapped from my furious dogo ;)
[Android General] v7:
I don't think that has a place in this thread.Thanks :)

Tapped from my furious dogo ;)
[Android General] SiK TL:
So do you recommend we limit it? Thanks in advance
[Android General] v7:
Limiting it has no side effects so far,so block/limit it using Wakelock Blocker or Amplify.Post me a dump later.If it goes well,I'll add it to OP.

Tapped from my furious dogo ;)
[Android General] madboymatt:
Do I have to whitelist AppOpsXposed in power nap?
[Android General] v7:
That isn't necessary.

Tapped from my furious dogo ;)
[Android General] lebron92:
BBS log 7h

Hi,

I have greenified and amplified my phone according to the instructions given.

This is the bbs log.

Any advice?

Much appreciated,

Matt
[Android General] v7:
I'm not sure what this alarm is about

Alarms: 71, Intent: com.asus.framework.ALIGN_WAKEUP_SIX_MIN

How strong is the cell signal at your place?

Do you have any inbuilt Battery savers running?

What are the top consumers on your inbuilt battery stats?

Tapped from my furious dogo ;)
[Android General] lebron92:
Hi, thanks for the quick reply.

The cell signal at my home is strong, no issues with that.

Asus has a battery-saving app that allows users to tweak the brightness, notification alerts etc. I enabled that app.

The android OS is consuming most of my battery(kindly view attached pics)

Cheers

Matt
[Android General] v7:
The dump explains little.5m Awake time is fine but the drain is unacceptable.Can you try to reflash the stock ROM?

Also try to disable the ASUS battery saver and post me a dump later.

Tapped from my furious dogo ;)
[Android General] googchrome:
First all, thanks for the wonderful guide. Could you please have a look at attached dump and advice if any other wakelocks and alarms can be limited? Any other suggestions are welcome. Thanks for the help !
[Android General] v7:
The screenshots and stats are different.Your screenshot shows 0.2%/hr drain while the dump shows 0.5%/hr.

Anyway 1min awake over 8 hours idle time is insane!I don't think there's anything more to tweak.This is good!

Tapped from my furious dogo ;)
[Android General] googchrome:
Thanks for the quick turnaround. You are right they are different, I attached wrong dump file. Have you noticed any issues with Google photos? Looks like they are syncing, it used to work when I installed it on my phone. Again thanks for taking time to look into this.:good:
[Android General] v7:
No,the sync isn't triggered.Everything looks clean.Enjoy your battery life :)

Tapped from my furious dogo ;)
[Android General] agbazinga:
Hi

Limiting gcm_reconnect affects push notifications but in general this wakelock is very high, so is there any minimum limit for this wakelock such that push notifications are not affected.

Also recently I noticed "sensor_Ind" kernel wakelock which was very high.

Do you have any suggestions for this wakelock ??
[Android General] v7:
You can use the Trial and Error method to find a limit.Try from 240 seconds and stop when you get delayed messages.

Do you have Ambient Display and Adaptive Brightness turned ON?If it is off,try to turn it ON and let me know if you are able to reproduce the wakelock.

Tapped from my furious dogo ;)
[Android General] agbazinga:
Thanks . will try that.

Using LiquidSmooth ROM (KitKat )...No ambient display and adaptive brightness options... Can it be due to auto brightness or adaptive backlight ???

And I wanted to know , OP includes only those wakelocks /alarms which don't affect push notification ??
[Android General] v7:
Try to enable Auto Brightness and Adaptive Backlight and see if the wakelock appears again.

Yeah!The guide won't affect the Push Notifications.

I personally believe PUSH Notification is one of the prime concern for majority of the Android users.

Tapped from my furious dogo ;)
[Android General] pratikp16:
I'm using the combination of apps and have found that pushbullet doesn't work even though i've added it as an exception in Power Nap but it doesn't seemed to have worked. Anything else i can do to solve this?
[Android General] v7:
Try to reset your account token.

Tapped from my furious dogo ;)
[Android General] agbazinga:
Auto brightness was disabled and adaptive backlight was enabled. Will try some trial and error.

Yeah buddy I completely agree with that, aim should be to get lowest idle drain depending on your usage without affecting the push notifications. Disabling every wakelock / alarm just for sake of battery life is too much of compromise IMO.

Keep up the good work.

Thanks for prompt reply (y)
[Android General] pratikp16:
Unfortunately that doesn't seemed to have worked. I'm thinking the issue might be with Pushbullet instead maybe.
[Android General] v7:
Can you disable Power Nap and see if Pushbullet works?

Tapped from my furious dogo ;)
[Android General] marbertshere:
So, a couple things I've noticed as I've been fiddling around with my battery.

1. BBS and Wakelock Detector report different awake stats. Usually BBS reports more awake time.

2. I'm at the point that the only prominent wakelocks that appear in BBS are *alarm* wakelocks. They add up to exactly the amount of wake time reported by BBS. I've tried disabling it with my roms built in wakelock blocker, but it doesn't seem to do anything.

I'm assuming that the *alarm* wakelock is time held by the entries in the "alarms" section of BBS ?
[Android General] v7:
I always prefer to use BBS as it gives a more detailed picture of the stats.

*alarm* doesn't cause any drain.When you compare the running time of this wakelock with the total awake time,the awake time is much small.That means *alarm* actually doesn't cause any drain.

Tapped from my furious dogo ;)
[Android General] goutham kumar muvva:
I am not able to attach any files to my reply :( ..can anyone help me regarding how to add files
[Android General] v7:
Visit this thread from a browser.While replying,you'll see a button to "Manage Attachments".Click on that,attach the files and submit!

Tapped from my furious dogo ;)
[Android General] goutham kumar muvva:
sorry to ask you such silly questions again and again :( . but i dont find any such "manage attachments" buttton while replying :'(

i tried from chrome and mozilla on my mobile and pc also
[Android General] v7:
See attached image!

Tapped from my furious dogo ;)
[Android General] lebron92:
I experienced this problem also, what I did is post in another sub-forum in xda and when i came back after a few hours I could see the attachment button.

Hope it helps.
[Android General] goutham kumar muvva:
yeah .It's like the manage attachments button doesn't even exist.I checked it like 20 times :/

so which sub-forum should I post in ?
[Android General] goutham kumar muvva:
The standby battery life of my mobile is varying too much . I have a nexus 5 running stock rom and codeblue kernel for Android 5.1.1 . some of the times , the battery is falling rapidly while at sleep and at other times it is behaving as it is supposed to as i followed almost everything that was mentioned to get better battery life .I have attached the dump for the last night .please check and tell me if everything is normal.thanks in advance :)

I finally got back my manage attachments button. :)
[Android General] v7:
Stats are not proper.Uninstall the current BBS version and use 2.1.0.0_b5 from BetterBatteryStats thread.

Post me a dump later.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
Anyway to minimize this?

Listening to music from my SDCard

via Sony's Music App

Sent from my Unicorn using Magic.
[Android General] lebron92:
Hi, may I know what is reflash stock ROM?

Thanks

Matt
[Android General] v7:
Don't feel like I'm arrogant,but the only way is to stop playing music using the app.Those alarms are triggered while playing music,limiting them probably break it's functionality.

Tapped from my furious dogo ;)
[Android General] v7:
Reinstall your Stock ROM.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
Haha, im geting like 6-7hrs SoT battery with 30 min gaming and 5-6hrs constant bluetooth music streaming while using social media apps ALL the time so i'm happy the way it is ?

Sent from my Unicorn using Magic.

---------- Post added at 08:26 ---------- Previous post was at 08:03 ----------

Would i havet better battery life IF i used spotify premium in offline mode?

Sent from my Unicorn using Magic.
[Android General] v7:
Yeah!Definitely.That should help you to squeeze a little more out of your cell.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
Damn, unfortunatlly that's not an option atm, #nocash, but is there no way to mininize the use of those services?

Sent from my Unicorn using Magic.

---------- Post added at 08:40 ---------- Previous post was at 08:36 ----------

Edit: I'm talking about mediascanner and devicemonitor services ?

Sent from my Unicorn using Magic.
[Android General] v7:
Mediascanner is triggered while playing music/video.No need to mess up with that.

DeviceMonitorService is related to the debugging and usage stats service, which collects anonymous data and sends them to Sony to improve the updates updates.You can freeze or uninstall the package using TiBu or any app managers.

Make sure you take a nand before trying.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
What's com.sonyericsson.music/.proxyService.ProxyService?

And, if i remove DeviceMonitor with TiBu, is there any downsides?
[Android General] v7:
That is an important service of the Music app.I guess it's related to the Media buttons.There have been reports of Music App crashing with that service limited.

There shouldn't be any issue in uninstalling that(DeviceMonitorService).Take a nand for safety.I don't want you to end up reflashing your ROM ;)

Tapped from my furious dogo ;)
[Android General] Mau669:
i disabled mediascanner once, not a good move, it didnt screw up my phone but everytime someone sent me a picture or video, it would not appear on my gallery so i had to re enable it.
[Android General] Mr.Elmmyr:
Is it safe to limit NewtorkStats wakelock? It's been running 841 times in 15 hours :o
[Android General] v7:
The NetworkStatsService wakelock is only held while collecting and

recording statistics from the kernel.It should be held for a short time.No need to limit that.

Tapped from my furious dogo ;)
[Android General] Dr Grato:
[MENTION=5867207]vaisakh7[/MENTION] im using xda apps and i want to submit bbs dump. But i cant attach any file. Only attach picture can. I searched for keyword "how to post bbs dump" but i dont find the answer. Hope u can guide me. Ty.
[Android General] v7:
XDA App/Tapatalk doesn't allow to upload attachments other than Images.

Visit the thread from a browser.You'll find a button to "Manage Attachments" while posting reply.Click on that and upload the txt dump.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Good morning. Hope I did this right. This is a custom dump and i think my battery dropped 8% in 8 hours. I used power nap, Appops, greenify and smart signal, but it doesn't look like smart signal really worked as I had poor signal. Not sure what went wrong. Thanks for your help.
[Android General] suaverc118:
Here are some screen shots.
[Android General] v7:
Stats seems fine.But since you mentioned that the signal was poor,I believe that is the cause of this drain.

Tapped from my furious dogo ;)
[Android General] v7:
The screenshots does explain that the drain is caused by poor signal.

Tapped from my furious dogo ;)
[Android General] suaverc118:
I wonder why smart signal didn't kick in this time then? I just had my screen off again and turned it on and the signal was still on. Kinda annoying. Thanks.
[Android General] v7:
Are you mentioning the Smart Network module?

Can you share a screenshot of your setup in the Smart Network app.?

Also post me a log from the Xposed Installer.

Tapped from my furious dogo ;)
[Android General] SiK TL:
Here's my log. I know I only got around 5.5 hours. If that's not enough I can retry again. Thanks for the help.
[Android General] v7:
*Limit com.google.android.gms/.checkin.EventLogService$Receiver to 84000 seconds.

*Increase the limit of com.android.internal.telephony.data-stall to 3600 seconds.(Do let me know if it breaks any functionality)

*If you don't use Weather in the Clock Widget,turn it off.

If you use it,then limit:

1.com.cyanogenmod.lockclock.action.CANCEL_LOCATION_UPDATE to 3600 seconds.

2.com.cyanogenmod.lockclock/.weather.WeatherUpdateService to 3600 seconds.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Here is the log, will post pics in a bit
[Android General] v7:
The module isn't working.Is it activated in Xposed?Post screenshots of your Smart Network setup.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Here is my set up. Not sure why one day it activated and last night it didn't. Not sure if I have to whitelist in power nap or what. Thanks for your help
[Android General] v7:
Try to whitelist in Power Nap and see if it switch networks.Do let me know.

Tapped from my furious dogo ;)
[Android General] suaverc118:
LTE stays on.
[Android General] Dr Grato:
Do i need to enable watchdog procssing? And whats this?
[Android General] suaverc118:
WiFi stays on according to my battery even though I have scan off and etc.
[Android General] suaverc118:
Here's the pic
[Android General] lebron92:
Hi, I have disabled the battery saver and reset all my amplify and greenify settings but have not reflashed stock ROM as I am still finding out how to do it. This is the battery log.

Do I really have to reflash the stock ROM now?

Much appreciated,

Matt
[Android General] Purerawenergy:
You may want to go back to v65 for installed. In still using that version because v67 and v68 are still relatively me. I uploaded 65 for you initially because it's been tested for a while. No need to jump as soon as he releases, if one works stick with it.

Sent from the slippery slope.

---------- Post added at 08:54 PM ---------- Previous post was at 08:54 PM ----------

Xposed, not installed

Sent from the slippery slope.

---------- Post added at 08:55 PM ---------- Previous post was at 08:54 PM ----------

Jesus I need to proof before I click send. Relatively new it should say.

Sent from the slippery slope.
[Android General] v7:
Limit

*RILJ to 800 seconds.

*android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED to 7200 seconds.

*com.facebook.push.mqtt.keepalive.KeepaliveManager.ACTION_INEXACT_ALARM.com.facebook.katana to 7200 seconds.

*com.facebook.analytics.service.AnalyticsEventUploader.ACTION_ALARM to 84000 seconds.

You're having hsic_s3_wlock which is a known bug in the Zen Kernel as reported in the forum.You'll have to wait for an official fix.Maybe a reboot can fix it temporarily or even a clean flash can get rid of it.I'm not sure.

For flashing guide,refer section 3.2 in this thread.

Tapped from my furious dogo ;)
[Android General] v7:
Are you mentioning the WatchDog service of GooglePlayServices?

It is enabled by default.Disabling it breaks some of the Google Apps.

Tapped from my furious dogo ;)
[Android General] v7:
Post me the screenshot of your WiFi setup page.

Tapped from my furious dogo ;)
[Android General] suaverc118:
Here you go
[Android General] v7:
Setup looks fine.And from your previous battery stats screenshot,the WiFi was off during screen off for a long time but at the end of the stats,it was running even though the screen was off.Was there any downloads running in background?

Have you tried to whitelist Smart Network in Power Nap? Does it work now?

Tapped from my furious dogo ;)
[Android General] suaverc118:
Maybe during that run but here is another shot from unplugging it not to long ago for a few hours. Nothing downloading from what o saw. I wonder what could be causing my WiFi to show running when it's not?
[Android General] v7:
Happy with your Deep Sleep.Glad I helped :D

Tapped from my furious dogo ;)
[Android General] v7:
Remove Servicely.It is nothing more than a traditional task killer.

Tapped from my furious dogo ;)
[Android General] torecdude:
thanks for quick reply!

about amplify, you said :

Limit the following:

Alarms(Allow every 7200 seconds)
android.content.syncmanager.SYNC_ALARM
com.oasisfeng.greenify.CLEAN_NOW

but amplify says its not safe to amplify those alarms. why is that? is that safe?

and what about location alarms you posted. i read about you that you dont use location alot only for Device only but i prefer to leave location as is because i want Waze to work properly - Should i amplify those?

thanks!
[Android General] v7:
You can limit those alarms.I've tried it myself.

About the Location alarms:Limiting those alarms shouldn't break your location or gps.You can Amplify it.

Tapped from my furious dogo ;)
[Android General] Stupifier:
So, I'm still actively monitoring and tweaking things.....but I have to say, this guide has

dramatically improved my battery life.

I couldn't do any of this type of stuff until Xposed became compatible with Samsung/Touchwiz Lollipop. Now that it has, I've been on a roll.
[Android General] jhuff83:
Rated thread 5 stars for ya.
[Android General] shcxatter2:
As far as I know Amplify doesn't work on Lollipop, correct me if I'm wrong? :confused:
[Android General] vodeblog:
You are wrong.

N9005 Rocking with Norma v21 Lollipop + Lean 6.2
[Android General] v7:
It works like charm :)

PS: Please avoid quoting entire OP

Tapped from my furious dogo ;)
[Android General] suez77:
I use Greenify and Clean Master.

Greenify is really good, but there are still stuff that keeps running that 's why i use clean master to stop them and I have the kill stuff when screen is off.

It improved the life of the battery.
[Android General] shcxatter2:
Oh, sorry then, I was misled by this https://docs.google.com/spreadsheets/d/10vutBHBlPtEFtnqNQBuz-IzStlXNGbVS6K0BRpwz7n0/htmlview#gid=0
[Android General] James9000:
Plz plz help me... just tell me that this battery life is great or not good...￼
[Android General] v7:
Clean Master itself sucks some juice.I've used Clean Master before rooting my phones.Uninstalled right away after rooting.;)

Tapped from my furious dogo ;)
[Android General] v7:
Post a BBS dump.I can't judge your battery life with this screenshot.

Tapped from my furious dogo ;)
[Android General] James9000:
Hmmmm....i dont have it yet but i will give u later...thanks for the help:)
[Android General] GjorgiDxc:
Any word on using Servicely just for disabling services? I'm using it like that right now, no hit-list set-up, just for disabling services.
[Android General] suez77:
I know, but there are stuff that still keeps running.
[Android General] v7:
I recommend using MyAndroidTools for disabling services.Running Servicely together with the app mentioned in the OP has no point what so ever.

Tapped from my furious dogo ;)
[Android General] GjorgiDxc:
Than I'll use MyAndroidTools, and report my battery stats :)
[Android General] v7:
Post me your dump.Let me see what drains your juice.

Tapped from my furious dogo ;)
[Android General] v7:
In the BBS,what does it show?Wifi Running?

Tapped from my furious dogo ;)
[Android General] suaverc118:
Man I didn't even think to look. I plugged my phone back in and was going to do another test overnight. Dang it.
[Android General] Dr Grato:
No. Im talking about watchdogs in bbs. In setting. Do i need to enable?
[Android General] v7:
What is the watchdog and how does it work?

A: The wachdog is a feature to help you in analysing when happens when screen is off. When the watchdog is turned on a reference 'screen off' is created. You can also configure the watchdog to create a reference 'screen on'. Optionally the watchdog will notify you when screen is turned on and the awake ratio was bigger that the configured threshold. In order to avoid too much overhead in processing a threshold can be set to disable the computing for short screen off times.

Watchdog is usually used for advanced debugging.Normally there is no need to use it.

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
[MENTION=5867207]vaisakh7[/MENTION]

Help... :(

[IMG="Messenger keeping awake"]http://i.imgur.com/tGUeTdl.jpg[/IMG]

I'm using greenify, but it keeps awake? I've denied Keep awake in privacy guard (Using CM based rom).. When i went to bed it had been awake for like 2,5 hours, not after waking up, 7hrs...
[Android General] v7:
Does it drain any battery?Can you post me the BBS dump?

Tapped from my furious dogo ;)
[Android General] Mr.Elmmyr:
I dont have the BBS app installed yet, but i went to bed with 89% and woke up with 88% so i guess not, but still, i've denied it in Privacy Guard to Wake Up, Keep awake and Start automaticlly, yet 5hrs running in background? :p

It's even higer then screen in the battery list :P xD