yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
What were the top consumers in Inbuilt Battery stats?

How old is the cell?

Tapped from my ❶+❷ ;)
[Android General] cryogent:
I do not have checked the inbuilt battery stats.

My cell is 4 years old and the battery has never been replaced.
[Android General] v7:
0.5%/hr on a 4 year old battery is good.There's no need to worry about it.If you want to earn more,consider replacing your battery.

Tapped from my ❶+❷ ;)
[Android General] cryogent:
Ok, thanks.
[Android General] Myrrhman:
Thanx for your reply.

No, it's not greenified.
[Android General] skyred5:
Not very old. Note 4 got it last year November. Almost a year old only.
[Android General] v7:
You're talking about Inbox right?

Is android.content.syncmanager.SYNC_ALARM limited in Amplify?

Tapped from my ❶+❷ ;)
[Android General] v7:
Post a dump with the the changes I mentioned in the last post to you.

Tapped from my ❶+❷ ;)
[Android General] CounterC:
[MENTION=5867207]vaisakh7[/MENTION] how is the battery life of your OPT performing? I will receive mine this week...
[Android General] v7:
For me it's average.5hrs+ SOT.Oxygen is a premature baby.Still needs a lot of improvements.I'm waiting for Fingerprint and AF fix to move to CM.

Tapped from my ❶+❷ ;)
[Android General] nthreexpd:
Hello friend! Great guide!!

I've followed your instructions completely to the point and i even managed to keep my phone up and running for 2 and a half days!. However, last night before sleep i just put my alarm on and left the WiFi on and location to battery saver mode on CM12. The problem is that i slept with 48% battery and woke up with 31%!. The only thing was that i suspended the alarm 3 times for 10 minutes later.

I know that you have detailed the process for us to correctly post a textdump but i want you to take a look at this dump which involves this period i'm talking about and if you can point out something that is causing this then i'll be grateful!

*Note that during this period when i woke up i charged my phone for a little bit that's why you'll see 61% -> 53%.

However, one important thing! I'm a new user and i can't attach a file nor post an external link so i i've posted the link that way below!

pastebin.com/XU3BBYE5
[Android General] v7:
The dump won't help as you charged the phone in between.

Tapped from my ❶+❷ ;)
[Android General] nthreexpd:
Hmm okay! I will give you a correct dump later! Thanks :)
[Android General] wonsky21:
Rebooted twice, it's still keeping my phone awake.

Wysłane z mojego D6603 przy użyciu Tapatalka
[Android General] Portgas D. Ace:
Have you tried this solution? I am not sure whether it will work or not, but why not giving it a try...
[Android General] v7:
Try to wipe data for Phone app and Phone/Messaging storage and reboot.Report back if the problem persists.

Tapped from my ❶+❷ ;)
[Android General] wonsky21:
What's the solution exactly? I don't use any tmobile or voicemail apps...

Ok, will try.

Wysłane z mojego D6603 przy użyciu Tapatalka
[Android General] Portgas D. Ace:
Call your voicemail (there isn't any special app required for this) and check if a message has been left.
[Android General] Myrrhman:
Yes. I'm talking about Google inbox (Gmail alternative)

And no android.content.syncmanager.SYNC_ALARM is not limited.

Hope you have more suggestions ?

Though it's not a huge problem, I'll just have to open the app a few times a day.
[Android General] v7:
Share your Amplify screenshots.

Tapped from my ❶+❷ ;)
[Android General] pEksi91:
Is there anything that I can do for those?
[Android General] v7:
High numbers in Amplify doesn't mean that they drain.Read post #6 and post a dump later.

Tapped from my ❶+❷ ;)
[Android General] wonsky21:
It gets even worse now... I guess clean flash is an answer for me...

Wysłane z mojego D6603 przy użyciu Tapatalka
[Android General] v7:
Yeah clean flash the ROM.

Tapped from my ❶+❷ ;)
[Android General] Myrrhman:
Sure

