yashsingh1/xdaforums huggingface dataset:
[Android General] iSparko:
Been trying to extend the battery life my Zenfone 2 and I was able to cut overnight drain by half (about 10% to 5%).

I have Greenify (Agressive Doze disabled), Amplify and Naptime installed.

Also, I installed Enable Doze for GMS Magisk Module through Magisk.

I've attached my BBS text file. Is there anything else I can do?
[Android General] patrickdrd:
I installed dorimanx kernel on my lg g2 (kitkat - the other one is a moto e and it runs 5.1 lollipop) phone,

but the wakelock is still there, I can't tell if it's limited yet though,

I searched in stweaks but I didn't find an option to disable it,

should there be one?
[Android General] Zafrkant:
Does anyone know what is purpose of Google Chimera services monitored in Amplify?!
[Android General] suru1212:
this is battery stats and dump file... pls check and do reply if i have to tweak anything else
[Android General] strongst:
No file... Also you should mention what's wrong in your opinion
[Android General] suru1212:
wat is better powernap or naptime?
[Android General] karkand:
[MENTION=8709677]suru1212[/MENTION]

App Ops + Wakeblock

both of above are free and available on playstore. also, these are very easy to use.
[Android General] suru1212:
can u share the link
[Android General] karkand:
[MENTION=8709677]suru1212[/MENTION]

Here it is:

https://play.google.com/store/apps/details?id=com.giovannibozzano.wakeblock&hl=en

https://play.google.com/store/apps/details?id=rikka.appops&hl=en
[Android General] suru1212:
so should i use it with naptime and greenify +amplify or i have to unistall naptime
[Android General] karkand:
[MENTION=8709677]suru1212[/MENTION]

It is depend on you. You can follow the guide from this full thread or follow my way (App Ops + Wakeblock app) I got about 93% of deep sleep..btw I following on this thread for which wakelock are safe to block. And in App Ops, you can deny for any apps you not need, for example you can deny 'keep awake' and 'run in background' for Chrome apps, etc.
[Android General] jlb1959.01:
running xdabbeb 3.1, vs985, greenify,no amplify.. thanks for any guidance,much appreciated..
[Android General] pbigband:
any ideas on charger_exist_lock wakelock guys?

Donno how to get rid of it, seems to be part of a culprit T-T

HTC 10 - Stock Rom 7.0 - ElementalX Kernel
[Android General] sirfrancis17:
Hi

I have problems with my battery and partial wakelock

I have 75% doze but in graphics wakelock is non stop

In alarma Job.delay and Job.deadline are the first

I use mi5s with lineageos 7.1.2

Any problem?

Attach images BBS

https://ibb.co/bGvMjb

https://ibb.co/hgm5AG

https://ibb.co/hsesqG

https://ibb.co/dhZQAG

https://ibb.co/iN9QAG

https://ibb.co/nOyVcw

https://ibb.co/e70hqG
[Android General] :
You should probably search or ask in your device forum. The methods discussed here cannot be used to limit device specific kernel related wakelocks.

The phone was awake for

Awake (Screen Off) (): 52 m 3 s 11.8%

There are plenty of Facebook related alarms. You could possibly try to Greenify the app and see if the situation improves.

com.facebook.orca (): Wakeups: 15 (2.0 / h)
Alarms: 6, Intent: KeepaliveManager.ACTION_INEXACT_ALARM.MqttLite.com.facebook.orca
Alarms: 3, Intent: KeepaliveManager.ACTION_BACKUP_ALARM.MqttLite.com.facebook.orca
Alarms: 3, Intent: X.15q.ACTION_ALARM.com.facebook.orca
Alarms: 1, Intent: X.15q.ACTION_ALARM.com.facebook.orca.Mqtt_Wakeup
Alarms: 1, Intent: com.facebook.pulse.SCHEDULED_WAKEUP
Alarms: 1, Intent: X.06m.ACTION_ALARM.MqttLite.com.facebook.orca

