yashsingh1/xdaforums huggingface dataset:
[X Play General] lokesh.acm:
I'm on stock 6.0.1

Optimus kernel(just flashed it recovery)

with greenify , naptime(just now installed), amplify. Auto sync off but allowed to sync for 5mins every 3hrs.
[X Play General] AtomicStryker:
Ok i think i finally found my battery eating culprit. For some reason mobile data was enabled on both SIM, and also, Gravitybox "Smart Network" option did not have "Energy Saving mode even with Mobile Data" toggled on. That, or being back home with full signal on both SIM. Overnight drain (in WLAN) is 3-4% as it should be, or rather as i used to have.

This "rate of change" screenshot shows how the drain was before (up around Fri 20:00), then i listened to music for an hour or two, then i was back in the home networks, and that last dimp around Friday midnight was me checking the settings again. You can see how idle drain dropped to almost zero immediatly after. EDIT: And even before that in fact, so perhaps it is having a full signal .... will know more when im back out of country monday evening.
[X Play General] Sickaxis79:
Im gonna remove the tweaked scripts because i found the cause of the 1459Mhz showing up very frequently. Its just part of the system called "perfd" and helps to save battery by monitoring,calculating and changing values to work the most power efficient. You can just disable this by opening a terminal emulator and type : su [enter] , stop perfd. Finished.

(pasted) Detailed description

perfd continuously monitors CPU utilization, mains power and battery life. If mains power is not present, perfd monitors CPU utilization; if the processor is being heavily utilized it will try to increase system performance to compensate. If the processor is idling, it will decrease system performance. As battery life decreases, the maximum speed the machine can reach is gradually reduced to maximize battery life. If the battery reaches the low, or critical state, system performance is reduced to, and maintained at, the minimum until a change in circumstances is detected. If mains power is present, perfd has two modes of operation. By default, it operates similarly to when mains power is not present, with the exception that it is quicker to raise system performance, and slower to decrease it. A second mode of operation (controlled by the -f flag) forces the system to be set to maximum performance when mains power is present.
[X Play General] rober788:
Stock with squid kernel, lionfish with the tweaks from posted in earlier posts.
[X Play General] AtomicStryker:
4 hours SOT on low brightness and this much drain? Wooow.

I mean, i have only 2 hours SOT here but ...

Using Sickaxis postinit profile and Optimus kernel really prevents the odd "heatup" issue the Play sometimes has, though i suspect my low drain is mainly because there's only one active SIM at the moment and no data enabled on it. I'm mostly in good WLAN though.
[X Play General] XxMikeMasterxX:
What's going on with your guys' kernel drain? Mine doesn't even reach the list in GSam Appsucker.
[X Play General] AtomicStryker:
Well, how did you manage to get GSAM, a theoretically completely passive app, on there?

I suspect having heavy root system mods like Xposed-modifications puts the kernel up there. Gravitybox with UI and network changes, MinMinGuard which basically routes all the network traffic? Possibly other system-encompassing apps such as Adaway and Naptime aswell - my phone was dozing over 90% of that last runtime, yet the causing app isn't even in the list.

EDIT:

Also i noticed GSAM completely misses some things like heavy GPS usage. I've had Geo tracker running for several hours today, and the vanilla battery app says it drained 10% (i would say GPS alone easily drained 40%, even).
[X Play General] moozer:
Not bad below considering watching 3 live football matches (Euro 2016) and playing Dream League Soccer in between.

Any feedback on these stats would be appreciated. Thanks.
[X Play General] rober788:
what settings do you have?
[X Play General] Skeptico:
I'm on Resurrection Remix ROM with stock kernel and xposed, and I usually get about 8 hours of SOT. I'm not using any tweaks whatsoever aside from personal preferences like adaptive brightness at 80%, sync off unless I'm out of the house, force closing apps when I'm not using them, location always off unless I need it, etc. I also don't use my phone for listening to music, watching videos, or for any heavy gaming.
[X Play General] XxMikeMasterxX:
[MENTION=5650345]moozer[/MENTION] [MENTION=6063013]rober788[/MENTION]

For those interested in my setup, there it is. It has remained the same for quite some time.
[X Play General] effingbadluck:
Does Xposed have live display/blue light filter module?
[X Play General] moozer:
Screenshots would be helpful, seeing as you are so determined to laugh at everyone else
[X Play General] XxMikeMasterxX:
Fiesty.

