yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] buffer overflow:
Maybe because is used "Cellular network signal", not WiFi, and it is known to be one "hogs" for battery. ?
[Nexus 5X General] phantom146:
Nope.. Cellular data doesn't keep your phone awake unfortunately, its either a kernel wakelock or a partial wakelock
[Nexus 5X General] littlejohn1109:
I just installed BetterBatteryStats. Will try and will update my result here. Thanks.?
[Nexus 5X General] littlejohn1109:
Here are my stats by BBS. Thanks.
[Nexus 5X General] buffer overflow:
Alarm's ?! ?
[Nexus 5X General] phantom146:
First you jave a horrible kernel wakelock.

I haven't seen the second highest kernel wakelock you've got so you must use some google on it to check what's the issue there.

Your partial wakelocks are fine but wechat has been notorious for draining battery on foreground, it also gives you a total of 9 minutes of wakelock in just a short span of time which is pretty bad.

Remember that your main issie is your kernel wakelock, whatever is causing your 2nd highest kernel wakelock should be taken care of, its most probably an alarm firing off from an app in the background which causes to grab a kernel wakelock
[Nexus 5X General] littlejohn1109:
My Alarms showing "no stats have been collected" :rolleyes::rolleyes:

---------- Post added at 04:22 PM ---------- Previous post was at 03:28 PM ----------

I did some Google-ing, found out that IPA_WS wakelock is actually from Emergency Broadcast.

https://xdaforums.com/nexus-5x/help/ipaws-wakelock-t3241608
[Nexus 5X General] buffer overflow:
[MENTION=4967325]littlejohn1109[/MENTION] Try other custom kernel...even if I don't believe kernel is the problem. Generally , kernel just responded to app, services asked it to and that is "confusion" that keeps wakes phone.
[Nexus 5X General] littlejohn1109:
Alright. Thanks for advice. Will explore into it?
[Nexus 5X General] phantom146:
I dont have it because (1) I dont use it and (2) I delete the emergency broadcast and emergency information apk in systems
[Nexus 5X General] littlejohn1109:
I can't find emergency broadcast and information apk. Any idea to remove those? Thanks
[Nexus 5X General] phantom146:
Any debloater app you can find can remove those then just restart
[Nexus 5X General] jugoslavpetrovic:
[MENTION=6638584]phantom146[/MENTION]

I have a question regarding fine tuning.

Lets says we take the official GlassCannon v1.0 and we want to get gradually more performance or battery juice for our specific need for example. So, what cpu gov parameter, if that could be one only to make it easy and simple, would be to play with after we load the profile in exkm?
[Nexus 5X General] phantom146:
Lower down timer_rate to 40000 and below. Hands-down improves smoothness, responsiveness and my GTX 1080 equipped with Therma-Introcooling, 3x 4GT and I don't have any idea what I talked about on the latter.
[Nexus 5X General] jugoslavpetrovic:
So if we lower we get more of what, performance or battery?
[Nexus 5X General] phantom146:
Performance and responsiveness. It is much better to complete tasks faster than to struggle. This means Task Completion is (greater than) battery life. Because a faster task completion yields to better battery life.

If you want more battery, put timer_slack to -1
[Nexus 5X General] jugoslavpetrovic:
Thanks a lot[emoji1]
[Nexus 5X General] buffer overflow:
[MENTION=6638584]phantom146[/MENTION] You are a wizard of settings. :laugh:
[Nexus 5X General] Wawax:
Hello people I have a little problem with the profile since a few days my battery percentage drop to 2 by 2 percent that is to say 100-98-96-94 etc maybe is because the kernel Is not yet well settle but It's been a few weeks now I install this so do you have any idea or things to fix that ?

Sorry for my bad english
[Nexus 5X General] VictorLapin:
Ask your ROM developer about it
[Nexus 5X General] buffer overflow:
Put here screenshot from CPU Governor option and CPU Boost option.
[Nexus 5X General] Wawax:
Look
[Nexus 5X General] buffer overflow:
[MENTION=7529006]Wawax[/MENTION]

Is ok. Gov profile is loaded right. Perhaps a OS problem...
[Nexus 5X General] VictorLapin:
I was pretty much serious when said about asking ROM developer. 2% drop is fixed at the kernel level
[Nexus 5X General] Wawax:
Ok thank you for your answer I maybe do a clean install of pure Nexus to see if it better thank you
[Nexus 5X General] buffer overflow:
I have experience with gov profile what is not load correctly, that i request screenshot.
[Nexus 5X General] phantom146:
I experience that on all of my devices. There are several reasons:

