What do the performance profiles do?

I've done some quick searches on the matter, but all I could find were links to xposed modules. Are the performance profiles (under battery settings in LOS16) specific to LOS or is it an upstream change in AOSP? What exactly changes when switching profiles? Are different schedulers being used? It feels like my battery lasts longer on "quick" than on "balanced", though I don't have any data on that yet.

I don't have any problems with the feature, this is just my curiosity eating away at me :D If someone could point me to some further reading material or, better yet, the source file/s where the performance profiles are implemented I'd be ever so grateful :)

Edit: seems to be device specific, so for the record I own a Sony Xperia XA2 aka pioneer.

Posted Aug 3, 2019, 8:25 AM UTC · edited

3513
superl2Havoc OS, Xiaomi Poco F1•

I think they adjust the CPU clock speeds, either by changing the mins and maxes or by changing the CPU governor.

14
theopensourceguyOPyuga (15.1) & pioneer (16.0)•

That's what I suspect, but there might be more optimizations I'm not aware of, hence my asking.

2
Watada•

Fortunately or not the best way to adjust clocks and governors is by using a custom kernel.

1
djdelarosa25•

My Poco F1 doesn't have those.

0
theopensourceguyOPyuga (15.1) & pioneer (16.0)•

Mine did not have those settings on 15.1, I'm pretty sure but I can see by your user flair that you're running 16.0 as well. Weird.

1
djdelarosa25•

My Z Play on LOS 15.1 does have them.

1
theopensourceguyOPyuga (15.1) & pioneer (16.0)•

Huh. I'll dig through the sources some more. Now I really wanna know what's up with that.

1
ishanjain28•

Poco has thermal profiles in LOS 16. Open App settings and there should be an option to select thermal profile(Sometimes also referred to as 'Optimization profile'.

0
hackerman_XYMoto Z Play | One Plus One | Nexus 5•

I am still on 14.1 on my MZP. I guess that the 15.1 is an unofficial build from XDA, right? How is the build running so far and can you provide me a link to the build/thread?

1