Since moving back to trixie I now have a working cpupower-gui installed.
I made a new profile and set the 2x A72 and 2 of 4x A53 CPU cores to off and then dialed down the last two A53 CPU cores to peak at 600mhz.
I was on the bus today and it seemed like I had finally gotten my wish of only loosing something no more than 10% battery for an hour of audiobook with the screen dark/locked over wired headphones, while also getting pretty good performance web browsing when using the phone as normal. I can't be sure how much battery burn truly happened as the % indicator was stuck but still around 10% is massive improvement.
Now I looked at cpupower-gui to get specifics for this post and it appears my custom setting had never taken effect.
Firstly I would love to be able to load the above power settings into the sleep/lock screen script but also wonder if there has been a recent power scaling included in some of the big updates to trixie?
I feel like for the most part those A72s should only activate under serious system load and even then maybe a popup request for ultra-burn power for 30 seconds, since this is a phone not a gaming desktop.
maybe I can write up a script to (untested script no time to play now especially how to specify the 600mhz max cpu)
ME>>>ALSO MAKE A CPU HOT/NORMAL SCRIPT
Code:
#!/bin/bash
#toggle A53 cores 0 and 1 to 600mhz max and 2-3 to off
sudo cpufreq-set -c 0 --max 600
sudo cpufreq-set -c 1 --max 600
echo 0 | sudo tee /sys/devices/system/cpu/cpu2/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu3/online
#toggle A72 CPUs 4-5 to off
echo 0 | sudo tee /sys/devices/system/cpu/cpu4/online
echo 0 | sudo tee /sys/devices/system/cpu/cpu5/online
toggle the A72s and 2 of 4 A53s offline(the echo 0 kills a core and echo 1 turns it on), have to look around to see how to throttle the CPU max mhz for CPU 0 and 1
If anyone can help with that and show me where the script for screen lock is s I can add these CPUhot and CPUcold scripts
(edit) leaving this for myself for later when I have time to add this to the script, if anyone wants to dump a good freq for CPUs 0 and 1 after they test ing minimum for sleep ad receiving calls, SMS, and running Cozy running a audiobook or playing music leave it in the thread
https://commandmasters.com/commands/cpufreq-set-linux/
Code:
sudo cpufreq-set -c 1 --max max_frequency
-c 1: CPU core1(number 2 whenstarting with 0).
--max max_frequency: Sets the upper limit of frequency for CPU 1. max_frequency should be chosen within the range provided by cpufreq-info -l.
to check current cpufreq setting use cpufreq-info.
datasheet
https://opensource.rock-chips.com/images...200323.pdf
page 8-9(when we read the datasheet we see we are missing so many power saving features included in the chipset)
Code:
Eight separate power domains for CPU core system to support internal power switch
and externally turn on/off based on different application scenario
PD_A72_B0: 1st Cortex-A72 + Neon + FPU + L1 I/D cache of big cluster
PD_A72_B1: 2nd Cortex-A72+ Neon + FPU + L1 I/D cache of big cluster
PD_SCU_B: SCU + L2 Cache controller, and including PD_A72_B0, PD_A72_B1,
debug logic of big cluster
PD_A53_L0: 1st Cortex-A53 + Neon + FPU + L1 I/D Cache of little cluster
PD_A53_L1: 2nd Cortex-A53 + Neon + FPU + L1 I/D Cache of little cluster
PD_A53_L2: 3rd Cortex-A53 + Neon + FPU + L1 I/D Cache of little cluster
PD_A53_L3: 4th Cortex-A53 + Neon + FPU + L1 I/D Cache of little cluster
PD_SCU_L: SCU + L2 Cache controller, and including PD_A53_L0, PD_A53_L1,
PD_A53_L2, PD_A53_L3, debug logic of little cluster
Two isolated voltage domain to support DVFS for big cluster and little cluster
separately.
ME>>>read this later: Power Restrictions for Android OS: Managing Energy Efficiency and System Performance
https://ijcsitr.com/index.php/home/artic...4_05_04_01
look at linux driver for Himax HX8394
https://github.com/torvalds/linux/blob/m...x8394.yaml
datasheet Himax HX8394-A
https://datasheet4u.com/pdf-down/H/X/8/H..._Himax.pdf