yashsingh1/xdaforums huggingface dataset:
[Android General] v7:
No leave it as it is.Have you limited android.content.syncmanager.SYNC_ALARM to 7200 seconds?If done,leave the rest.
[Android General] closee91:
Yes I have. Thanks again! Battery life is amazingg!!! :D :)

Sent from my LG D851 running Blisspop ROM

If I helped you out, hit thanks!!! :D
[Android General] JekyllInside:
Ok! Those are my attachments. My dump and a screenshot of my cpu data. 3% lost in 6.5 hours. 97.7% deep sleep. Wifi on, location on, I got a couple of whatsapps msgs at midnight, but I didn't answer.
[Android General] Krastinov:
Man, you deserve a medal. I was about to dump my G3 just because of the battery life (can't order a bigger cell due to various hardships that I can't overcome). Now my phone sits at 57% with 2:20 screen on time, what is absolutely amazing compared to the state before using your guide. Mobile data finally stopped draining my juice like crazy.

/salute
[Android General] v7:
[MENTION=6514084]Krastinov[/MENTION] Happy to know mate :)

Cheers :)
[Android General] codenamesniffles:
Any tips for me?

-hltetmo
[Android General] v7:
[MENTION=6168840]codenamesniffles[/MENTION] Do you have an old battery? There seems to be no issue with the wakelocks,but the drain is high.
[Android General] codenamesniffles:
[MENTION=5867207]vaisakh7[/MENTION] Would an old battery be considered since October 2013? Haha that's when I first got my note 3.
[Android General] v7:
[MENTION=6168840]codenamesniffles[/MENTION] Thats about 2 years old.I believe that's the best idle drain you can achieve.Still <1%.:)
[Android General] milojoseph:
Can you check this out for me plz
[Android General] v7:
[MENTION=4852315]milojoseph[/MENTION] You can uninstall Google App if you don't use it.Limit GCoreFlp to 7200 seconds.

PS:Your wifi seems to be active for only few minutes.Post a dump of about 5hrs+ with wifi ON.
[Android General] v7:
[MENTION=6778843]Xanis[/MENTION] The wakelocks doesn't show up properly.Reinstall BBS.

Then post an idle dump of about 5hrs+ wirh Wifi/Data ON.
[Android General] Phelicks:
Yes, it counts steps but it did not measure the distance and the length of activity
[Android General] v7:
[MENTION=682549]Phelicks[/MENTION] Can you disable Amplify in Xposed and see if it works?

Do a reboot after disabling.

Tapped from my furious dogo ;)
[Android General] leonardoroza:
Naptime can use seconds too, just click on clock icon next to menu
[Android General] kartik93:
I want to know if i use many xposed modules will i get less SOT? I guess more SOT without any modules
[Android General] DB126:
No correlation. What the app/module does determines impact (positive/negative/none) on battery endurance. BTW - SOT is a meaningless measure unless evaluated in a highly controlled environment.
[Android General] kartik93:
Thanks. Btw what apps should i hibernate in greenify.
[Android General] DB126:
Nope - not going there. Hibernate what drains and/or consumes background data. Leave the rest alone. Each person/device will have a different suite of apps to hibernate. Working off a a 'list' is just begging for trouble.
[Android General] leonardoroza:
Thanks
[Android General] kartik93:
I hibernated many things. Also many xposed modules except for amplify power nap and naptime and some messaging apps. Rest all greenify
[Android General] DB126:
Time will tell if that strategy proves beneficial.
[Android General] kartik93:
What can I do google play services is draining alot. Should i greenify. I am on lte all the time
[Android General] Portgas D. Ace:
The best thing would be to follow the procedure in post #6 and provide us with an idle log file. This way we can identify the draining services/alarms and give you some advices.

Greenifying Google Play Services will cause an even higher drain as it will constantly be woken up and hibernated again.
[Android General] TNSMANI:
Sorry for the delayed reply.

No Xposed. Only Greenify can be used. It doesn't require Xposed for many of its functions, even root is not required for basic functions. So people on Nougat are left with only Greenify. You can also use adb to grant permissions to it. The adb commands can be accessed through the troubleshooting link inside the settings of Greenify.
[Android General] NoyNoying:
Anyone tried this to Samsung Note 4? How's the result? I'm using Note 4 with lollipop
[Android General] Bewildered Wolf:
Don't Greenify google play services.

The method 11 or 12 in my thread

https://xdaforums.com/crossdevice-dev/sony/existenz-hacks-tweaks-battery-life-t3516705/post70024252

