yashsingh1/xdaforums huggingface dataset:
[Android General] strongst:
I would guess it's the scan service in the background that scans for new wifi networks. But you didn't provide an idle dump where it can be analyzed if this alarm could be have an impact or not.
[Android General] Estebanium:
Thank you for your reply. What is an idle dump? I didn't see such option in BetterBatteryStats
[Android General] githyanki:
It is a dump, like you provided, but after 6 or more hrs idle. Screen on time needs to be less than 1 minute. Most people do this overnight while sleeping, just charge phone before bed, set a custom reference, turn phone off and don't touch it till the morning. Get a dump immediately in the morning.
[Android General] Themoststrange:
is there any how this work without root?
[Android General] zputnyq:
Nope, xposed needs root.
[Android General] marcdw:
In case anyone takes it literally, "turn phone off" doesn't mean power off but put it to sleep / screen off / idle. [emoji6]

LG G3 D851, AOSP-CAF 6.0.1, NanoDroid, MultiROM, XDA Legacy
[Android General] Estebanium:
Thank you for clarification. I "turned the phone off" and did a idle dump. While idle, I had WLAN turned on and in a network. This is different to my day, because then I have WLAN turned on, but without being in a network.
[Android General] githyanki:
.6% per hour is a good drain rate. The only thing that even stands out is Netflix client seemed to be running for about 12 minutes.
[Android General] hyborian:
IMHO, Leandroid is one essential app to consider in conjunction with the rest :

https://xdaforums.com/showthread.php?t=2743316

