yashsingh1/xdaforums huggingface dataset:
[Android General] Oswald Boelcke:
Unless you have a total of 10 posts you have to take a different approach; however, please don't commence now just to post to get to ten.

Upload your dump to somewhere into the cloud and post simply the link. If XDA even doesn't allow you to even post a link yet, just erase the http(s).
[Android General] 3n4y:
Thanks for the info.
[Android General] DB126:
Na. Shamelessly leverage learnings from others and remain forever grateful to members​ of the XDA community who selflessly assist others without asking for anything in return. Look around; they are everywhere. If one of them does a good deed whap the 'thanks' button as a quick acknowledgement of your appreciation.
[Android General] 3n4y:
:) Thanks for the info. Is there a specific portion of the dump that i can look out for when troubleshooting? or that i can copy and paste while still restricted from uploading the full dump.
[Android General] DB126:
Usually need a substantial portion of the dump to connect the dots; far too voluminous to cut/paste. You'll need to use a public file sharing service (suggest Google Drive; you probably already have an account) until you have enough posts to attach files in XDA.
[Android General] 3n4y:
Tried to use google drive but i was not allowed to post the link (I used the "insert link" function). I'm not sure PMs are allowed on this site.

---------- Post added at 11:18 PM ---------- Previous post was at 11:14 PM ----------

Let me try with hiding the link

https://drive.google.com/open?id=0BxzdKEd4ZAzALW5mUlc3azc5MTg

Hope it works (at least it did with preview).
[Android General] DB126:
That worked. For future reference you don't need to 'hide' the link; simply paste in the text minus the 'https:' prefix. But hiding apparently works too; never knew that! :)

All device/app attributes look good. Phone was awake for appx 26 min (out of 6½ hours) which is little high but not unusual for an Android 6.x based ROM. No big downloads, modest CPU frequencies while awake, no egregious apps or wakelocks. Except - battery dropped from 96% to 53% yielding 6.5%/hr over the run duration. Should be closer to 0.5%. Yikes!

Veteran contributors likely know where this is going. Device was released 4Q 2014. The battery is probably 2+ years old regardless of when you acquired it. This is a beefy, power hunger device with SD 805 processor, 524 ppi high resolution display, 3 GB memory, etc, etc. All powered by a relatively modest 3000 mAh. That pup takes a beating and is likely near/at the end if its useful life.

Fortunately, batteries relatively affordable and easily replaceable on this device. Trick is to find one that was recently manufactured and not sitting on the shelf for 3 years. Change that and I suspect the vast majority of your power drain issues will...err...drain away (sorry, bad pun).
[Android General] 3n4y:
:D

Many thanks! Will do as advised...also thought about changing the battery as SOT is just 2 hours, but needed to be certain and my other phone (Galaxy S4) thats a year older still has decent battery life.

As for the bolded, was being careful to avoid getting banned for circumventing the rules.
[Android General] DB126:
Na - 10 post restriction is intended to curtail drive-by posters for non-relevant content (as we've all seen in the comment section of popular forums w/o restrictions).
[Android General] lollazzo:
Maybe someone here knows how to prevent these wakelocks (com.android.internal.telephony.gprs-data-stall)?
[Android General] Iliyena:
Tried flightmode? ;) .Just kidding, but it is related to being able to use the phone as a phone.
[Android General] DB126:
Yep - kinda necessary - like your heart. Why would you want to "prevent" them anyhow? Because they exist and are categorized as 'wakelocks'? Alarms and wakelocks are not evil by design despite misinformation to the contrary. Rather they are symptoms of device behavior which in most cases is beneficial and desirable. That said, excessive wakelocks from poorly designed apps/services can interfere with doze/sleep. In those cases it's best to go after root cause vs limiting/blocking the symptom and pretending the underlying problem is fixed.
[Android General] championc:
Just a suggestion for any FB users - remove it and Messenger too, and replace them with "Friendly". I think you'll be surprised as to the saving
[Android General] cristixperia:
With latest Google play services application (11.6.72 beta) seems that Google removed "PackageMeasurementService" wakelock.:)
[Android General] |Furō|:
Hey everyone!

This is my first post in this thread.... I read about BBS and really wanted to try to optimize my phone as well... So I tried to get a log file over last night and I hope I did it right... If not please tell me what I did wrong!

Could anyone kindly take a look and give me some advice?

Thanks in advance!
[Android General] headroot:
Ok, tank you
[Android General] speedy56:
Anything more I can do here? :)