(1) your battery gauge lied to you, or you jist immediately unplugged your device after reaching 100%, at least wait for a good 20 minutes before unplugging.

(2) you just didn't observe your battery right.

(3) the juice on your battery is droping in its total capacity. If you have a 2900mah battery, for a year or because of continuous charging cycles you will have at least 80-85% of the total capacity, so don't worry its normal.
[Nexus 5X General] Wawax:
Ok ... Thanks you very much for your answer

---------- Post added at 05:20 PM ---------- Previous post was at 05:19 PM ----------

If I underclock my phone can we solve the problem ?
[Nexus 5X General] Wawax:
Hello people to preserve battery life what wake lock do I block please ?
[Nexus 5X General] phantom146:
In the kernels.. All of the wakelocks
[Nexus 5X General] jugoslavpetrovic:
In EXKM app... miscellaneous->block wakelocks
[Nexus 5X General] Wawax:
Ok thank you very much for your answer
[Nexus 5X General] EstiR86:
Very curious to know when this will happen I'm no longer on the Nexus train have jumped ship to the Pixel and although battery life is fine actually great I am never satisfied and I have always wondered what wakeclock, sensors, and system services can be disabled to further battery life and making the phone still operate like normal in normal usage.

I am hoping (fingers crossed) it will be an updated guide sort of like the on linked. The thread is a little dated Android L so some of the services aren't available and have been changed, renamed, and ect.

One of these weekends if I have some time I'll mess around and try disabling these services and see how much of a difference it makes without messing with functionality of the device.

https://forums.oneplus.net/threads/...ervices-to-increase-your-battery-life.321165/
[Nexus 5X General] phantom146:
Not recommended anymore.

Most of the servicesentioned there are already updated from gplay services and you won't be seeing them in MAT. Since MM I dont mess with the services anymore as they do a lot worse than help. Disabling receivers is much more efficient but you should read and understand things first.

Your best bet right now is to disable receivers that aren't detrimental to your all around usage like checkin, scheduler, nlp and package measurement. Ever since MM there hasnt been too much of a wakelock problem other than those 4.
[Nexus 5X General] R77:
What is the difference between official GlassCannon and alpha GlassCannon, also can it be explained step by step on how to install it and I have kernel adiutor?
[Nexus 5X General] jugoslavpetrovic:
In my own personal feeling it seems alpha a bit more battery friendly but I might be wrong. To install, the easy way would be to load it as cpu governor preset with ekementalX kernel manager (EXKM). You need to delete ".txt" and put it in sdcard/elementalX/gov_profiles

Then you load it via EXKM and hit apply on boot.

With Kernel Aduitor you need to put manually all values in Cpu Governor Tunables and hit to apply on boot.

Values you can find when open the txt file.
[Nexus 5X General] R77:
Will this work for the Moto X Pure XT1575 which the kernel that I'm using is Clark-Simple-Kernel running Resurrection Remix 7.1.2 the develpor stated that GlassCannon works?

Links are not allowed from other ROMS ?
[Nexus 5X General] Spencervb256:
Yeah it should work fine. ROM doesn't matter but I believe as long as this is paired with the interactive governor (someone correct me if I'm wrong?) Then all is well. I've been using it on handbag kernel and it works great
[Nexus 5X General] itsamagict:
Edit - Problem solved
[Nexus 5X General] neobdium:
off topic

off topic

what is that font name u use?:good:
[Nexus 5X General] Wawax:
This is with the flux substratum theme
[Nexus 5X General] itsamagict:
I have only been using the profile for a couple of days, but so far I am very satisfied. Don't have any screenshots with me, but I kept a good track of the battery.

-9 hours SoT of browsing on wifi only, 1 day charge.

-Using Google maps with GPS on device only will use 33% power in 90 minutes.

-6.5 hours SoT including 2 hours of Twitch streaming, wifi only, uses 90%.

-Wifi only it is 10% for every hour of SoT and 1% for every 3 hours on standby.

-I do not use Facebook, twitter, etc.

I haven't had much of a chance to test this with LTE. Will report once I have the info.
[Nexus 5X General] phantom146:
Thats indeed magical coming from your username lol.