The drain got fixed for me. You can also try.
[Android General] kartik93:
Here is my battery stats can you help me with Google play services drain
[Android General] githyanki:
The post right above yours had instructions on helping with Google play services drain. Have you tried anything from that?
[Android General] danecr7:
I applied this on my Note 4 currently on eRobot ROM and things are working like a charm, I just uninstalled PoweNap.

Just follow the guide and limit what is recommended then follow this post to see what else drains your battery.

---------- Post added at 12:09 PM ---------- Previous post was at 11:56 AM ----------

GOOGLE_C2DM (org.telegram.messenger.Telegram): 13 m 27 s Count:148 you should greenify Telegram and see how it behave or limit the alarm by starting with a small value the increase it,

Alarms: 9, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_69160 limit it to use amplify REGEX given in the guide to limit it,

Alarms: 1, Intent: com.android.internal.telephony.data-stall limit it to 600,

Alarms: 2, Intent: android.content.syncmanager.SYNC_ALARM limit it to 7200,

Alarms: 0, Intent: com.android.server.action.NETWORK_STATS_POLL limit it to 10800.

This is what I can say about you dump file, before some more expert members come.
[Android General] ViTALiTY00:
It's amazing how it really improves the battery life.
[Android General] kartik93:
Please someone look at my logs and guide me
[Android General] NoyNoying:
note 4 n910c stockrom lollipop

Can somebody check my battery stats? I'm using note 4 n910c lollipop. thanks in advance! :o
[Android General] Portgas D. Ace:
GOOGLE_C2DM (org.telegram.messenger.Telegram): 13 m 27 s Count:148 2.8% -> seems that Telegram is draining some battery here. You could greenify it and enable the GCM option within Greenify. This way, you won't miss notifications as GCM push notifications will wake Telegram.

bam_dmux_wakelock (*api*): 45 m 41 s Cnt:(c/wc/ec)1016/0/0 9.4% -> this one is related to mobile data signal, as far as I remember. Search this thread or have a look at an alternative thread here.

Alarms: 9, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_69160 -> use the regex function provided in post #4 to limit such kind of alarms
[Android General] NoyNoying:
please help me also..... :crying:
[Android General] NoyNoying:
If may I ask. what are the bugs of eRobot ROM and your battery life with it?

please help me on how can I maximize my battery with this battery stats :)

thanks in advance
[Android General] danecr7:
There are some bugs and unstable version, please refer to eRobot Thread for more infos.

For your dump file I think you should leave it idle for a longer period but you can start with

Alarms: 3, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_1162332 use the amplify REGEX available in 1st page,

Alarms: 2, Intent: android.content.syncmanager.SYNC_ALARM limit it to 7200.
[Android General] NoyNoying:
Already set when I uploaded my Batterys Stats.

Alarms: 2, Intent: android.content.syncmanager.SYNC_ALARM limit it to 7200

Does this affect UBER and WAZE?

Alarms: 3, Intent: CONTEXT_MANAGER_ALARM_WAKEUP_1162332 use the amplify REGEX available in 1st page,
[Android General] kartik93:
Actually i hibernated that and gcm is on but i forgot to hibernate my main concern is google play services. Telegram i have hibernated.
[Android General] danecr7:
Limiting android.content.syncmanager.SYNC_ALARM delays sync but you can try and see how it affects UBER and WAZE.
[Android General] NoyNoying:
thank you for replying again :)

will give feedback later and post my latest batterys stats :) :cowboy:
[Android General] inchvbeam:
anyone has good reviews for L speed?
[Android General] gh0stzk:
Best app ever, tune up is real! No placebo
[Android General] DB126:
Many potentially good tweaks. Does not mess with build.prop, modify system files or make permanent changes to system. A reboot will revert back to stock. Responsive developer; enthusiastic fan base. Personally not fond of multiple tweaks being bundled into a single slider some of which are not fully exposed in internal log. Also do not care for mandatory background service imposed with governor tuning tool. A nice app for those looking for one stop tweaking without a lot of technical jargon.
[Android General] inchvbeam:
Thanks Davey & gh0stzk, if thats the case, would you recommend using L Speed on top of the tweaks mentioned in this awesome thread, which I have already implemented for 1+months & its working gd.
[Android General] DB126:
Nope. If all is well with your device don't mess with it. More tools = more complexity = more opportunity for negative interaction and outcomes. Not everyone would agree ... my personal take.
[Android General] sleepyg72786:
A low signal can cause some drain as well. I would suggest using a toggle for LTE/3G and only use LTE when you need the speed.