The battery is about 1.5years old

(just ignore fstrimm wakelocks, I have it scheduled to trimm the memory every few days automatically)

Thx :o
[Android General] Oswald Boelcke:
The dump itself is fine.

Your device never went to deep sleep at all. By first glance, I'd wipe cache and data of Google Play Services (settings => apps => Google Play Services) and reboot. Second, please consider to move to a different kernel.

---------- Post added at 17:00 ---------- Previous post was at 16:43 ----------

Certainly. In order to use similar words as @Celestial Fury in your double post, check post #4 besides the OP and all other opening posts by v7.

Additionally, I suggest to digest the forum rules.
[Android General] Cherifiali:
Amplify doesn't work with Nougat

Any alternative to block wakelocks ?
[Android General] Oswald Boelcke:
If you decide to go for a custom kernel you definitely have to find one that was built or ported for your device. Never ever try to flash a kernel for another device than yours - and suitable to your Android version.

Don't know "Hibernation Manager" i.e. no comment; you need to search the web yourself for comments. I'm using Greenify (the pro-version), and personally believe it's to be the best of its kind for hibernation.

And there's certainly room for improvement. I suggest to use the powerful XDA search engine and to study respective threads first including the BBS thread.
[Android General] koekoek91:
Give this new app a try :)

https://xdaforums.com/android/software/wakeblock-blocking-drain-late-t3526313
[Android General] marcdw:
I assume that since you're on Resurrection Remix you got it from one of the Axon 7 RR threads. The subforum where those threads are is where you also find the kernel threads.

Several kernels are available for the Axon 7 so check out the discussions to see what's happening.

ZTE Axon 7 A2017U, PureFusionOS ROM, Tapatalk 4.9.5
[Android General] realista87:
same...and wifi scan:D

---------- Post added at 01:57 AM ---------- Previous post was at 01:56 AM ----------

same problem. no solution?
[Android General] |Furō|:
Just to make sure... Will it make a difference which version of the Axon7 I have? For example, I have the "G-Version" (European version) and I think most kernels are originally made for the U-version (US)...

May I ask which kernel you are using?
[Android General] marcdw:
Lately I haven't messed with any kernels on my U model. Currently I'm on AOSP-CAF for the purposes of Xposed testing so kernels aren't a priority.

I opened up a thread on your behalf. Check it out later to see what kind of responses we get.

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

AOSP/LOS kernels for the G model.

LG G3 D851, LiquidSmooth v4.1 ROM, MultiROM, Tapatalk 4.9.5
[Android General] coki4:
"amplify" works on nugat very good!
[Android General] Cherifiali:
Not for me :(
[Android General] rohitdave:
You can flash custom rom Resurrection Remix, in thi:)s rom you will find Wakelock Block and Alarm Block.

I have been using this rom for nearly 2 months on a 2 year old MI4 W with zero battery drain overnight 8 hours.

I am also Google free with no Gapps, instead I use MicroG , very happy with my battery life
[Android General] Cherifiali:
I like using simple LOS Rom

I rarely use all RR features

However thanks :D
[Android General] Ikkuh84:
First time MM user here. Do I use Forcedoze together with Greenify (light doze enabled) or use one of the 2?
[Android General] :
If you activate Aggressive Doze in Greenify then the other app is not required. If you still want to use it, then you should disable Aggressive Doze.
[Android General] Nikola G.:
Huge overnight battery drain

Hi all.

Since moving to Sultanxda's [7.1.2] Unofficial LineageOS 14.1, I am experiencing a huge overnight battery drain - in the rank of 30+%.

Some details:

- ROM - [ROM+KERNEL][7.1.2] Unofficial LineageOS 14.1 with 3.4.0 kernel [Aug. 31, 2017]

- gapps - micro

- no custom firmware

- Magisk Root + EnableDoze module installed

- LTE was ON overnight (WiFi off because of internet provider connectivity issues) - makes no difference if ON or OFF, tried various combinations in the past weeks.

- Searching ROM's thread does mention isolated cases in battery drain (as usual), but did not find anything severe as this.

Full BBS dump attached is attached in this post.

Please, help would be greatly appreciated.
[Android General] vCillusion:
Greenify and Battery Profile worked for me

I faced similar issues but it got resolved after I started using Greenify and changed the performance profile to efficiency