Havent had much luck with SoT but then again my battery is wearing down slowly since my device is 1.7 yrs old (bought itfrom a reseller) so I would never ever have an SoT like thatsadly :(
[Nexus 5X General] EstiR86:
Pro Tip if your kernel supports it use Westwood congestion algorithm as it is much better than the stock. If Westwood doesn't give you the right performance your hoping right cubic
[Nexus 5X General] jugoslavpetrovic:
In what way you say that it is better?
[Nexus 5X General] EstiR86:
It just performs better in congested areas you can search the benefits
[Nexus 5X General] javiman14:
Okay so I will be testing this profile out for a bit but is there anything else I need to do besides apply it and block wakelocks?
[Nexus 5X General] phantom146:
Remember to breath
[Nexus 5X General] javiman14:
Sorry about punctuation. Laziness gets to me
[Nexus 5X General] itsamagict:
That sucks.

After keeping track for a day and a half It looks like standby is not as good as I estimated. It is around .75%/h. Anyways I got some screenshot. This charge ran for 2 days and 9 hours. 2 hours of GPS and 1 hour of web browsing(wifi). It was at 10% before I started charging it. Right now, it looks like:

Standby - 10% at 13.3 hours. Haven't done enough testing to see if having wifi or data on makes a difference.

Screen - 10% every hour on wifi. Same as above.

GPS - Another 10% every hour.

Most of all, the phone stays cool unless it's running games or playing video. I really wished I have done it sooner but I was afraid of messing up the rooting process. Thank you for your effort.
[Nexus 5X General] phantom146:
If standby was your complaint then why send screenshots of apps coming from your foreground?

Look at those awake times.. its not the profile to blame.. something's been digging your phone awake.
[Nexus 5X General] itsamagict:
No complaint. I am happy with this.
[Nexus 5X General] flocke000:
Sorry if I missed something but are there any su.d/init.d scripts already available for this?

In the first post there only seem to be profiles for the ElementalX manager.
[Nexus 5X General] jugoslavpetrovic:
No scripts, only exkm cpu gov profile.
[Nexus 5X General] flocke000:
OK, maybe I will make one once I'm back from vacation.
[Nexus 5X General] jugoslavpetrovic:
That could be useful.
[Nexus 5X General] flocke000:
Ok, I found some time before I have to leave and quickly made the script.

It is based on the init.d/su.d scripts by [MENTION=4752299]Alcolawl[/MENTION] posted here.

I hope I got everything, just tell me if I missed a setting.
[Nexus 5X General] zurik:
Hard to believe about 9 hours SOT.
[Nexus 5X General] jugoslavpetrovic:
Thanks. It works fine.
[Nexus 5X General] itsamagict:
With my signal crapping out I don't think I will be able to replicate 9 hour SoT. Guess the reception was just great on that day.
[Nexus 5X General] :
Does it is more battery friendly than simple conservative governor ?
[Nexus 5X General] zurik:
Maybe it's early to tell but this governor in scrolling it's a little bit lagging compared with interactive governor. At the moment I noticed it on pixel launcher.
[Nexus 5X General] itsamagict:
After a restart I manage to get 9 hour SOT. I have no idea what was causing the battery drain before as the signal was still mediocre from time to time. I hope it doesn't go back to 2%/h on standby again.
[Nexus 5X General] zurik:
You have heavy used your phone? Or to make a phone call and check the clock?
[Nexus 5X General] itsamagict:
It was strictly web browsing. I don't know why you are trying to imply I was trying to fudge the numbers. I am using stuff that other people developed so what's the benefit of me lying?
[Nexus 5X General] zurik:
I am asking only. It wonders me the 9h sot
[Nexus 5X General] Spencervb256:
Relaaaaax 9 hours SOT is insane!! Of course someone is going to wonder how you got it!! No one's implying you're lying
[Nexus 5X General] LazerL0rd:
I love how no-one noticed I corrected the su.d scripts to get them working :silly:

https://xdaforums.com/showpost.php?p=70744529&postcount=6203

and Alcolawl confirming - https://xdaforums.com/showpost.php?p=70744529&postcount=6203

oh well :\

---------- Post added at 03:22 PM ---------- Previous post was at 03:20 PM ----------

"sociopath" one is much better, although very dew kernels have the correct commits for it.
[Nexus 5X General] jugoslavpetrovic:
So, this should be placed in su.d?
[Nexus 5X General] LazerL0rd:
yupp the "100xx" files should be placed in su.d (preferred) / magisk equivalent or init.d
[Nexus 5X General] :
I'm actually getting 6 hours of sot on wifi with conservative gov and frequencies lock to 960 MHz with a normal use.

What is your setup I'm interested. But as I can see you use interactive with Glass canon tweak and dirty unicorn.

Are they other tweaks that I must know.

Thanks in advance.
[Nexus 5X General] Wawax:
Hi me to i use interactive governor with glasscanon profile on Android oreo stock i reach 6hrs and 20m officiel sot

---------- Post added at 07:47 PM ---------- Previous post was at 07:43 PM ----------

Me too i'm interest for 9hrs of sot what is you're complete settings
[Nexus 5X General] jugoslavpetrovic:
Using phasma kernel which is OC for all cores by default, I see you set it to default in script but just noticed that big cores get OC to 2016 anyway for some reason. I couldn't find the error in file. Advice?
[Nexus 5X General] C.H.T.J.:
Where can i find beta 2??
[Nexus 5X General] Wawax:
Hello people is what Glasscanon is optimized for Android oreo? I explain in fact on nougat with the same settings i can reach 6hrs of sot but now i'm on stock oreo with same settings but I have trouble reaching 3h or sot do you have any Idea ?

Sorry for my bad english
[Nexus 5X General] phantom146:
Im on O with angler and there's no problem with it. All interactive profiles, whatever your android version is, should work properly.

Take a look at your partial wakelocks, kernel wakelocks and alarms. There might be some rogue things happening on your phone. Also, take a good look at your Running services under Settings > System > Developer Options and see if there are 3rd party apps running with more than 300mb. Try and figure out what to do with it.

Oreo is great. Profiles never determine your battery life in general, the way you use your app does.
[Nexus 5X General] Wawax:
Okay thanks
[Nexus 5X General] BearOfXDA:
How would I set this up on my device?
[Nexus 5X General] MORADESSA:
last pic in the post big cluster has one core offline is that feature of the profile?

when my device gets hot its throttle the 2 cores?

any one can explain?

---------- Post added at 09:10 AM ---------- Previous post was at 09:07 AM ----------

http://imagizer.imageshack.us/a/img923/4466/alK5yr.png
[Nexus 5X General] phantom146:
It is not. It is thermal_throttling kicking in which all of our devices have as a failsafe. It is also a feature that core_control has :)
[Nexus 5X General] MORADESSA:
how it can be throttling while the cpu temp 34