Lots of screenshots throughout the thread. Search it.
[X Play General] Chaninoza:
Can please make a ghostpepper profile for coffee kernel 1.3?
[X Play General] Leni_YO:
Use the one for stock/optimus r10. The frequencies are the same in coffee kernel. Works flawlessly on my device.
[X Play General] XxMikeMasterxX:
How's everyone's battery life with GhostPepper?
[X Play General] raptorskate:
Reached a great SOT! Using Epsilon Rom, Coffee Kernel 1.4, Optimus 10.1 Ghostpepper Script, greenify, amplify.
[X Play General] Sickaxis79:
Just wanted to say i almost finished a new interactive script that works on all roms and kernels from within kernel adiutor. It took a bit longer because i suddenly discovered a new hidden stock feature called cluster-plug and can be enabled very easy. I thought it was only added as an extra feature in cm based roms, but its just part of the system disabled by default. Im rewriting and testing new scripts so you can switch the cluster-plug on and off using stock or custom roms. Works nice so far.
[X Play General] raptorskate:
Can't wait Sickaxis! I'm sure it's gonna be great!
[X Play General] Sickaxis79:
Thanks :)
[X Play General] XxMikeMasterxX:
Sickaxis is the best. I'd ask squid2 directly if you can enable clusterplug in stock ROMs. I figure if it was possible he would have done it by now. I think he's discussed it in his kernel thread.

That feature alone would make a huge difference to battery life. We'd all get 10 days' worth!
[X Play General] Sickaxis79:
Removed to start a new thread soon.
[X Play General] lvints:
[MENTION=5725023]Sickaxis79[/MENTION]

Although the topic is well explained, I still had some doubts.

I have to use one of these scripts (or MXPGhostpepper MXPGhostBuster or MXPGhostBusterCP) more this (Cluster-plug on), right?

Will it help the battery DU + Squid Kernel?
[X Play General] rober788:
i have lionfish gouvernator (stock, optimus kernel), do i have to reset settings in kernel auditor?
[X Play General] Sickaxis79:
Forgot to mention the MXP scripts are just launch and go. It will set the cpu governor, low memory killer (lmk) ,i/o scheduler: fiops 128kb, gpu adreno-tz and cluster-plug on or off by default. You can just change it afterwards to your own likings.

Ooh and don't try to edit the scripts from the build-in text editor in k.a. or it will reset the permissions back to r/w and the scripts wont launch and you need to set it back to rwx r-x r-x everytime.
[X Play General] AtomicStryker:
Is there a functional difference to your previous scripts? I'd rather stay on the fully automated solution, as the phone has rebooted sneakily once or twice and i will eventually forget to apply the script
[X Play General] Sickaxis79:
Post_boot scripts i posted earlier. These scripts are real easy to apply and you dont lose your stock settings incase you want to revert, plus you dont have to reboot the phone to switch profiles.

The mxpghostbustercp script is new and different, and works best with squid,optimus or beto kernel. On stock and the new phoenix kernel im just testing today it also works but it uses a bit higher cpu speeds because they dont support the use_sched_load. New phoenix kernel is great just installed and supports msm hotplug :)
[X Play General] baskwo:
Hey guys, what would be the best way to get sot on CM 17/07 and COffeeKernel 1.7? is the GhostPepper script would work?

Thanks

Cordially,

baskwo
[X Play General] XxMikeMasterxX:
[MENTION=5725023]Sickaxis79[/MENTION]

You've doje hie community a huge service. Thank you for your work, Sick.

It may be worth creating a new thread to post your scripts and settings to in order to best allow newcomers to find the information easily. Just a suggestion.

You da man. Thanks again.
[X Play General] Sickaxis79:
Actually i was thinking to ask you before i posted. I think your right. Ill do.
[X Play General] raptorskate:
Ok guys, this is it! The best SOT I've got with my MXP.

-Greenify

-Amplify

-ForzeDoze

-AICP Rom

-Coffee Kernel 1.7