Also, the Verizon Messages app seems to wake the phone quite often. I have not used the app but if is for SMS only, then you may replace it with an alternative (Google's Android Messages, Textra, etc.).

com.verizon.messaging.vzmsgs (): Wakeups: 30 (4.1 / h)
Alarms: 29, Intent: com.verizon.vzmsgs.provisioning.job.MarkAsInactiveJob-0
Alarms: 1, Intent: com.verizon.messaging.vzmsgs/com.verizon.report.ReportAlarmReceiver
Alarms: 0, Intent: ott.pingSender.f832d0de10004cabfda9063985_1510983542515
Alarms: 0, Intent: action.STOP_OTT_SERVICE

Please refer to post #6 and show a proper log. The screen shots by themselves are of not much use.
[Android General] hypern0va:
Guys, Google Play Services is constantly causing me over 12 hours of wakeup time due to "Sensor: Significant Motion Detector". Any idea on what could be triggering it?
[Android General] habylab:
Try using Better Battery Stats to see what is triggering your sensors?
[Android General] hypern0va:
I didn't find anything among the partial wakelocks that could be causing it. Since it's Google Play Services I was thinking more of searching for a setting or something that could cause it. Smart Lock is off so it shouldn't be causing it by checking when the device is in my pocket, anything else?
[Android General] :
This particular sensor is used by Doze to determine whether the device is stationary or not.

I am not sure if there is any relationship between this and the Play Services wakelock though.
[Android General] FINzebu:
My amplify is saying that this service is running alot, is it safe to block?

com.google.android.gms/com.google.android.location.internal.PendingIntentCallbackService
[Android General] :
Please refer to post #6 and show a proper log.

Amplify numbers by themselves mean nothing.
[Android General] sirfrancis17:
Here is the dump

8% battery lost in 8h withouth touch the screen

https://drive.google.com/file/d/1OqNI_teNSy0mz_Xsmxp7VXGkNYG-VZYr/view?usp=drivesdk

Thanks for the help
[Android General] strongst:
WhatsApp backup, Google cloud messaging and related apps like whatsapp, Gmail, telegram, magisk manager.

Otherwise 7% within 8h is OK! Does your phone lay on the desk or was moving around?
[Android General] sirfrancis17:
On desk.

Thanks for the answer
[Android General] strongst:
Ok, then wifi was on I guess or not(wifi display bug)? Bluetooth too?
[Android General] sirfrancis17:
Wifi on.. Bluethoot and gps off

What is wifi display?
[Android General] strongst:
I mean: on some devices bbs tells you that wifi was on but you switched it off for sure, so I must guess if yours was switched on.

Please. You can try to eliminate the app wakelocks I listed. Wifi does suck your battery too! Have you a reference how it should be in your mind?
[Android General] sirfrancis17:
I try. Thanks
[Android General] Subrad5446@aol.com:
Screen On Time

I'm only getting about 3-4 hours TOPS Screen on Time. I've followed this guide minus setting up Amplify. I just have it on defaults. Can't find a proper updated guide with seconds to limit, and every time I put the numbers in this guide in I get poor results. So anyway as u can see from the screenshots Im Getting only like 2-3% drai overnight, which isn't bad. But as soon as I start using the phone the battery drops. Can anyone help me with this? Oh, I have a Google Pixel (Sailfish). Thanks ks guys and gals.
[Android General] strongst:
Can you please upload a dump from bbs, that's a more detailed view. For example like this https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post74729514
[Android General] remi13014:
Hello, i have a honor 8 with greenify+ xposed+ magisk+ l speed. I tried to tweat all i can for the battery

Got 1%/h when screen is off without moving

Export a bbs file, if someone can say me what can i do more, thanks

https://drive.google.com/file/d/1S_C1suYOWKKorzZU1lhxxdw7ZIpFGnXS/view?usp=drivesdk
[Android General] strongst:
[MENTION=5654831]remi13014[/MENTION] you uploaded a dmesg file to instead of bbs dump :p
[Android General] remi13014:
Oh sorry, is this better https://drive.google.com/file/d/1aKIjYiADj8mcZeZkv9UD957ToPmgx0fr/view?usp=drivesdk
[Android General] Subrad5446@aol.com:
Sorry bud. Here you go. I hope this works. I had set a custom ref yesterday. The screenshots I earlier uploaded were from this afternoon; I've charged the phone several times. Same logic holds though, I've got three hours screen on time and I've had to charge the phone several times. Let me know if I need to do something else.
[Android General] githyanki:
Even on time need to be less than 1 minute. We cannot do anything with this dump.
[Android General] Fataldose:
Hello guys, I've Mi5 Prime and since experience of years with smartphones first time I see this issue.

Phone is sleeping well but in standby till morning it drains 40% in sleep mode. I did replace battery but not helps. Here is the stats from BBS. What is wrong in here? Motion detector?

Battery is draning same while switched off. But if I put off battery from board, there is no drain..
[Android General] Subrad5446@aol.com:
I'm a little confused, but what I think your saying bottom line is you need a different dump with a longer time for stats....I had just unplugged the battery when I took that dump. I thought using my custo.e reference would be enough but I guess it doesn't work that way. I'll allow it to gather data and post back tomorrow.
[Android General] strongst:
Please monitor longer, to 50% or more for example. There's no alarm at all in your dump. 3h is too short is no alarms were present.
[Android General] :
Leave the phone idle for 6+ hours and then take a dump right after turning the display on. The screen on time should ideally be less than 1 minute.
[Android General] Subrad5446@aol.com:
OK I'm sorry but why would I do that. My phone doesn't drain when the screen is off. My drain comes when the screen is ON. I get less than 3 hours screen on time. The phone sleeps perfectly when idle. Its when the screen is on that the abnormal drain occurs. I lose about 2% overnight in 8 hours.

For clarity I'm not trying to be rude or argumentative, just don't understand the logic.
[Android General] smallKING81:
Hey guys,

Just to clarify about regex option. Do I need only create 2 files: the first file with the text "ALARM_WAKEUP[0-9]+" and the second file with the text "CONTEXT_MANAGER_ALARM_WAKEUP_[0-9]{3,}" and set the interval to 9999999 seconds for both files, right?
[Android General] :
Unfortunately, this particular guide deals specifically with idle drain only. It will NOT help you with your active drain.

Investigating into active drain can be much more complicated, with things such as the apps, the screen brightness, the CPU frequency / governor, etc. coming into play.

To investigate into active drain, please try to use your phone normally for at least 1-2 hours constantly (do not switch the screen off in between) and then get a BBS dump. In BBS choose "screen on" as your point of reference (or simply reboot the phone before use). The point is to isolate your active drain so that no idle drain data is included there.
[Android General] Subrad5446@aol.com:
Yes, thank you so much. I thought something seemed off. I'll try that and post back. Thanks man.
[Android General] HalFBlooDPrincE:
Worked for me. Thanks a lot.
[Android General] Arstoien:
You may also try out an app called AccuBattery – it gives you a pretty good idea of how much battery got drained (screen on) distributed by the used app at the moment. It has some pretty smart methods of getting decently accurate results.
[Android General] Asv97:
When I disable the RILJ wakelock,the Google app and the phone app keeps on crashing
[Android General] strongst:
That's because RILJ is part of your radio. Without it all apps using radio won't work anymore.
[Android General] Asv97:
So it would be better to 'not to' disable that wakelock?
[Android General] strongst:
Yes, otherwise you cannot use your smart phone as smartphone.
[Android General] night0crawler:
Hello there Strongst. Well I too have blocked RILJ Wakelock but Google app and Phone app are working just fine for me.
[Android General] night0crawler:
[MENTION=613506]strongst[/MENTION] Also these are some wakelocks I've blocked. I wanna understand what do you mean by the phone won't be a smartphone if wakelocks like RILJ are blocked. If this is not in regard to this particular thread then can you please direct me another thread related to it or tell me what to look for. Thanks.
[Android General] strongst:
Normally killing RILJ doesn't make your phone functions working properly as I'm facing a problem this and others too.
[Android General] night0crawler:
Ah! Okay. For now everything seems to be working just fine for me. Will see if I encounter any problem. Thanks. Have a great day. Cheers
[Android General] Khotu:
In BBS I have over 60% wakelocks by system. I don't know is what is *job.delay* wakelock which is always high (on screenshot there is beginning of the that but when battery is lo, wakelock count over 500...) I can't see this in Amplify or other apps but it kills my battery. Even in stock battery monitor (in options) I have System as high as Screen :( please help
[Android General] strongst:
If no app consumes battery percentage, then system processes will be ranked up cause percent is a relative count. I can't figure out more without a bbs dump of a full usage cycle with details about your setup...
[Android General] Raistlin666:
[MENTION=940884]amplify[/MENTION]:

Dont know if the FAQs mentioned it, but I cant see ANY of the processes to limit at all. I have the donation package. Do I have to wait aswell? (Installed it 2 hours ago)
[Android General] mrjuniork:
https://xdaforums.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874/post54953199

Do you have xposed running?
[Android General] Raistlin666:
Yes, plus Power Nap (and I whitelisted Xposed and Amplify)
[Android General] :
I would wait for at least a day for Amplify to collect most of the wakelocks and alarms. Also, remember that not everything listed in the OP may be present on your device.

As for PowerNap, I do not use it any more, but there is no need to whitelist neither Xposed nor Amplify, as these two apps by themselves do not run in background.
[Android General] Raistlin666:
Still got nothing...Not a SINGLE process displayed after 24h
[Android General] patrickdrd:
do you have lg phone maybe?

or maybe kitkat?

in either of these cases (and more probably) try downgrading to 3+ version
[Android General] Raistlin666:
Honor 6 Android 6 Stock Rom with root (SuperSU)
[Android General] :
Is Amplify working at all? What does your Xposed log say? Just to make sure you could also try to temporarily uninstall PowerNap and see if there is any difference.
[Android General] Raistlin666:
"Log is empty" :confused:

Ill try disabling PowerNap. It didnt change my wakeclocks anyways.
[Android General] Raistlin666:
Still no change :(

By the way, Amplify does also show no change in the wakelocks. I cant post a picture here yet, but the front page is all 0 besides the time
[Android General] :
Is the Xposed log completely empty? This could mean that it is not Amplify but rather Xposed itself simply not working. Can you save the log to a text file and post it here (using the

tag)?
[Android General] Raistlin666:
Its a 0 Byte file, what to you war to see there? :P

Xposed itself says the framework is working :confused:
[Android General] Raistlin666:
BUT, the name of the log is: xposed_error_20171222_144914 (i suppose its date and time). Is this a normal file name? :confused:
[Android General] EnIXm@:
I am getting a high power manager service wakelock.

Logs are attached
[Android General] strongst:
Don't worry, PowerManagerService.WakeLocks is just the summary of all partial wakelocks :cool:

So check partial wakelocks for details :good:
[Android General] EnIXm@:
Partial wakelocks are nil.
[Android General] strongst:
That's normal cause it's percentage. You used your phone only 30min according to bbs screenshot. Record at least one usage cycle and come back with a dump. It's not helpful to research a 30min dump of a partial usage.
[Android General] githyanki:
That dump looks good. .3%/hr is not bad. Your screen shots all do not match this dump, they show lots of screen on time, that will make your battery drain of course, don't worry about that, as long as your getting a decent screen on time.
[Android General] Khotu:
I have the same *job.delay* wakelock in System alarms :/ but mine is much bigger. Don't know how to deal with it.
[Android General] gothicVI:
Your log is full of errors. Did you wipe cache and art cache after installing xposed?

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Android General] Raistlin666:
Yes, I did oO
[Android General] gothicVI:
That's strange. Have you had installed another version of xposed not from [MENTION=4419114]rovo89[/MENTION]?

Eventually a full wipe could help - others might correct me here though.

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Android General] :
Guys am I the only one who can't add services in amplify?
[Android General] Raistlin666:
No, I downloaded it from here...full wipe meaning? Loosing all data? :(
[Android General] :
I am not familiar with Huawei phones but are there any special permissions that you need to grant to apps manually? Please check if Amplify has all its permissions granted. I have also seen your issue posted on GitHub, so maybe someone more knowledgeable about Xposed / Android will reply there too.
[Android General] Subrad5446@aol.com:
OK, sorry so long, holidays. Anyway here are two dumps. The first is after my phone has been idle all night from a full charge

I lost 3% in 7 hours or so. Over the next 13, I lost 85%, with only 1.5 hours screen on time and 1 hour streaming music. I forget when I pulled the other dump, I believe it was around 40% battery, before the hour of music, with only around 1.25 hours screen on time.
[Android General] Raistlin666:
I dont think there are special permissions in my phone :confused: I can only check the classic Android 6 ones. And I'm not getting any help on GitHub either .. yay
[Android General] Raistlin666:
what are the errors? Maybe Google knows something
[Android General] gothicVI:
Every line with an E.

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Android General] farquea:
Does this guide work for Nougat?
[Android General] Craz Basics:
Most works for me ;)
[Android General] dynospectrum:
Install a custom kernel, or use an app/script to set selinux to not enforcing.