and its one core not 2

---------- Post added at 09:36 AM ---------- Previous post was at 09:17 AM ----------

i want my device run on 3 cores instead of 6 2+1

is that possible and how i can control wich core is turned on
[Nexus 5X General] phantom146:
Still a feature of core_control if its turned on. Remember that predecessors of 820 including SoC810 and below have a ****ty thermal throttling so I can't help you there unless you flash a thermal mod or the likes, it would be snappy still so don't fret about it.

You can control it using your ex kernel manager, explore everything in it. I wouldn't recommend it though, you should let the kernel decide, otherwise your just assuming that you know better than google's hotplugging.
[Nexus 5X General] BrewingHeavyWeather:
I just wanted to come in and say thank you for your work. I'm one of many that have liked Oreo, but not been happy with the stock image performance on my Nexus 5X. Chasing stock Nougat performance, without sacrificing battery, or dealing with high temps (in a TPU case, no less), I found my way here. I tried several of the popular profiles included with the EXKM app, and found Ghost Pepper to, surprisingly, increase battery life a pretty good bit (I'm still a bit skeptical of some of the claims, at least in terms of all of it being the CPU governor settings). But, performance was spotty, at least with my usage. Loki gave the most glorious performance imaginable, for me, but kept the temps high, often pegging the big cluster speed, causing throttling under sustained use, though its battery drain wasn't bad. Others either caused such battery drain that I stopped using them within an hour, or annoying performance issues.

Your profile here offers me the best balance, never causing any perceived throttling issues, nor touch response lags, keeping temps well under 50C most of the time, and offering better battery life than when I first started using the phone. I've had some low-FPS scrolling, and occasional OSK input to app lags (where the OSK's GUI responds immediately, but the app is 1-2s behind, for 5-10s at a stretch), but nothing major, an no game input lags. By hanging out in the medium frequencies so often, perceived performance is consistent, which tends to matter more to our perceptions than performance being high, and responsiveness has been excellent.

I didn't see attachment options, so here are my screenshots, having made no settings changes since resetting the battery stat tracking: https://xdaforums.com/album.php?albumid=14820