-Enable Cluster Plug
[X Play General] pijes:
share your BBS Alarm screenshot
[X Play General] raptorskate:
Sorry :( i didn't take screenshot of that..
[X Play General] Kongootto123:
can i add the ghostpepper script to coffee kernel and RR ? Tia
[X Play General] EspElement:
You guys consider Doze Settings to improve idle saving? May be minimal but you can tweak to offer more checks or less checks while dozing. Love this Thread!! Thanks guys!
[X Play General] Sickaxis79:
https://drive.google.com/file/d/0B9ON0D1zF_uAMkVUWG92QnM3Slk/view?usp=drivesdk

Place in /system/etc/init.d and give rwx r-x r-x per mission and execute the script using kernel adiutor.
[X Play General] Kongootto123:
thx sickaxis ! after executing the script , how can i check that GP is set ? there is no GP Govenor visible in Kernel Adiutor.

---------- Post added at 08:05 AM ---------- Previous post was at 07:55 AM ----------

[MENTION=4917633]sicka[/MENTION]xis: forget my last question.
[X Play General] IOmega666:
Guys, i have Epsilon Project + Squid Kernel, without Ghostpepper or ClusterPlugOn. Phone is ok, I average 4 to 5HS SOT, which is great for my usage (used to get 3 to 3.30HS with my Nexus 6) but little stutters here and there are what drives me crazy. With a CM based ROM I don't have this little stutters like when unlocking the devices and the animations that pops up the app that I was using when I locked the devices, it's very choppy, but battery life is not so good.

Any Kernel, tweaks, scripts to help up the smoothness of the phone?
[X Play General] pijes:
if I remember correctly, squid's kernel is using lionfish governor and it was set up for battery saving. from my past experience using it, the lionfish governor was too quick to throttle down the cpu speed resulting in a bit of lags. install kernel auditor app and modify the cpu settings a bit like in this post here
[X Play General] G.Ashwinkumar:
Hello guys.. Anyone following the thread closely can you please consolidate it into a post so that it'll be easy for the new users.Whats working whats not? Whats the optimal setup as of today? Any and all help is welcome!
[X Play General] Kongootto123:
my setup:

RR ROM + Coffee Kernel +XPosed + greenify + amplify +appopexposed + powernap + clusterplug on + ghostpepper script + smart network + gravityscreen + adaway + minminguard + A.R.I.S.E. Sound Systems™ Levicitus + last TWRP Recovery
[X Play General] Ebrahim Ali:
Hi guys

I got tired of the micro stutters and lag when using lionfish governor, I even tweaked it to improve performance from the guide posted in this thread, but I wasn't happy still. To be honest I never usually change cpu governors but hey anything to get better sot am I right?

So I'm back to using interactive as a governor, although I have tweaked it a bit. You see the governor doesn't know that the cpu has been over clocked(squid kernel) and doesn't boost to full speed for very long leading to slight lag and those annoying micro stutters. So changing boost duration and high-speed frequency and a few other things is what I did. I'll post my set up later as its quite late now, battery life and sot have taken a knock but I still get a full day(if I don't play pokémon-go ).
[X Play General] Ebrahim Ali:
Ok here goes

Interactive

BIG cores

above_highspeed_delay 20000 1459200:50000

boost 0

boostpulse_duration 80000

go_highspeed_load 85

highspeed_frequency 1459200

min_sample_time 80000

target_loads 1 960000:85 1459200:90 1497600:80

timer_rate 20000

timer_slack 80000

LITTLE cores

Interactive

above_highspeed_delay 25000 1209600:50000

boost 0

boostpulse_duration 80000

go_highspeed_load 85

highspeed_frequency 1209600

min_sample_time 80000

target_loads 1 800000:90 1209600:80

timer_rate 20000

timer_slack 80000

These are still my test figures and I'm still playing around and tightening up efficiency
[X Play General] Sickaxis79:
[MENTION=6915602]Ebrahim Ali[/MENTION]

Your profile looks very promising and thought you could use the min and max efficient target_loads for the mxp i calculated a while back (attachment below).

An example if you are looking for smoothness/performance is using the next target_loads.

Big Cluster: 25 400000:16 533333:33 800000:50 960000:78 1113600:75 1344000:83 1459200:88 1497600:82.

Little cluster: 25 499200:56 800000:72 998400:81 1113600:83

If you set the timer_slack to -1 you wil also notice screen response will be a little faster.

With this setup you can disable the hispeed_freq and all the boosters(touch boost,input boost,cpu boost) and still have smooth performance if you keep your timer_rate set to 20000/ 30000. Happy tweaking.
[X Play General] Ebrahim Ali:
Thanks a lot sickaxis . I've implemented your values, I'm still testing and tweaking though but looking at the cpu states graph in kernel auditor it's seems that the cpu is now using a broader range of frequencies and not just ramping up to the highest frequency for a task.

I'll post a screenshot of the graphs later so you can see what I mean.
[X Play General] Sickaxis79:
Its for when you want to lower your min cpu speeds.Best to end the higher cpu speeds with load_target between 90 and 100℅ to avoid ramping to the highest speed constantly.

Something like this: ...... 1344000:83 1459200:92 1497600:95 1612800:99 or when using oc kernel : 1344000:83 1459200:92 1497600:95 1612800:97 1708800:99. This way it doesnt bump to the highest freq immediately when using the phone for lighter tasks.
[X Play General] XxMikeMasterxX:
Has anyone been able to compare the battery and usage stats with modified interactive as per [MENTION=5725023]Sickaxis79[/MENTION] and an alternate setup, like my lionfish?

Thanks again Sick - you've helped the community with your settings so much.
[X Play General] zero995:
[MENTION=7240937]XxMikeMasterxX[/MENTION]

sorry yesterday i had the battery stats of interactive(ghostkeeper)+clusterplug over latest optimus but isn't good in standby and less of 3h of SOT in the night i had 25%

today i triying with you lionfish but i had some issues(maybe is uncompatible with the kernel or is a kerneladuitor bug)

- all powercluster show as off --maybe a kerneladuitor bug?

-if i dont turn off cluster plug the powercluster go to 1.13 - 1.7Ghz all time

-the score on antutu is 35870(lionfish+clusterplug off only work little cluster ) vs 48760 (ghostkeeper + clusterplug) vs 46151(lionfish+clusterplug on)
[X Play General] rober788:
it should be posted all posted all settings on the first post, and some relevant screenshot with battery stats :)
[X Play General] XxMikeMasterxX:
I agree. It would be very optimal if everyone with a custom setup they like were to send me their setup in a PM. I could agglomerate in the first post after receiving a few. Screenshots also welcome, of course! Let's work on this together.
[X Play General] zenez:
[MENTION=5725023]Sickaxis79[/MENTION] i couldnt find the ghostpepperCP scripts :( you deleted? i need the one for RR and optimus kernel

Thank you very much
[X Play General] Sickaxis79:
Ill upload tomorrow and start a new thread with a new universal battery save script and a whole new set of custom controls to add in k.a. to tune the big.Little cpu with easy sliders and switches for controlling the way loads are handled yourselves.
[X Play General] zenez:
Ill be waiting, thank you very much :)
[X Play General] zero995:
Great performance over latest RR and latest Optimus kernel

Lionfish stock

Gpu simple ondemand

UPDATE

7hrs of sot :D Total 12 great
[X Play General] zero995:
12hrs 7SOT awesome
[X Play General] moozer:
That's 3hr 58 mins SOT!

You have 51% battery remaining which should last 7 hours

That does not equate to 12 hours SOT.

Where are you getting your stats?
[X Play General] zero995:
12 total counting standby time
[X Play General] moozer:
So...if I leave my phone on and never allow the screen to turn off; don't touch it, etc, then I too could achieve at least 24 hours SOT. AT LEAST

This whole SOT business is ridiculous and wholly unnecessary.
[X Play General] Sickaxis79:
I agree. Heavy usage playing games is 3/4 hours sot. Light usage high brightness 5/6 hours sot. Light usage low screen brightness is 8/9 sot. The best battery saver is the user himself. :)
[X Play General] PSxplay:
How to apply them? Newbie ;)
[X Play General] moozer:
Go into Kernel Adiutor and each section, as above, has values that can be changed. Change them accordingly and ensure "Apply on boot" is active for each section. Close KA restart phone
[X Play General] XxMikeMasterxX:
[MENTION=7287705]PSxplay[/MENTION]