Hope these are sufficient.

Thank you so much for taking the time.
[Android General] Ulf3000:
is switching from 3G/4G to 2G still legit on modern phones? z3c here
[Android General] Portgas D. Ace:
Of course. Switching to 2G instead of 3G will save you quite an amount of battery.
[Android General] pnm3049:
Hi. I would like to as for help if you may. I hibernated my facebook and facebook messenger. And then when I open some apps like Clash of Clans it automatically runs again (facebook and messenger). Is there any way to not let them run in the background while using this apps like Clash of Clans? Thank you
[Android General] Portgas D. Ace:
You can use Greenify. It includes a wake-up path cut-off option, which lets you disable the auto-wake-up for some apps, e.g. Facebook. When you have Greenify installed, open CoC and exit it again. Then open Greenify and you should see Facebook running. Click on Facebook within Greenify and select the scissor symbol, which cuts off the wake-up path between CoC and FB.
[Android General] v7:
Can you disable Amplify and see if it works?

BTW Auto Sync is ON.Right?

Tapped from my ❶+❷ ;)
[Android General] Myrrhman:
OMG !!! I feel soo stupid. Please ignore me me while i crawl under a rock.

Please forgive me. This has never happened to me. I'm always soo thorough investigating before posting. And now I mess up with a noob-mistake. Guess I stil am on then haha.

Thank you so much for your time and you did help me in the end.

Now if you'll excuse me. I have to put my name on the wall of shame.
[Android General] nthreexpd:
Okay so here is 5.30 hour dump! Haven't used the phone at all except couple of Messenger notifications and 1 call.

There was no drain however i'm looking for the cause of the previous i problem i told you! If you can help, i'd be grateful!

Here is the dump:

pastebin.com/tknPBm0L
[Android General] jimzmaycry:
Hay [MENTION=5867207]vaisakh7[/MENTION], i have finally succeed to achieve perfect idle battery time by using your guide.

I get around 4 hours SOT and standby time 2 days and 20 hours. Here is some attachment:p

But something keeps bugging me now, when my battery is below 10%, it drops very fast. Just now, it drops from 7%to 6% in just 1 minute. And so on. Although i did nothing just scrolling around.

Do you have any suggestion for me? Should i recalibrate my battery?i read somewhere about battery calibrating is no longer useful for modern battery, cmiiw.
[Android General] ac3theone:
I get 6 hrs sot, first time on any phone I've had and I'm coming the nexus 6,im using rapture rom with greenify and amplify
[Android General] Kappa Lamda:
I am getting high alarm of something I see for the first time: "....lockboxAlarmReceiver"

Anybody now if it's safe to limit it for what value?
[Android General] v7:
The stats looks perfect to me.There's nothing to be tweaked!

Tapped from my ❶+❷ ;)
[Android General] v7:
Actually calibration doesn't increase your battery life.It helps when there's something wrong with the battery stats.In your case,I'm not sure it'll help.But I'd ask you to try it once.

Tapped from my ❶+❷ ;)
[Android General] v7:
Limit it to 7200 seconds.Report back if it breaks anything.

Tapped from my ❶+❷ ;)
[Android General] danveer:
Facing a issue with clock...alarms to be precise.

The first alarm works.. always.

But all snooze's and alarms after that wont work.

Like i set a alarm for 7 am and 1 for 7:25 am.

The 7 am works.. wakes me up, i press snooze button and sleep again..

Next i wake up, its 7:32, no alarm after the 7:am worked..

Also my notification bar would still show 7:am alarm snoozed-waking in 5 mins...lol

Any Fix?