Battery > Battery Saver and performance > Performance Profile > Efficiency
[Android General] HaleySam:
Such a great post to know different useful information.
[Android General] mzj4213:
But will limiting the location wakelocks interfere with location or gps usage?
[Android General] mzj4213:
No. That is for the services… Now I'm talking about the wakelocks
[Android General] Iliyena:
Disabling the services makes taking care of the wakelocks obsolete, 'aight folks? Adding a timer for those wakelocks will delay the accuracy of the location but still report correctly, thereby making eg. Smart Lock sorta usable. Correct me if I am wrong.

Just block the wakelocks and see how well it works? Either blocking a bunch and let them free until it works or testing adding one by one.
[Android General] gvelev:
Can someone take a look at my dump file results!? Thanks in advance!
[Android General] strongst:
You should mention what problems you're facing and what we should find in the dump...
[Android General] jelive:
Did u use playstore Amplify instead of xposed version..works well with nougat as module.
[Android General] Cherifiali:
No an apk

Worked in marshmallow but not nougat
[Android General] jelive:
Ps version is apk that when u open first time checks everything to be a module and is available to use. Uninstall old one and install Ps version.

Edit...also assume ur using new Xposed installer for Nougat and latest Xposed framework for ur phone.
[Android General] Cherifiali:
Gonna give a try

Thanks dude ;)
[Android General] Fdraco10:
I can see very good results! :D
[Android General] Aakash Kaushal:
[MENTION=5867207]v7[/MENTION] can you update the op and support nougat? Im sure there are lot of things changed from marshmallow to nougat. Thanks:)
[Android General] Prattham:
+1
[Android General] kekko91:
+1

Now that xPosed is available on Nougat a guide to setup Amplify and other things to save battery would be very useful!
[Android General] moozer:
Hey...try the OP
[Android General] marcdw:
Some folks will want to know if the guide is still relevant for Nougat (any new wakelocks and whatnot).

LG G3 D851, LiquidSmooth v4.1 ROM, MultiROM, Tapatalk 4.9.5
[Android General] strongst:
The guide is still relevant even on nougat and Oreo. The main topics are adoptable on nearly every android version. The main culprit is since the invention of DOZE that most apps and their developers don't care about it to implement in her apps :crying: and these apps won't use the benefit of wakelock reducing. That's the real problem. So the main focus goes to apps again that causes wakelocks...
[Android General] Amanbaid99:
Hey im running rr rom 7.1.2 magisk + xposed and wud liked to know if powernap makes any difference on nougat? Bcz i tried using the extreme battery life technique and saw android system and os top on the list...

---------- Post added at 05:08 PM ---------- Previous post was at 05:00 PM ----------

Hey im running rr rom 7.1.2 magisk + xposed and wud liked to know if powernap makes any difference on nougat? Bcz i tried using the extreme battery life technique and saw android system and os top on the list...
[Android General] strongst:
Android system/os is always on top if all other apps are suspended cause it's the operating system. It's like when you install no apps just pure aosp rom.
[Android General] Amanbaid99:
Dump file of overnight battery drain ( i left the wifi on?)
[Android General] Amanbaid99:
It didn't upload the first timehttp://cloud.tapatalk.com/s/59e407f27948f/BetterBatteryStats-2017-10-16_050942935.txt
[Android General] ProudRed:
Please have a look. 3% drain in 6 hours. Can I minimize it a bit ?http://cloud.tapatalk.com/s/59e414f003630/BetterBatteryStats-2017-10-16_073808956.txt
[Android General] Amanbaid99:
Android os and os system draining battery bbs stats also uploaded http://cloud.tapatalk.com/s/59e43fe81106a/BetterBatteryStats-2017-10-16_104210621.txt
[Android General] anon1135:
are greenify and amplify the only apps needed to save battery? the guide suggests 2 other apps as well
[Android General] strongst:
WakeBlock is also a good choice. Moreover knowing your apps and monitoring the usage behavior is essential,as mentioned here https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post74140616
[Android General] anon1135:
thx I'll try it. thought it was an alternative this whole time for people who couldn't get amplify to work
[Android General] Atrix2dBeast:
Hi,

I cant find wakeblock? Could you please share it..

Thanks in advance.
[Android General] TheVic!:
Search play store. There you will find it.
[Android General] Atrix2dBeast:
Already tried it bro...it says incompatible.