Some functions work without root too, I use it on my unrooted phone, together with Greenify (for hibernation) and Naptime (for aggressive doze, I prefer this over Greenify's).

On my rooted phone, I include Servicely.

All work well together, even with Pie.
[Android General] DB126:
Nice to hear some of these tools still work on Android 8+. That said, none are needed as Android's native power/radio/sensor management is quite effective in Android 7+ assuming the kernel is solid and no hardware issues. There will always be a few edge cases where 3rd party mods are marginally beneficial. The remaining 98% of the world is best served by leaving things alone.
[Android General] hyborian:
Right you are ... I am in the 2% I guess lol. It's good that Google is getting their Android better, after all, GAPPs is a gobbler ...

The rest of my family have apples and pies, none of them probably have anything you will find here in xda. They don't have the time for that, and they are heavy social app users, multiple apps at that, just like many others today.

They'll go through their batteries real fast in a day, whether apple or pie, but it doesn't bother them at all as they have their battery chargers with them at all times. It's routine to have several phones and chargers charging at night. I rarely use my charger, usually only after I play a game for hours passing the time while waiting for them shopping, visiting the hairdresser, etc.

Signs of the times, the telco has just upgraded their plans from 3GB data limit per month to 40GB data limit per month, no increase in price. Same with my smaller plan, 10GB increase free.

I think I'll just join them and forget about all these, just have a charger ready lol, easy peasy

.
[Android General] DB126:
Active and idle power consumption are completely different things. The former is largely under user control with panel configuration/brightness and radio conditions playing a huge role. Nothing here will do much to put a dent in those curves. In contrast, idle consumption is where most power hacks/tweaks kick in. Prior to doze and changes to Google policies many 3rd party apps engaged in abusive/aggressive background activity that kept components awake from prolonged periods. Those days are over. Alphabet haters will call out Google Play Analytics/Apps/Services but those components consume relatively little power when the device is idle. If you suppress them during sleep they will do their work shortly after manually waking your device potentially leading to lag as your gizmo struggles to catch-up. The tools in this thread made sense once-upon-a-time. Life moves on.

tl;dr - don't be a dinosaur :)
[Android General] kanadali:
I'm facing idle battery drain issue. It basically sucks all my juice. It's called "mobile network standby" i blocked all the alarms wakelocks services from this guide through amplify. Can someone help to find this alarm/wakelock /service? It's called "mobile network standby" i believe i can block this via amplify.

I'm using blackview bv9500 pro oreo 8.1 rooted with magisk.
[Android General] strongst:
It's your radio module, but wakelock/alarm does not mean it's bad and even when it's high it's just the percentage not the absolute value. Nevertheless, please make sure to have good mobile phone signal and switch to another band.

A dump file from better battery stats might help to analyze further :good:
[Android General] DB126:
Sigh - like many before you you'll likely discover blocking alarms/services/wakelocks via Amplify or any other tool almost always leads to device instability and an increase in power drain. Don't drink the lemonade. Disable Amplify, reboot your device and see what happens. If the drain persist you can use a tool like BBS to identify the culprit(s) and deal with the problem at its source.
[Android General] Revontheus:
Hello [MENTION=5488402]Davey126[/MENTION], aside from Facebook Messenger and other FB-related apps, what other good apps are worth hibernating via Greenify? Currently I only have 4 apps, namely, FB Messenger, Twitter, Skype and Viber. Moreover, is Doze on the Go benign on Android Oreo? I'm kind of confused as I've read that Doze is implemented differently between Nougat and Oreo (current device).

Thanks and good day!
[Android General] DB126:
Doze received several welcome refinements in Oreo but otherwise functions similarly to previous implementations. Greenify's "Doze on the Go" is only needed Android 6 based ROMs. No reason proactively hibernate apps in Oreo; Doze will prevent disruptive background activity. I use Greenify on occasion to rein in annoyances, eg: apps noticing some foreground behavior and offering to 'assist' (grrr!). That said, there is little need for Greenify or any other tool listed in this thread on Android 8+ from a power management perspective.
[Android General] Revontheus:
I do however remember you mentioning hibernating "bad actors", in this case Facebook apps. I've noticed that they stay awake all the time even when I don't want to be online and use a ton of juice and memory. Would hibernating it in this scenario be a warranted decision?
[Android General] DB126:
Yes - with caveats. Newer Facebook builds probably don't consume the resources you think unless verified with a tool like BBS or GSAM. There will be some lite background draw while other apps are in the foreground. Hibernating will move that close to zero. Doze effectively does the same thing while the screen is off. That said, if an app is hibernated it less likely to 'wake' during Doze maintenance windows or 'notice'/react to other app behaviors. Downside is you may miss notifications and/or experience lag when relaunching the app as it races to catch up. I hibernate all social apps (anal about resource hygine) but you really don't need to given enhancements to Doze in Android 7/8 and Google policy changes that discourage abbusive behaviors. Guessing this is the same with Pie although I have no first hand experience.
[Android General] huytruong3211:
Ampify not work

Ampify not work lg v10 android 7.0 for include

Not list packaged please help me
[Android General] Oswald Boelcke:
Do you use XPrivacyLua (just by accident)?
[Android General] huytruong3211:
i dont using XPrivacyLua :crying::crying::crying::crying:
[Android General] zputnyq:
I believe amplify doesn't work on some devices running android 7 eventhough it said it supports it,

the latest version also doesn't work on my device running on android 4.

As a suggestion, you can use other method to save your battery or disable app that cause battery drain.

I think using greenify is enough on android 7.
[Android General] PamelaGirl:
Hello Good People,

I went from Kitkat 4.4.4 to Nougat 6.0.1 and I see this alarm being very active

Alarms: 199, Intent: com.sec.epdg.NATT_KEEP_ALIVE_TIMER_EXPIRED

Can someone please share some insight as to what this does and if I can limit it?

T.I.A :)

---------- Post added at 07:01 PM ---------- Previous post was at 07:01 PM ----------

Hello Good People,

I went from Kitkat 4.4.4 to Nougat 6.0.1 and I see this alarm being very active

Alarms: 199, Intent: com.sec.epdg.NATT_KEEP_ALIVE_TIMER_EXPIRED

Can someone please share some insight as to what this does and if I can limit it?

T.I.A :)
[Android General] DB126:
Does it keep the device awake or appear to be associated with some other undesirable behavior? If 'no' to both ignore it. Alarms & wakelocks w/o consequence are not evil.
[Android General] PamelaGirl:
Davey126 to the rescue!

Thank you kindly for the quick response. I answered no to both questions so looks like I will take your advice and leave it alone.

Wonderful to see you still active on this thread and generously helping others in need,

THANK YOU :)
[Android General] bap91:
I have Realme 3 Pro android pie, Greenify command not working, any solution
[Android General] marcdw:
What do you mean by not working? Is it crashing?

Moto G5S Plus XT1806, AOSiP 8.1 ROM, microG (NoGapps), MultiROM, XDA Legacy
[Android General] bap91:
I mean to say, when we will try to on aggressive doze mode they will ask to open certain page and page mentioned that to make features working you have to apply some permission by computer using command prompt or powershell, after I connect my mobile to pc I try to execute command mentioned in Greenify website but it's not working or executing.
[Android General] bap91:
Please check above post. Sorry I forget to mentioned you there. Please help me