Started after installing powernap
[Android General] pnm3049:
My phone doesnt have the wake up tracker cut off. Why is that? Im using lollipop 5.0.2
[Android General] v7:
Is AndroidSystem whitelisted?Are you using third-party alarm app?
[Android General] v7:
What version of Greenify are you using?
[Android General] pnm3049:
Version 2.7.1 sir
[Android General] saurabh88:
Why is this xposed framework and mudlue still not availayfor note 3 exonys version lollipop??
[Android General] v7:
Seems like [MENTION=4376588]oasisfeng[/MENTION] has removed the "wakeup-cutoff" feature in 2.7.1
[Android General] v7:
Xposed for TW 5.1.1
[Android General] pnm3049:
What version are you using sir? Btw, i just saw just now. My tablet has that feature. The same version of greenify but it runs one jellybean.
[Android General] v7:
I'm on 2.7 beta 6.
[Android General] pnm3049:
You have that feature? Why dont I have that
[Android General] Portgas D. Ace:
I am running v2.7.1 and the wake-up path cut-off feature is still available. You have to use the donation version, AFAIK.
[Android General] pnm3049:
Im not using a donated version. But does my tablet have it? It doesnt have donated version though
[Android General] gregferns:
I have 2.7.1 and i have the cutoff feature... Its the SCISSOR ICON right ??

In fact i just cutoff FB and FB MESSENGER....

Am trying to see if there will be negative effects...
[Android General] Azmat Roomi:
hey can you please look at this stats

https://userscloud.com/gjv4tjyradcz
[Android General] Portgas D. Ace:
Without the donation version of Greenify (install it in addition to Greenify) you will not be able to use those experimental features. It's not that much and worth every cent.
[Android General] v7:
Stats looks good.Nothing to tweak.You can try different Kernel to squeeze more juice.

Tapped from my ❶+❷ ;)
[Android General] Azmat Roomi:
Okay thanks.
[Android General] wonsky21:
Ok, so I sort out this nasty GsmInboundSmsHandler wakelock, here's another dump file. Data & wifi on, sync on, bt & location off. 1% drop during the night, not bad, huh? :D
[Android General] pnm3049:
Are you using a donated version? Are you on lollipop?
[Android General] Kappa Lamda:
Thank you... I had it limited to 9999999. Now I set it to 7200 as you said. Either on 9999999 or on 7200 seem to break something. I could disable the whole service with "Disable Services" app but I don't know what this Lockbox is. I am trying to find out through google search. Still haven't found what it realy does...

Here is some code:

<service android:name="com.google.android.gms.lockbox.LockboxService" android:exported="false" android:process="com.google.process.gapps" />

<service android:name="com.google.android.gms.lockbox.service.LockboxBrokerService" android:exported="true" android:process="com.google.process.gapps">
<intent-filter>
<action android:name="com.google.android.gms.lockbox.service.START" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>

<service android:name="com.google.android.gms.lockbox.LockboxAccountsChangedService" android:exported="false" android:process="com.google.process.gapps" />

<receiver android:name="com.google.android.gms.lockbox.LockboxAlarmReceiver" android:exported="false" android:process="com.google.process.gapps" />

<receiver android:name="com.google.android.gms.lockbox.LockboxAccountsChangedReceiver" android:process="com.google.process.gapps">
<intent-filter>
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
</intent-filter>
</receiver>

I found it here

Don't know if this code helps you understand if it safe to disable all five services related to this.
[Android General] Pepsy89:
I instaled exposed , instaled greenify , buyed donation version , but my facebook still eats tons of battery life :) , before the update the app worked good , now is like ussless :)
[Android General] Portgas D. Ace:
Did you activate the Greenify module in Xposed? Did you set the Greenify working mode (check Experimental Settings) to Boost? Did you greenify Facebook?

I would recommend to use Amplify to limit FB-related alarms/wakelocks as described in the OP.
[Android General] netinetinet:
..

ok, thank you, i try it..
[Android General] navazsayani:
Good thread. Applied all the settings. Will wait for the effects :D
[Android General] Pey1502:
Hallo,

I nearly read your post since you started it, and I like it how it improved my battery life.

Eventually you can look in my bbs log from the night idle. And find something I can do better or you can say if it's great how it is, thanks man.