Even tried a apk someone attached in the thread which returned parsing error while installing.
[Android General] strongst:
You should ask in the wakeblock thread here on xda and check the installation perquisites
[Android General] mrjuniork:
https://xdaforums.com/android/software/wakeblock-blocking-drain-late-t3526313
[Android General] Kireto00:
is this thread work for nougat 7.1.2 russrection remix rom ?? magisk ??
[Android General] strongst:
This guide is device and rom independent as I mentioned some pages before https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post74140616 and most of the tips are usable on nearly every setup.
[Android General] waleeds1:
Downloads (tested using google chrome/drive) are not getting completed and getting stuck at pending, ultimately have to restart the download from 0 when the screen is off. Anyway to fix this?
[Android General] Kireto00:
because i have seen that AppOpsXposed dont work for nougat is that right ??
[Android General] strongst:
As I said most.... In particular you need to check. And most apps are updated since marshmallow and won't crash when revoking permissions with android permissions system.
[Android General] Kireto00:
i dont understand this or the last post ......... what i ask

is this will work on noughat with all details in the post ?

what about AppOpsXposed dont work for nougat what i must do ?
[Android General] strongst:
I don't know if AppOpsXposed works on nougat or not. But in particular the guide is working. You can also block wakelocks instead of revoking permissions.
[Android General] Kireto00:
there is any instead module can i use instead of appopsxposed ?? in nougat ??
[Android General] strongst:
Nougat has inbuilt permission manager called privacy guard where you can manage to revoke permissions. Settings - privacy - privacy guard.
[Android General] Kireto00:
i open it now which app i must select ?? and what i must do ??

sorry i am noob
[Android General] Bi0haZarD:
I suggest you do some reading before flashing anything on your device. This is not for noobs. Use xda search, google is also your friend
[Android General] Kireto00:
i mean i am noob in privacy guard not in all android things ..... if u know u can tell me ??

---------- Post added at 10:36 PM ---------- Previous post was at 10:32 PM ----------

AppOps is a permission manager in android.There are various versions of AppOps available in the PlayStore.I recommend the one linked with Xposed.(You can also use CyanogenMod Privacy Guard).

Downloads:

AppOpsXposed

You can use Privacy Guard to disable some permissions of Google Play Services and Google Services Framework

Navigate to Settings->Hacks->Check FIX OP_WAKE_LOCK

Disable the following Permissions of Google Play Services using AppOps

OP_ALARM_WAKEUP/Wake Up

Keep Awake

Disable the following permissons of Google Services Framework

Keep Awake

this is the thread about appops xposed i found keep awake and disable it but

OP_ALARM_WAKEUP/Wake Up

this i dont find it how to do it ??

---------- Post added at 10:37 PM ---------- Previous post was at 10:36 PM ----------

AppOps is a permission manager in android.There are various versions of AppOps available in the PlayStore.I recommend the one linked with Xposed.(You can also use CyanogenMod Privacy Guard).

Downloads:

AppOpsXposed

You can use Privacy Guard to disable some permissions of Google Play Services and Google Services Framework

Navigate to Settings->Hacks->Check FIX OP_WAKE_LOCK

Disable the following Permissions of Google Play Services using AppOps

OP_ALARM_WAKEUP/Wake Up

Keep Awake

Disable the following permissons of Google Services Framework

Keep Awake

this is the thread about appops xposed i found keep awake and disable it but

OP_ALARM_WAKEUP/Wake Up

this i dont find it how to do it ??
[Android General] Dyt199412syam:
[MENTION=5867207]v7[/MENTION] sir, is it normal that amplify is not running in the backgroud? How it will work if it doesn't? I think this vary weird. Btw, i am on LinOS 14.1 with official xposed. Any idea? Thank you for advance.
[Android General] Pandawg:
My Note8 had Android OS keep the device awake for 7 hours. I just downloaded BetterBatteryStats. What do I have to upload to find the source of what is keeping my device awake?
[Android General] Trey n:
Try this to save even more battery! Increases sot time!