---------- Post added at 08:02 AM ---------- Previous post was at 07:59 AM ----------

I mean to say, when we will try to on aggressive doze mode they will ask to open certain page and page mentioned that to make features working you have to apply some permission by computer using command prompt or powershell, after I connect my mobile to pc I try to execute command mentioned in Greenify website but it's not working or executing.
[Android General] rodken:
@v7

Is there any way to utilize Amplify without Xposed or an alternative app that comes even close to it, excluding Greenify?
[Android General] zputnyq:
For alternative app probably you can use wakeblock.

But unfortunately if your device is android 6 or lower, it cannot be used.

https://xdaforums.com/android/software/wakeblock-blocking-drain-late-t3526313
[Android General] Nothex:
Use elemental EX kernel manager. It allows you to block wake locks, Even on Android 10. must be rooted
[Android General] maximus81:
I am having huge battery drain on my S20U. Overnight it lost 20% (100% to 80%). This is with mobile data, location, NFC, AOD, Bluetooth and dolby atmos OFF. Checking on Better Battery Stats (which has been given additional access via ADB), out of 8 hours it was awake for 4h 51m. This is huge IMO. I have included screenshots below for kernel and partial wakelocks. Could anyone with more knowledge point towards whats causing the drain? its driving me mad.

https://imgur.com/a/B7KuB1o – Summary

https://imgur.com/a/fAIMeQM – partial wakelocks

https://imgur.com/a/ZbfmjGF – kernel wakelocks

Basically, in Kernel wakelock its mmc0_detect and bbd_wake_lock. Did some research on mmc0_detect and it suggests it is due to Always on Display. But in my case AOD was off the whole time.
[Android General] githyanki:
Please post the log, not screenshots.
[Android General] maximus81:
Here you go
[Android General] githyanki:
Your log does not meet the requirements for a proper idle dump. Please submit a log with over 6 hours screen off time and less than 1 minute screen on. There's detailed instructions on the first post.
[Android General] maximus81:
Thanks, I have attached the logs based on the requirements. There are 2 logs. First - With location and AOD - OFF. This shows drain of 6% (100% to 94%) in 7h 11m, this equates to 0.8%/hr drain. Second - with Location Off but AOD On. 13% drain in 7h 39m. which is 1.7% drain per hour.

I am happy with results of first night (.8% drain per hr). However with second log, is it on acceptable level?
[Android General] DB126:
Seems you have self-identified the culprit. My personal experience with AOD varies by device with Samsung gizmos biasing functionality/responsiveness over power efficiency. I typically disable AOD except on Moto phones. If you find AOD beneficial keep it on, perhaps tweaking which apps can trigger AOD (believe Samsung controls allow this). Otherwise disable. Doesn't get much simpler than that.
[Android General] Revontheus:
I only have Greenify installed to locate misbehaving apps, otherwise I let Doze handle everything. I have to come to understand that over-tweaking and blocking wakelocks, at least on Android Q, causes more harm than good.

The sudden rush of activity after the wakelock is given time usually offsets any savings made anyway.
[Android General] ZeA_Quin:
Do we still need these apps in android 10?
[Android General] DB126:
Nope - absolutely not. That said, some enthusiast with too much unstructured time will undoubtedly make a case for sticking with 2015 era methodologies on modern ROMs and devices that can manage themselves. I can hear them typing now.
[Android General] TotallyAnxious:
Daaaammnnnnnnnnnn. You're my favorite now. Those aren't tusks. They're ****ing fangs.
[Android General] sheikgr:
Guys , please, I'm desperate. I have a P40 Pro with GMS installed. The problem is I get TERRIBLE battery life. Other people and friends with GMS installed have no problem, so i don't think it is a GMS fault . In 24 hours i get 2+ hours of "Awake" time which result in having only 3-3.5 hours SOT at 30% battery.

I can see that Alarms from Android System are waaaaay high, especially :

com.android.intent.action.HEARTBEAT_FIXER

com.huawei.push.alarm.HEARTBEAT

job.delay

job.deadline

and from GMS

com.google.android.gms.dcm.ACTION_CHECK_QUEUE

Partial Wakelocks seem fine, i can't see any rogue or misbehaving app.

Any help would be HUGELY appreciated

https://imgur.com/Tc3nfBm

https://imgur.com/nVplCZy