You do a great work. :)

View attachment BetterBatteryStats-2015-05-31_091138722.txt
[Android General] v7:
Your stats are pretty good.I assume that you use SoundCloud sync,if not disable it and Enjoy your time :)

Tapped from my furious dogo ;)
[Android General] netinetinet:
time limiting for com.android.internal.telefony.data-stall causes a more battery drain.. - my experience..
[Android General] tangcla:
I noticed that the S Health pedometer (step counter) doesn't work any more on my phone after these settings. I've tried to whitening S Health and Health Services in Power Nap but it still doesn't work.
[Android General] TNSMANI:
Has anyone noticed that MCS Heartbeat has been limited without any apparent mishap? Atleast the member hasn't reported any.

Everywhere on the net everyone advises not to meddle with this wakelock. How come?
[Android General] v7:
Try re-enabling WearableService.

Tapped from my furious dogo ;)
[Android General] v7:
It is in the "Safe to Limit" genre.

Tapped from my furious dogo ;)
[Android General] v7:
Limiting MCS Heartbeat may break Push on some devices.I've already removed it from the OP.

Tapped from my furious dogo ;)
[Android General] tangcla:
Do you mean from within MyAndroidTools? It's not disabled.
[Android General] v7:
This time you help me find the issue :)

*Re-enable FeedbackService and AnalyticsService and see if it works.

*If not,disable Power Nap in Xposed and see if it works.

*Finally try disabling Amplify.

Only keep one App disabled at a time.Let's see which one is causing the issue.
[Android General] Pey1502:
Thanks, nice to hear.

And yes, after I see the soundcloud sync at these morning, I disabled it.
[Android General] Gnexlex:
Hi vaisakh7,

Thanks for this wonderful guide.I've used some of your recommendations.

As a first attempt,I tried not to use apps with donations packs like greenify and amplify (I wanted to go for free at the beginning) to see what I can achieve in terms of battery life.

I own a nexus 5 and I'm currently using AppopsXposed to disable the services you mention in the OP,Power Nap,and MyAndroidTools to disable every services in the OP except the location-related ones.

I'm gonna include a BBS dump file in the morning,full charged, left overnight idle with data on, to tell me what I can do better!!!!!
[Android General] lepa71:
[MENTION=5867207]vaisakh7[/MENTION]

Please do your magic :p

Here my idle stats. If you could explain what you are looking for in those file, so I learn for myself would be great.

Thanks
[Android General] samuelaviv:
Ive moved to BLisspop 3.4 and BanKs Gapps and limited that alarm again and it seems to be okay now.

---------- Post added at 02:19 AM ---------- Previous post was at 02:06 AM ----------

If I still want location to be usable should I still apply The limitations you specified on location related alarms, wakelocks and services in Amplify?

P.S

I do not have this service :

"com.google.android.gms/com.google.android.location.internal.AnalyticsSamp lerService"
[Android General] elevans:
I was experiencing force closes every time I opened the Amazon Kindle app the last few days. After troubleshooting for some time, I found the problem comes from the deep hibernation setting in greenify. Unchecking that feature fixed my kindle app. FYI, to anyone who uses that app or if this info can be helpful.
[Android General] Kevingoot1:
I have a quick question.

I have greenify installed, with root and experimental features. Since I don't have really lots of social media apps that wake up my phone, does greenify do any battery saving things on its own?
[Android General] v7:
4% in 10 hr period is pretty good.And one question.Have you limited com.google.android.gms/.checkin.EventLogService$Receiver?

I can tell you something.We've limited the alarms 7200/42000 seconds.That means it is allowed to run every 7200 or 42000 seconds.So when we look at the stats during that period(with the limited alarm running on its schedule),we'll see wakeups or alarms in the stats.

So there's nothing to worry.Your stats seems to be OK.Nothing Suspicious.

Tapped from my furious dogo ;)
[Android General] v7:
You can try and report.I'm not using Location Services ATM.Limiting them shouldn't break location.