Do a google search, or try this app

https://labs.xda-developers.com/store/app/com.ibuprophen.selinux
[Android General] gothicVI:
Why are you quoting me?

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Android General] dynospectrum:
It was an attack on you obviously.

Or a mistake. :eek:
[Android General] gothicVI:
Ahhhh I'm under attack ;)

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Android General] carlese:
Hi guys, I used the guide in the first page (not every line but some of them) and google app keeps crashing and the phone reboots.. Do you know what wakelock/alarm could cause it? I'm on oreo, Oneplus 5 xXx rom 5.0.1..
[Android General] strongst:
Please tell what you done. Nobody can look into your device to troubleshoot... What mods, wakelocks did you block or what else?

And which mods did you select in aroma installation of xXx Oreo?
[Android General] Subrad5446@aol.com:
2.5 Hrs screen on time

Hey guys. I've posted before didn't get an answer. I followed most of this guide and am only getting 2.5 hours Screen on Time. My phone sleeps well, but when I pick it up and start using it the battery drops fast. Here's a BBs bdump. I had a as of the battery screen too and misplaced it. The point of it was Android system is at the top of the list.
[Android General] carlese:
Amplify is 100% the cause since without it everything works.. Also, default amplify settings work well so it's one of those things I added today..
[Android General] Portgas D. Ace:
The best way to figure out which one causes your issue, you can unlimit each item one by one and reboot your device after you have unlimit one item. Takes some time, but will for sure get the job done.
[Android General] carlese:
I reinstalled Amplify and started from scratch.. RILJ makes google app crash on Oreo..
[Android General] githyanki:
We cannot troubleshoot a screen on dump. Only you can look at it and see if something is listed as taking a lot of time that was not you.