https://imgur.com/5Z79o6G

https://imgur.com/XPSDy8X
[Android General] DB126:
You have every social app known to man (plus three more) running along with a bunch of other diagnostic crud all competing for scarce resources. Akin to towing a locomotive with a subcompact car and whining about mileage. Gotta clean up your house a bit before there's any hope of finding the smoking gun (if there is one).
[Android General] Victorman86:
Hi! Analyze my dump please.
[Android General] DiamondJohn:
Post your stats from BBS into the thread. Follow the suggested cycle from the OP, and make a post, people are very helpful there.

https://xdaforums.com/t/app-2-2-05-oct-v2-4-betterbatterystats.1179809/unread
[Android General] DB126:
Sounds like you have an older device with a tired battery. Everything has a lifespan. Replace the battery, replace the device or tether to a portable power source.
[Android General] alefmm:
Any idea to solve this?

All on my possibilities have done but still running in second plan. Other devices it doesn't happen.

Using BBS it show the same results, I can't link gservices issue with other processors, services or app.

Any idea to help me?

Device: Alioth (Poco F3)

ROM: Lineage OS 18.1 (A11), ArrowOS too.

Firmware: Tested 12.5 and 12.0.3 (Global)

SIM card: Not insert.
[Android General] n4f:
please update the thread
[Android General] xn0live:
android 12 work?
[Android General] zbysogi:
Hi guys. Does this thread includes non-rooted phones?

Recently I started getting extensive battery drains during the night and day (over 20% during night). I installed BBS and NapTime hoping it would help but there was not much of an improvement (down to 14% overnight drain). When I'm using data during the day the battery drains out within 4h with only 45minutes of SOT. I used to root all my devices but this time around I decided not to do it so my Xiaomi mi 9 is non-rooted. I attached some screens from BBS and GSam made this morning after around 8h of sleeptime. last 2 are from couple hours later - Battery settings and GSam. I had 2 SIM cards yesterday, today I took one out, no Improvement so far. Can anyone help?

P.s. screenshots are for the phone without WiFi/data on. I will turn them on tonight and post the bbs logs tomorrow.

Sorry for Polish language, I changed it to English but it doesn't work, will figure it out next time I post
[Android General] varunpilankar:
Any inputs on what is *gms_scheduler*:internal, does limiting it cause any problem? I couldn't find much information on it.

Also, old GMS use to have *net_scheduler* - are these the same, just a new name?
[Android General] rodken:
I think that it has something to do with GcmNetworkManager, which schedules network-oriented tasks, so that Google Play services is able to batch network operations across the system.
[Android General] varunpilankar:
Are you sure?

I was thinking of using Amplify and limiting its wakelock.. maybe somewhere 10800ms. I don't know what would break, so I thought I'll check with someone who must have tinkered with it.
[Android General] rodken:
You were supposed to take my post with a grain of salt.

-- You can explore further from this write-up.
[Android General] varunpilankar:
I know ;) but thanks for showing me the right door. Appreciate it.
[Android General] skuppej:
What is the latest way to do this all in Android 13+?
[Android General] marbertshere:
Can't you just use an app like Disable Service to disable SystemUpdate? That's what I did.
[Android General] v7:
It is disabled by default.It was a bug from Google that was addressed few months ago.I don't know what triggered it again.Maybe his old GAPPS package.
[Android General] beeshyams:
[MENTION=5867207]vaisakh7[/MENTION]

Here is the log of the funny problem of drain I am facing that I mentioned a few posts back

Everything seems OK to me but drain is 1%. Battery is fairly new. Used for about a month. Wake locks controlled earlier further refined per OP. Installed power nap since yesterday and this is first time I see zero partial wake locks

When I posted my questions to you ( a few posts back) you suggested using Ampere . the test was already in progress so couldn't use. That could be one culprit

Looking forward to your expert help please

https://www.dropbox.com/s/3epbrd2p9...nt from my GT-N7100 using XDA Free mobile app
[Android General] v7:
[MENTION=4250471]RohinZaraki[/MENTION] The link leads to a dump with 1hr idle period.Wrong upload? :D

Tapped from my furious dogo ;)
[Android General] m0han:
i've tried a lot of kernels, but they do not do a perfect job. i think it is better to stay on the rom's 'in-zip' kernel.

i stumbled upon these links: aospal and pacman. gonna try pacman official sometime. nightly, maybe later.
[Android General] v7:
[MENTION=4250471]RohinZaraki[/MENTION] The stats seems Okay.Still 0.7%/hr is not that pretty.Can you try a different Rom/Kernel?

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