If you don't find the service,leave it.:)

Tapped from my furious dogo ;)
[Android General] Pepsy89:
Here are the screenshots of the settings, i don't want to install amplify and buy it becouse i see lot's of comments on play store with people that donate for that app and pro app still doesn't work

My phone is Oneplus One with CyanogenMod 12.1 Nightly , i have disabled wake-up , keep-awake, auto-start for facebook from the privacy section , but i still don't get it the app wake's up when the ... it wants....
[Android General] v7:
GoogleSearchbox is causing some drain.If you don't use it,disable the app.Rest is all good.:)

Tapped from my ❶+❷ ;)
[Android General] v7:
Lockbox is something related to Anti-Theft component.I haven't seen it causing drain.This case is the first time I'm seeing it causing drain.

Try to disable the following services under GooglePlayServices.
[Android General] Kappa Lamda:
I've never seen it too till now... And these wakelocks I posted where only after half a day... LOL. Too many for half a day(357 was the number I think).

Disabled them. Will report back if I lose any functionality.
[Android General] davidben73:
Hello friends, i'm using powernap now.

And my whitelist: amplify, android system, bbm, whatsapp, telegram.

I'm not putting google play service into the whitelist.

If i download app from playstore, will it be paused when my screen turn off?

Or if i download something from browser, will it be get paused too?

Should i put my browser into the whitelist also?

Thx friends :)
[Android General] gggg:
please find my screenshots some pages back: http://xdaforums.com/showpost.php?p=62912981&postcount=3729

- Which methode do you suggest to reduce wakelockes of

phone (Telefon), play services and mediaserver ?
[Android General] kopitalk:
Get it, no regret. You need to make the free version up and running first, only then you donate from within the app :good:
[Android General] Portgas D. Ace:
Then try to disable the GCM-push feature within Greenify. AFAIK, FB uses its own push service (MQTT or similar) instead of GCM, but to be sure it is not this specific feature, give it a try. Otherwise try investigate if FB wakes up if you use another app that has FB content (e.g. login by using FB login) and try to cut off the wake-up path.

By using Amplify, you can limit the MQTT receiver and thus limit FB's wakeups. I know about the issue with the "purchase not recognized anymore" as I am currently facing the same issue. Hopefully, this will get solved in the near future. Until then, I found a workaround to use it, which I will send you per PM, if you are interested and willing to purchase Amplify.

Whitelist Downloads and you are free to go. If you haven't whitelisted Play Services, your Play Store download will not being paused but getting aborted when screen is turned off. So you either have to wait until the download is finished before you turn your screen off or add Google Play Services to your whitelist.
[Android General] davidben73:
Thanks for the answer :)

Should i include the google service framework into the whitelist?

Or just the google play service?
[Android General] wonsky21:
Unfortunately it is needed for my Android wear app, and my smartwatch to connect and synchronize properly.

Wysłane z mojego D6603 przy użyciu Tapatalka
[Android General] v7:
Both!

Tapped from my ❶+❷ ;)
[Android General] v7:
No issues!0.1%/hr drain is just awesome :)

Tapped from my ❶+❷ ;)
[Android General] v7:
Post an in-use dump from BBS later.

Tapped from my ❶+❷ ;)
[Android General] pnm3049:
Ive done it. I know now how. Just cut off the facebook and not the messenger so that messenger will still function the same way. The messenger is being awaken by the facebook so if you just cut facebook it could also prevent the chain reaction leading to awakening the messenger.
[Android General] danveer:
Android system wasnt whitelisted..

Whitelisted it now.. will see how it goes..

Funny thing, clock is whitelisted..and only first alarm works..
[Android General] pnm3049:
Do you guys greenify Google Play Services?
[Android General] Android2003:
Yes....i greenified it. No problems here
[Android General] sentencedbr:
Hi guys... first, thanks for the guide OP.