You would probably have gotten 3 hours screen on time at the rate you were going, and depending on what you were doing, that is either good or bad.
[Android General] mrjuniork:
RILJ put my phone in a random reboot situation, like constantly after 10 seconds of screen on time, so I had to factory reset my device, since I didnt have enough time to deactivate the culprit.. Dont mess with RILJ..

I've got the same setup, except stock ROM
[Android General] carlese:
Yes I found out the same thing but I was fast enough to deactivate amplify :)
[Android General] :
It is possible to troubleshoot your screen-on-time with BBS but not with this dump. You would have to reboot your phone and then use it constantly for 2-3 hours without turning the screen off at all. Then go to BBS, save a dump, and upload it here.

Remember though that this particular guide is mostly targeted at achieving maximum idle battery life. All the tips and tricks listed in the OP have not much to do with dealing with active battery drain.
[Android General] strongst:
WhatsApp and therefore the gms alarm
[Android General] sachin.soman:
I have greenified whatsapp, is that the cause?

I am on magisk, with xposed systemless 89.1
[Android General] topazonic:
Any such guide for Non Rooted phones?
[Android General] strongst:
The basic things you can also do without root. You should read your android battery monitoring and know if u use apps or not. If there are apps that you did not use u need to freeze them in settings - apps. There are not few more ways without root then the basic ones.
[Android General] hawkdown77:
Someone here have Xiaomi Redmi Note 3 and use some method to Battery backup?
[Android General] Eversmile23:
Appsops and Power nap -- are they required on MM?