Don't be surprised if your little cores values revert frequently. This is due to clusterplug and that needs to be disabled to have custom little clres values stick.
[X Play General] Ebrahim Ali:
Hi guys.Sorry posting this so late but i had an accident and broke my collarbone.Between hospital stays and doctors visits i just couldnt find the time to post this until now,here goes

The following settings result in NO lag and reasonable battery life.You can make these tweaks to the stock kernel as well as with Squid kernel

BIG.cores

Governor : interactive

Min cpu freq : 200mhz

Max cpu freq : 1708mhz

above_highspeed_delay : 80000 1497600:40000 1708800:50000

align_windows : 1

boost : 0

boostpulse_duration : 80000

go_highspeed_load : 99

highspeed_freq : 1612800

io_is_busy : 0

max_freq_hysteresis : 0

min_sample_time : 80000

target_loads : 25 400000:16 533333:33 800000:50 960000:78 1113600:75 134400:83 1459200:88 1497600:95 1612800:99

timer_rate : 20000

timer_slack : -1

use_migaration_notiff : 0

use_shed_load : 0

LITTLE.cores

Governor : interactive

Min cpu freq : 200mhz

Max cpu freq : 1209mhz

above_highspeed_delay : 25000 1209600:50000

align_windows : 1

boost : 0

boostpulse_duration : 80000

go_hihgspeed_load : 99

highspeed_freq : 1209600

io_is_busy : 0

max_freq_hysteresis : 0

min_sample_time : 80000