I followed all the steps and I think my battery drain in idle is still high (1,6% per hour).

Is it possible to improve ?
[Android General] v7:
Greenifying GooglePlayServices is not recommended.

Tapped from my ❶+❷ ;)
[Android General] v7:
Seems to be a kernel issue.Try another Kernel or clean flash your ROM.

Tapped from my ❶+❷ ;)
[Android General] welder73:
Can you look at this please? :)
[Android General] v7:
Post an idle dump with WiFi ON.

Tapped from my ❶+❷ ;)
[Android General] tangcla:
Hi,

I've recently been getting a lot of wakelocks from AlarmWakeup *alarm*.

In particular, I noticed a very large number from GOOGLE_C2DM, ContextManagerWakeLock and TimaService.

Are any of these safe to limit in Amplify?
[Android General] skyred5:
Hi... I am not able to find one of the wakelocks that you mentioned in amplify.

"com.google.android.intent.action.SEND_IDLE"

But the rest I've changed it previously.
[Android General] v7:
Limiting *alarm* won't help.It appears on all LP ROMs.

C2DM is similar to GCM.Some of the app you use might be related to C2DM.You can try to limit it to 3600/7200 and see if it breaks anything

ContextManager Wakelock is not safe to be limited.

TimaService wakelock(kernel wakelock) is related to your Kernel I believe.Does it appear on Amplify?

Tapped from my ❶+❷ ;)
[Android General] v7:
com.google.android.intent.action.SEND_IDLE is an Alarm.

Tapped from my ❶+❷ ;)
[Android General] tangcla:
Thanks, I'll give it a try. TimaService shows up as an alarm.

Also - if I look at my list of highest wakelocks in Amplify, the other really high ones are MqttPush, bluedroid_timer and MediaPlayerService. Are any of these safe to limit?
[Android General] v7:
1.MqttPush will affect your FB push Notifications.

2.bluedroid_timer-do you have any Bluetooth device connected?

3.MediaPlayerService is not safe to be limited.

Tapped from my ❶+❷ ;)
[Android General] skyred5:
Okays. I have changed that...will send you a full day in dump file in the evening.
[Android General] anzhaki:
I got SOD(sleep of death) twice in more than 2 weeks of usage with the settings in this guide. Trying to wake up the phone with power button doesn't work and I'm quite sure the phone was on because with an S6 if you hold the power button for about 10-15 secs it reboots.

I follow all the steps for amplify except for those with red clouds, SyncLoopWakeLock and blocking services because I need instant notification with whatsapp and gmail and I use gps services.

As for PowerNap, I have whitelisted the most recommended options like G.play services and framework and Android System.

With AppOpsXposed I only have the "Fix OP_WAKE_LOCK" option checked, what does it do precisely?

And also I'm using a custom kernel(and an almost stock rom) but no one did report any SOD on kernel thread.
[Android General] v7:
It should be PowerNap.I'm not sure if it works well with 64bit devices.For now,freeze PowerNap and see if it causes SOD again.

Tapped from my ❶+❷ ;)
[Android General] anzhaki:
I'll try then, it works well anyway when in endurance mode I think, because looking in statistics it blocks those apps which aren't in the whitelist.

Anyway sod happens rarely fortunately.

Inviato dal mio SM-G920F utilizzando Tapatalk
[Android General] v7:
As the SOD occurs occasionally,it might not be very frustrating.If you are fine with that,keep using PowerNap.

Tapped from my ❶+❷ ;)
[Android General] welder73:
Here's my idle stats with Wifi ON...
[Android General] Portgas D. Ace:
"rx_wake" (): 37 m 53 s Cnt:(c/wc/ec)1942/0/1942 8.5%

as well as

Alarms: 84, Intent: com.android.settings/cn.jpush.android.service.AlarmReceiver

Those are way too high. Try limiting com.android.settings/cn.jpush.android.service.AlarmReceiver to 14400 and report back with another idle dump.