Because 'doze' is an inherent feature in MM, is it really needed, I mean use of AppsOps & Powernap on devices with Marshmallow?
[Android General] Portgas D. Ace:
Both apps aren't necessary, you can stick with Greenify and Amplify for best results.
[Android General] jaggillararla:
Any guide for Oreo? Some names changed
[Android General] strongst:
As I said last year: https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post74140616
[Android General] jaggillararla:
Yooo there's like 13k posts in the thread. Don't blame for not reading the thread
[Android General] Obamaloominaty:
Search button works well.
[Android General] suvishalreddy9:
BBS DUMP + WLD SS attached

Firstly any suggestions to improve my battery life are appreciated

✓ Followed rules and created dump file from ~95% (left device ideal for 8-9hrs). why is keeping mobile data on necessary as when WiFi is turned on phones uses only WiFi right

WiFi and mobile data turned on

Got .7% ideal drain

✓Screenshot of my setup is attached [will be using Francisco kernel and OnePlus open beta for 5T for couple of months atleast]

✓Battery saving app's used only Naptime!!

Planning to get Greenify ....

Dunno if Amplify will work perfectly on Android 8.0.0

(As xposed oreo is still in beta) ??

Should I attach logcat also ? Or only dump is needed

I don't want to break Gmail & WhatsApp push notification (will Greenify break it)

Last question How to use servicely app? Never tried it before is it worth it

Thanks in advance
[Android General] strongst:
OK, the bbs dump file is the best way to go deeper into your devices behavior :good: all others not.

1# What do you want to improve? Idle drain? Sot?

2# bbs dump shows Google quick search box and(yeah) bbs as top idle drainers. Others are minor. That's OK. And seems your phones laying on your desk over night, right?

3# in addition to 2# I can only say what's happening while 5% of the drain within 8 hours over night, nothing more. If you need some investigation about the usage behavior you need to monitor from 95 to 30 for example or how long your usage cycle is, don't know :)

4# op5t doesn't need any additional app like greenify, amplify or whatever since Android 7/8 doze becomes better and better hence don't trust those apps too much, they won't give you benefits like in former Android Versions before doze.

5# questions?