Someone can elaborate or correct me if I'm wrong.
[Android General] DB126:
Fully agree, especially when moving between cells with weak coverage. My device lives on 3G unless speed is a priority. However, I have experienced cases where the 3G signal is weaker than LTE. Haven't bothered to compare drain rates in those unusual situations; just noting it can happen.
[Android General] Nedal A:
very helpful !!!

thank you you are soo good this is very good idea and i test it and it was :):)

Forward brother Forward;)
[Android General] Frances91:
Device: Moto G4 Plus XT1643

ROM: Resurrection Remix 5.8.0 (Nougat 7.1.1_r9 - NMF26V)

Kernel: 3.10.84-LineageOMS

I use Greenify (Donation) with aggressive doze and system apps hibernation option AND use EX Kernel Manager's default powersave profile to try and cut back on battery drain, though thankfully the ROM is solid and stable so there aren't any glaring issues AFA battery consumption goes.

My phone's ROM has a wakelock block feature, which I'm trying to set up. While on MM I'd set up amplify following the OP's wakelock blocking list. Can I use the same wakelock blocks as mentioned in the OP EVEN NOW? And also is there an app or tweak that won't need Xposed and lets me follow other steps mentioned in the guide as well?

Thanks in advance!
[Android General] inchvbeam:
Any toggle u can recommend? Im using cm13
[Android General] TNSMANI:
Try LeanDroid from the Play Store. It has some other functionalities also which you may find useful, from the battery perspective.
[Android General] sleepyg72786:
+1 for LeanDroid. Very good app that I've used for about 4 months and has great functionality.
[Android General] DB126:
I use the quick settings toggle in GravityBox (works fine on CM 13).
[Android General] inchvbeam:
Im surprised that GravityBox can work on CM13 because I just saw on the official page that its meant for pure/plain-vanilla ASOP roms!
[Android General] DB126:
Where there is functional overlap (eg: navigation bar customization) CM 13 defaults/tools typically take precedence. The vast majority of 'tweaks' in GB don't conflict. I have never experienced a situation where a device became unstable or acted unpredictably with GB was installed with a CM ROM. The experience is not a clean as with AOSP but fully serviceable.
[Android General] SpookyWooky:
hmm, i seem to have unlimited app measurement at some point and cant remember if it's because Id had an issue or not... I don't think limiting it breaks any apps.. hmm

I will limit it again to see how phone gets on :)

I ended up using Better Battery Saver to remove analytics / firebase calls from all my apps at some pont rather that dive too deeply into killing off every single thing that resembles analyticts using amplify hehe... that way doesn't seem to have broken any apps either :)

Its also a good way to see what apps are responsible for what in amplify if you have the patience to go through them all hehe.
[Android General] Sam Nakamura:
The system internal wakelock blocker does what the name says, it blocks wakelocks, other than amplify, here you can limit any possible wakelock, so it's basically still functional but less active, which is a huge difference compared to shutting them down completely, meaning when you really shut every mentioned wakelock down you'll render your device useless.

So your line of thought is only useful if you want to completely turn a wakelock off and that is almost never the case.. at least I'm not aware of it

So unfortunately this is no solution and I also haven't heard of good & comparable alternatives yet, "my android tools" can be useful but still is very different.

To finish this, the here described method depends heavily on xposed and no "root-only" app comes close to my knowledge..

But ey :), maybe someone else has a good idea
[Android General] NoyNoying:
Please see my battery stats. Help me on how to save my battery also. My battery stats is wifi on. Thank you in advance

:confused::confused::confused:
[Android General] Portgas D. Ace:
wlan_rx_wake (): 15 m 24 s Cnt:(c/wc/ec)1627/367/1626 3.6% -> check this thread

bcm4773_wake_lock (): 14 m 18 s Cnt:(c/wc/ec)1723/172/1723 3.3%

wlan_oob_irq_wake (): 6 m 57 s Cnt:(c/wc/ec)1513/15/0 1.6% -> haven't come across those two until now, maybe switching to a different kernel may help, but first try to follow the above linked guide and post another idle log file afterwards

10225 (Wifi) (AutomateItPro.mainPackage.AutomateIt Pro): 1.0 MBytes 42.3%

10032 (Wifi) (Google Play services): 1.0 MBytes 35.6% -> AutomateIt and Google Play Service downloaded some data, thus draining some battery
[Android General] papypaprika:
Hi guys, my "do not disturb" setting doesn't switch on or off at the time it should. Any idea which of Power Nap, Amplify or Greenify is the issue?