https://xdaforums.com/android/softw...d-modified-battery-profile-sot-t3613859/page4
[Android General] anon1135:
can it be improved? was also going to try with lineage os next
[Android General] jlb1959.01:
dchp wakelock??, any advice how to control or eliminate,I'm on xdabbeb3.1,, that wakelock shows up a large amount of times..thanks...
[Android General] Star Dust:
Been using greenify and amplify (both donation packages) in my LOS 7.1 , really help my device to save more battery power, 1% drain on 20 hours of idling(non used)compared to when i'm not using both app before. I got 3% drain within 8 hours of idling bfore.
[Android General] abraden80:
Any other alarms/wakelocks/services you are controlling with amplify besides the ones mentioned in the OP? Sharing your setup would be great if you don't mind :)
[Android General] Star Dust:
Can't upload ss so I just make it into a zip file.
[Android General] Bewildered Wolf:
[MENTION=5488402]Davey126[/MENTION] does monochrome mode saves battery on an amoled panel ?
[Android General] DB126:
Perhaps theoretically...in a lab where all variables can be tightly controlled. In the 'real world' the power reduction is miniscule relative to other draws on a typical mobile device. That said, it's a wonderful placebo that makes for good water cooler conversation.
[Android General] justjr:
Well, science says that if you isolate all other variables and it does use less power, and the difference is statistically significant, yes it does save battery, no placebo. Although the real world power reduction relatively to other components power uses may be minimal, one only can say for sure with numbers on hand. I guess a black screen means that this leds are off on an OLED screen, but I can't say if 50% of screen leds are off it will save 50% power, if so, giving the fact a screen uses a lot of power, it should have high power saves. Without experimental numbers it's all speculation, and may not be a fun water cooler conversation... :laugh:
[Android General] Bewildered Wolf:
Davey, I really enjoyed his answer. :laugh:
[Android General] DB126:
Oh...it would be good. One camp would go deep on theoretical minutia with no clear objective other that scoring theoretical points. The other would set up a pair of devices in a controlled environment and observe real world drain with/without monochrome. You'll note there are very few published studies on the latter which Samsung would clearly trumpet if it strongly supported their grey scale claims. No doubt the latter group would observe some differences over a sufficiently long period. All parties would declare victory. Another successful day at the cooler.
[Android General] Arstoien:
One small input from my experience: from the most similar conditions comparing an almost all-white ui app with almost black/grey ui app, I could not notice a difference in screen on time. That would be not even 0.5 % per hour total battery drain difference (if I'm generous). However these (totally subjective and not-controlled) tests were performed in a fairly dark environment with low screen brightness. I expect the difference to be more significant in high/max screen brightness, as AMOLED screens are famous to use relatively more power on high	brightness (compared to lcd).
[Android General] Spegeli:
hi [MENTION=1007992]everyone[/MENTION]...i did every step in this thread (except powernap) but i still got 3,6% drain per hour in idle...

Here is a Log from BBS from the last 7 Hours: https://pastebin.com/kEpvqceW

Can maybe someone help me to found out what drains so much?

tyvm
[Android General] zputnyq:
dhcp wakelock seems related to wifi,

It is safe to be controlled/stop or not, I'm not sure.
[Android General] kammzaman:
All this setup work perfectly on Android N os v7.1.2? Manny setup not present on N.

---------- Post added at 01:02 AM ---------- Previous post was at 12:57 AM ----------

I think should need a new thread for android about of using amplify & greenify with full information & setup details. Thank you
[Android General] strongst:
https://xdaforums.com/android/general/guide-extreme-battery-life-t3095884/post74140616
[Android General] jlb1959.01:
thanks I googled and not much said beside static router setting??. anyways much appreciated,it my biggest wakelock by far.
[Android General] jelive:
Are u using wifi always on or is wifi having to reconnect after screen off scanning for address from router?
[Android General] patrickdrd:
I use location to track my running, what should I do with the above settings?
[Android General] Spegeli:
I'm a new Amplify User and i followed your and this thread: https://xdaforums.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588

The last 6 hours i done a Airplane Idle Test and i got a drain of ~2,7% per Hour (totally about 16% over 6 Hours)....and i dont know why and how to stop it.

Here is the BBS Log: https://pastebin.com/1ESewf0L

alternative i attached it to this post with a screenshot.

i hope someone can help me.

//Edit: i made now a small video with my Greenfiy / Amplify / PowerNap Settings: https://streamable.com/hf76x
[Android General] jlb1959.01:
always on,never had the problem til recently,or should I say that wakelock has never showed up until the past couple weeks.i have it on WiFi 24/7, with data on.reasoning is around the same WiFi most of the time..I'm on xdabbeb 3.1(vs985),.now if I flash to 7.1 there's no wakelock. without dragging this conversation out,the reason for staying on xdabbed3.1 is my sot,battery life is double that of being on 7.1... I will try the ivernite stats tomorrow.bothers me because I know its not the ROM,it been tot to stock then the usual up to xdabbeb 3.1.

thanks,guess I dragged it on eh..