This is my Txt Dumpfile.

Thank you for the answer ?

https://www.dropbox.com/s/eb4wb0jwv2cqd9s/BetterBatteryStats-2015-06-27_093247387.txt?dl=0
[Android General] v7:
There's nothing wrong in the stats.Are you running LTE?Can you post me another dump on 2G with WiFi running?

[MENTION=4250471]RohinZaraki[/MENTION] Limit ALARM_WAKEUP_ACTIVITY_DETECTION to 800 seconds.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4165110]sdr4511[/MENTION] Stats are not proper.Re-install BBS.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=4250471]RohinZaraki[/MENTION] Post a dump of atleast 3 hours with WiFi on and Mobile Data Off.
[Android General] jackyaway:
Could be useful to use servicely in combination with greenify and amplify?
[Android General] anchal joshi:
Does these things really work.
[Android General] v7:
[MENTION=2210500]jackyaway[/MENTION] I replaced Servicely with Power Nap in the Guide.Servicely is a traditional task killer.There's no need to use Servicely along with Greenify.Hibernating and Killing at the same time is lame.

Tapped from my furious dogo ;)
[Android General] v7:
[MENTION=6768653]anchal joshi[/MENTION] What do you think? :rolleyes:

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

Please see the link for 4 hour dump on aeroplane mode. Drain is still 1%. I had earlier tried the same thing and couldn't come to any conclusion. Hope you can :).

The suspect was hardware and since Samsung his were not willing to look at the problem being rooted, went to a local guy who checked thoroughly and declared it fine ( two of them actually). Next, did a bunch of things like, calibrating, cleaning caches, changing modems,clean reinstalling and now finally flashed stock ROM , rooted again and flashed wesam ROM since it had the latest boot loader.

I have been on this exercise for quite a while and hoping you can help with cracking it. Last resort is just leave it as it is.

https://www.dropbox.com/s/l4dmcwb8l9y6qem/BetterBatteryStats-2015-06-27_191453016.txt?dl=0
[Android General] v7:
[MENTION=6285129]beeshyams[/MENTION] Sorry mate :( Either your battery is bad or there's a hitch in the hardware.Being said that you've got a new battery,the issue points to the hardware.

Have you got better results in any Custom ROM you tried?

Tapped from my furious dogo ;)
[Android General] beeshyams:
Batteries... Have two of them, one new and second about 10 months old. On the old battery results are similar but 0.1 to 0.2 % worse

Coming to ROM, Short answer is Yes. I had a note 2 on which the ROM I was using earlier gave excellent results like 36 hours with 8 hours of SOT and one hour talk time. My wife had a gifted note 2, which she wasn't using as it was too big. So I sold my note and flashed same ROM nandroid copy on her note and started using it thinking it will last me longer only to discover my problems have started :)

changed ROM to get similar bad results

I was hoping that with your expert view you would be able to point out something I missed so let's leave it as hardware issue and not waste time, especially yours, when you are helping others so actively

Aside, when you have time, please do have a look at the link in my signature, testing the effect of screen papers and screen filters. Right now, it is incomplete and would welcome your suggestions. I am working with an App developer to help me complete tests and then maybe it will take a better shape. All the same would welcome your suggestions on that thread

Thanks a lot for your time and efforts.. Am subscribed to your thread and will be following with interest as my sole intent of rooting 9 months ago was to save battery!!!
[Android General] v7:
[MENTION=6285129]beeshyams[/MENTION] Restoring a nandroid copy taken on another device is not at all safe.You shouldn't do that on any phone.

Can you try one last time for me?

*Download a Stock ROM for your device.

*Perform a full wipe using ODIN(Wipe internal SD beforehand)

*Flash the ROM.

*Follow the GUIDE and post me a dump.

Let's give it a go :).Hope this addresses the issue.

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

What you are suggesting is exactly what I did as a last resort before flashing the current ROM. Don't mind repeating when I get time. When I do that will update you :)
[Android General] closee91:
Can't remember if anyone asked this, can you limit com.google.android.intent.action.send_idle ?

-Sent from my LG D851 running Candy5

If I helped out, hit thanks! :D
[Android General] v7:
[MENTION=5268098]closee91[/MENTION] It is not listed to be safe for Limiting.

Tapped from my furious dogo ;)