Would that be an alarm not getting through?

Thanks
[Android General] NoyNoying:
How can I turn off the wake locks of automateit and Google play services?
[Android General] marcdw:
Read the first few posts. You'll find the info you need regarding Google Services.

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Android General] NoyNoying:
in first page? i have already set up when I posted my batterys stats
[Android General] Portgas D. Ace:
Those aren't wakelocks, but network connections.

Question is: does AutomateIt needs access to the internet? If not, use a firewall app such as AFWall+ to restrict data connection for it.

Google Play Services will always send data, you could also restrict them, but you'll lose push notifications (GCM).

Try to follow the linked thread (see my last reply), set up everything according to it and post another idle log file. It might be that the idle drain will be nearly zero then, so we can leave the connections untouched.

Network connection isn't part of the OP.
[Android General] NoyNoying:
thank you for replying again Sir. I have followed the link you provided and disabled somethings in my router. I have also disabled ipv6.

Alright sir, I'm gonna install Afwall+.

Will post latest battery stats tomorrow.... hoping for your kind reply again tomorrow :) :good:
[Android General] NoyNoying:
GCM is still working... I have donate with afwall+

I can see in the log of AFWALL+ that Google Contact sync has been denied 52 times and automateit for 8 times already. 10 minutes after installation of afwall+

10032 (Wifi) (Google Play services): 1.0 MBytes 35.6% is Google Contact Sync

Any other things to do sir? :confused:
[Android General] Portgas D. Ace:
Well, if the downloaded data was caused by calendar sync, you could use apps like Synker to set up a schedule for account syncing (for example synchronising once per day) with AutomateIt and unrestrict Google Play Services and others within AFWall+. So you won't lose account synchronising, but reduce the amount of data and thus the battery drain.
[Android General] op3n:
guys, i use cm12.1 and i have installed greenify+powernap+amplify. i greenifyed some apps like facebook, zedge, business calendar2, evernote; problem is that: after i switch on the net sometimes 2 of them become ungreenified and sometimes another 2 from them and i must greenify again them manually. (i want to mention that i did all settings which are in first page for amplify,greenify and powernap and also i disabled from them the sync or things like tahts; also i denied wake up,keep awake of them from settings privacy)
[Android General] danecr7:
I think those are greenified once your phone screen is switched.

At least, in my case, that's what is happening. Greenify list them as apps to be greenified a short time after screen goes off.
[Android General] op3n:
them are already grenified in list. Before add many apps i had only facebook greenified; and once the screen goes on that remained greenified ...weird. Thanks!
[Android General] h_maharaj:
Do you have wake up tracking enabled in greenify? If not, enable it in settings, hibernate those apps, connect to the net and then check which apps come out of hibernation. Greenify should now show what is waking the app and you will have the option of cutting off the wake up path.
[Android General] op3n:
ya, was already activate; also enhanced wake-up tracker, wake-up cut-off and advanced wakeup cut-off was activated. Look, for example evernote, business calendar 2 ,notes,facebook are degreenified automatically without have internet :)) .What i did was to make a call, and after the call ,business calendar was degrenified
[Android General] :
Have you tried enabling Deep Hibernation in Greenify's Xposed related settings? That is what I use for Play Store to keep it hibernated all the time.
[Android General] h_maharaj:
Greenify should show what service has woken business calendar. Have you tried cutting off the wake up path?
[Android General] op3n:
ya..already enabled:

- wakeup timer coalescing

-telephony wakeup

-dont remove notifications

-block app state abuse

-deep hibernation (alpha)

-GCM push for greenfd apps

-greenifying system apps

-reveal hidden sync

And, in principal settings menu are enabled:

-wake up tracking and cut-off; - automated hibernation; -quick action notification.

In trobleshooting is activated: > autohibernation: - service guardian

> apps are not auto-hibernating: - wake up tracker and quick action notific.

---------- Post added at 02:47 PM ---------- Previous post was at 02:36 PM ----------

Cutting off the wake up path?! idk how do that. I saw only when i try to call somebody, business calendar degreenify hiself; or facebook is deegrenify automatically when i turn on the net.....and thats all didnt happen when i had fewer apps greenified
[Android General] danecr7:
If I understand your point well, the greenified apps stay in that state after you turn on the screen ?

If that is your issue then It is the normal behaviour of Greenify.

