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
I think they adjust the CPU clock speeds, either by changing the mins and maxes or by changing the CPU governor.
That's what I suspect, but there might be more optimizations I'm not aware of, hence my asking.
Fortunately or not the best way to adjust clocks and governors is by using a custom kernel.