With stock settings, active drain was around 25%/hr. No changes were needed to account for altered max speeds, though they could probably be tweaked a bit for the big cluster, to use 1248 and 1344MHz a bit more often.
[Nexus 5X General] MHS3511:
SomeOne Please describe how can i use this Profile..And Which Kernel will be best for applying this Profile?
[Nexus 5X General] phantom146:
Any kernel will do just not stock kernel. You can add it manually but if you do have elementalx kernel manager;download it remove the .txt on the filename, move it to /elementalx/govprofiles folder.. open ex kernel manager then go to cpu > governor settings > load > find the profile
[Nexus 5X General] MHS3511:
Thanks for the reply...I able to apply it yesterday..but still facing the battery draining issue..Phone Charge is dropping by 2% each every 2-3 minutes..I also disabled the "Touch Boost" option..Now what should i do Sir???
[Nexus 5X General] phantom146:
Install BBS or gsam and find what app is giving you wakelocks and firing alarms every second. Then uninstall it and if you need it, just limit the wakelocks via amplify or wakeblock
[Nexus 5X General] dogedoge:
Looking at your screenshots, did you overclock the little cores and underclock the big cores, or why am i seeing 1632 Mhz at the little core as max frequency and 1440 Mhz at the big core as max frequency?
[Nexus 5X General] LazerL0rd:
1632MHz is over clocked, yes.
[Nexus 5X General] MHS3511:
Same Issue Here after installing Official 5March 2018 Oreo 8.1 update...Now using PurePixel2 rom but still the same problem persist..I didn't Overclocked it nither Underclocked it?And The Battery Consumption Is Goddamn High..plz help
[Nexus 5X General] MHS3511:
[MENTION=6638584]phantom146[/MENTION]

Same Issue Here after installing Official 5March 2018 Oreo 8.1 update...Now using PurePixel2 rom but still the same problem persist..I didn't Overclocked it nither Underclocked it?So Many Unfamiliar Problems hope you will understand by seeing the screenshots.If not Plz reply.

And kindly Try to give a perfect solution for this problems. Battery Draining percentage is Going up day by day?

Note:-Last Screenshot added by Mistake,Sorry
[Nexus 5X General] phantom146:
First of all I can never give any perfect solution as Im not God lol, second I dont have the device and third I dont own your device. You didn't send a BBS screenshot or log so whatever you sent is irrelevant sorry mate. However whatever the reason is its not normal for your cpu frequency to dtay at that level unless:

1. An app is running on your foreground or background that's giving your cpu a very heavy load and thus results in battery drain (highly likely)

2. Throttling (very unlikely)

3. Bad kernel (very unlikely)

Try to boot in safe mode (ask google how) and if something still drains your battery.. you might have a BAD battery
[Nexus 5X General] dogedoge:
I have been experimenting with different roms and kernels and governors and wakelock blocking and everything, and found the newest Resurrection Remix 8.1 with Shadow kernel the best. I use the Glasscannon governor and no underclocking nor overclocking. I don't block wakelocks, but in the development settings near the bottom under "background check" or something similar you can decide which apps you allow to work in the background.

With these settings under heavy use (Bluetooth, GPS high and mobile data or wifi always on) I can get around 4 hours of sot daily. I experimented and found this to be the best for me. It does not mean it will work out the best for you, but I'd advise you to try it if you have the time.
[Nexus 5X General] jugoslavpetrovic:
I'm running AICP rom with shadow kernel, GlassCannon all fine, no OC no UC
[Nexus 5X General] LazerL0rd:
I'm running AICP 13.1 with my own Zest Kernel (uploading soon) that has a modified mix of glasscannon with Franco's settings, an over clock, and my own little twist.
[Nexus 5X General] CLPose:
Are you making a new thread for your setup? I'll be willing to test it! Thanks!
[Nexus 5X General] MHS3511:
Firstly,Pardon me for my Bad English.

Here,I Attached 4 screenshots regarding OC(I didn't do that" You can clearly see in the screenshots that in gsmarena the Official frequency for my CPU should be(A53) 1.4GHz for Big Cluster and (A57) 1.8GHz for the little cluster.I'm ? sure i didn't done any mistake while installing ElementalX Kernel and Chosing CPU Frequency when it asked.I Just Skipped the Frequency To default,that was seems fine and accurate on that time but I'm shocked when I opened the ElementalX App to Manage the Kernel,but when I Entered the CPU section its showing 1.8GHz to Big Cluster where it should be Max 1440GHz..And The little ones sets max to 1440 where it should be 1.8GHz...Now I cant change the variations from EleX app ... Kindly Provide me Manual way to fix this problem I just want to make sure that the CPUs is using there factory Frequencys thats it..

It will be Very much helpfull for me if anyone can provide a ZIP file to fix this problem easily by TWRP..

Thanks? [MENTION=8997859]dogedoge[/MENTION] [MENTION=6638584]phantom146[/MENTION]

Plz Try to provide a solution ?
[Nexus 5X General] LazerL0rd:
Yeah by the end of today. I can send you zip without source if you want too. But I can't start thread without source being active.
[Nexus 5X General] CLPose:
No need to, as long as you link your new thread when ready. No hurry! Good luck!

---------- Post added at 07:34 PM ---------- Previous post was at 07:30 PM ----------

Hi! I think there's no problem here. Max freq for LITTLE is 1440, and max freq for BIG is 1824. And that's what your CPU should be showing.