target_loads : 25 499200:56 800000:72 998400:81 1113600:99

timer_rate : 20000

timer_slack : -1

use_migaration_notiff : 0

use_shed_load : 0

Please dont just copy and paste these values.Use the current format of your CPU Governor Tunables and manually enter the values.Many thanks to XxMikeMasterxX for the efficient cpu values and other little tweaks.
[X Play General] minimale_ldz:
[MENTION=6915602]Ebrahim Ali[/MENTION] - thanks and get well soon.
[X Play General] XxMikeMasterxX:
[MENTION=6915602]Ebrahim Ali[/MENTION]

Thanks for the shout out. I need to do some work on the OP to reflect the latest trends with scripting done by [MENTION=5725023]Sickaxis79[/MENTION]. Been getting great values lately. My original lionfish setup may yield somewhat longer battery cycles but at the cost of responsiveness.
[X Play General] pijes:
Have you tried setting the input boost on lionfish to see if it improves the speed?
[X Play General] Ebrahim Ali:
I have played around with lionfish but the cpu curve is so dam conservative I end up molding it into interactive ultimately to get it to perform at the level I want it. Battery life isn't extremely important for me anyways as long as I can get through an average day of use with no more than one additional charge.
[X Play General] XxMikeMasterxX:
Hey [MENTION=2593808]pijes[/MENTION],

Good idea. I hadn't tried that, no. I might switch back to my old setup and try it out. I should also make a script to share with the community. What should I call it - RoaringLion? Meh...that's kinda lame...
[X Play General] bartek.habiciak:
What aplication do you use to set Cpu frequency ?
[X Play General] XxMikeMasterxX:
Kernel Auditor.
[X Play General] Ebrahim Ali:
So now im using the cluster plug init.d script. Performance has realy increased alot as the aneamic LITTLE cores are switched off.

Qualcom done goofed when they designed a BIG. LITTLE chip with 8 A53 cores, the only difference being clockspeed. You not gonna see any powersaving from a lower clockspeed when all clusters are running at the same voltage.
[X Play General] ronak123456:
Hi guys, so I've been reading the posts and trying to find out what will be best battery saving setup. I went to 2nd page and someone with name xtremeed2705 said he got 9hrs SOT with screenshot! I was shocked!! I am currently on Stock ROM with only xposed installed and no kernals. I wonder what will be the best kernal or ROM now for the best power save setup. As after the latest update..I am not able to find the best power save setup! Sorry if am asking for too much!!

So far, I've used Marshmullux, RR, CM and bliss and all ROMS were best so i don't mean to say which best ROM should i use but I am asking for Battery specific and tweaks!!
[X Play General] raptorskate:
For me the best kernel, has been Phoenix or Coffee, the best ROM (I've tried like 6 haha) has to be AICP, for me and other people is on par with stock rom battery/performance talking, using Xposed with amplify, Greenify and forcedoze :)
[X Play General] Ebrahim Ali:
Best kernel for battery is Squid kernel because of the under volt. You can take it further by running one of the battery saver scripts in this thread:

http://xdaforums.com/moto-x-play/general/interactive-governor-battery-save-t3443201

The best ROM for battery is stock 6.01 with a few google and moto apps removed. Obviously to do all this you will have to be rooted and using Xposed.

Use greenify with the donation package and tick everything under xposed based features

I haven't used amplify so i wouldn't know what to do there

Also don't expect to get 9 hours SOT right off the bat. How you use your phone and particularly mobile signal strength is the biggest factor in achieving good battery life
[X Play General] ronak123456:
lol scripts!! I am a big time NOOBIE in that!! as i don't know what is a script how to use it and where to put it and what it does LOL..i tried google but dint understand!! so i am not going into it!!

Currently am using spectrum ROM stock!! no xposed installed but I have powernap, force doze, doze and greenify. I dont think xposed is a must for this!!

Coming to battery!! I am pretty much impressed with this stock ROM of spectrum...battery is good!! I will share my SOT soon..as i put it on charge by mistake at 86% :P so maybe me tomorrow haha!! and i agree on your point!
[X Play General] Ebrahim Ali:
Hey man no worries, until a week ago i had no idea what scripts were either. Trust me read through the thread and you'll be able to get it working with minimal effort. Its basically better performance and battery life without Greenifying things. Combine it with Greenify and the results will surprise you. Just remember to backup before you start tinkering.

I would still use Xposed for greenify, doze on the go and deep hibernation are great xposed features.
[X Play General] ronak123456:
LOL i really have no idea what it does and how to use and what to do. But sure ill do try to use it if it is for battery life.