Greenified apps stay there until you open them manually unless GCM is implemented by the developer from what I understood.
[Android General] h_maharaj:
Greenify business calendar then make a call. Open greenify and business calender should be listed under "will hibernate soon after screen goes off". Select business calendar and then tap on the scissor icon that appears on greenify's menu bar. If cutting off the wake up path negatively affects functionality, you can reattach the path by selecting the app in greenify, tapping the three dot menu and and selecting "reattach wake up paths".
[Android General] Sapphire999:
Guys, I'd need some help. Since Greenify latest update it should support previleged system mode permission. But TitaniumBackup fails to make it system app. What are the options to make it system app(deploy into /system/priv-app/). I tried to move folder into /system/priv-app/ manually, but then app appears totally gone. Seems system odex file differs from odex of ordinary app. Is there any app that is able to make Greenify system app or any detailed guide how to do it manually correctly?(mean to deploy into /system/priv-app/). TB is unable to do it. I am using Galaxy Note 4 SM-N910C with the latest MM stock rooted rom. Thanks!
[Android General] h_maharaj:
I used Solid Explorer (paid version) to move the folder to /system/priv-app. I was not able to do it with the built-in LineageOS file manager. Maybe try to move folder using Total Commander and see if that works.

I see you are using a MM rom. Do you have Xposed installed? I don't think there is any advantage in running Greenify in Privileged mode as opposed to Boost Mode if you have Xposed available. The only reason I moved Greenify to /system/priv-app is due to Xposed not being available for Nougat yet.
[Android General] Ebubemg:
You guys should help me, am using Samsungs5
[Android General] Portgas D. Ace:
o.ap (com.keramidas.TitaniumBackup.Titanium Backup): 2 h 44 m 56 s Count:2 48.9%

Titanium Backup keeps your device awaken. Check your backup schedules and adjust them.
[Android General] :
Titanium Backup fails because it moves the .apk file to

/system/app/

while in Android 4.4+ it has to be placed in

/system/priv-app/

You can use any file manager with root support (even the one in TWRP) to move "Greenify.apk" (the actual filename may be different) from

/data/app/

to

/system/priv-app/

and reboot. You do not need any folders, just the .apk file.
[Android General] TNSMANI:
I found the above to be correct. Now have moved the apk to /system/priv-app/ and now it is running in root+privileged mode. Let me check whether there are any improvements in performance.

Thanks for the info.
[Android General] Ebubemg:
Check this one, am losing 25% of my battery on idle mode
[Android General] Portgas D. Ace:
Some sensors (S-Health) seem to be active, thus draining battery. Any fitness tracker or similar enabled?
[Android General] Portgas D. Ace:
You could uninstall all bloatware and apps that you never use.
[Android General] Ebubemg:
Have don that
[Android General] Portgas D. Ace:
But still the S-Health app is active.
[Android General] Ebubemg:
I did not uninstall s-health because I make use of it
[Android General] Portgas D. Ace:
Okay. Does it have to be active all the time? Otherwise you could Greenify it.
[Android General] Ebubemg:
Will greenify it and give u feedback later
[Android General] ainurrofiq:
Now RR got this feature like ampifly , what should I block ?
[Android General] lumikin:
RR?
[Android General] githyanki:
Resurrection Remix
[Android General] Portgas D. Ace:
Depends on what you want to achieve. The difference between such in-built wakelock blocker and Amplify is significant: the wakelock blocker blocks alarms/wakelock completely, thus crippling functionality. Amplify limits alarms/wakelocks, so that they can still run once per predefined time frame. This way, things like push notifications or account synchronization will still work, but consume less battery.

You can block the CONTEXT_MANAGER_ALARM_WAKEUP, but Android will create another one, so the effect will get annihilated. Your screenshot does not provide enough information, a complete BBS idle log file with detailed alarm section would be better. Check your settings within BBS and ensure that the option "use API to get alarms" is deactivated.
[Android General] ainurrofiq:
Thank you so much. I'll provide a better log

---------- Post added at 06:09 AM ---------- Previous post was at 06:08 AM ----------

Yess
[Android General] Ebubemg:
Still losing much on idle mode
[Android General] Portgas D. Ace:
You got some kernel wakelocks there. Maybe a different custom kernel might solve this.

Beside this, I assume that the battery of your Galaxy device is about two years old. Older batteries tend to lose more capacity over time.

By the way, was your WiFi or mobile connection active during idle period?
[Android General] Ebubemg:
I just bought battery from aliexpress this year,if I on or off the data am still getting the same result on idle mode