Hello - after 2 weeks intensive testing with all cpu-settings at a X10III , I can share my experience:
-
The sleepmode from cores makes more energy consumption as without suspending, because the cores at a X10III are switch so often up and down. This was a surprise for me but no changeable.
-
I found out that on openrespos was an atlatic browser and this app installed at my phone secret a cpu-boost app (service) called Qualcoom – I uninstalled it and without its better because it was abooster called ‘sfos-qcom-boost.service’. Its not possible to uninstall qcom alone. First you have to uninstall the browser, or you use the terminal with
devel-su pkcon remove sfos-qcom-boost -
I found also, that I had insalled a old X10III cpu patch from here: https://forum.sailfishos.org/t/the-bluetooth-crazy-cpu-usage-creates-battery-drain-solved/16070 and https://coderus.openrepos.net/pm2/project/x10ii-iii-udev-rules-fixing an I uninstalled it and run after it follow terminal command:
systemctl restart systemd-udev -
The original governor after switching govonors ondemand an back schedule with mce are:
/sys/devices/system/cpu/cpufreq/policy0/scaling_governor "schedutil"
/sys/devices/system/cpu/cpufreq/policy0/schedutil/hispeed_freq 1708800
/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 576000
/sys/devices/system/cpu/cpufreq/policy6/scaling_governor "schedutil"
/sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_freq 2073600
/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq 787200
- After a reboot the file init.lena.pwr.rc make follow settings but they not hold long an go back to the settings under point 4:
/sys/devices/system/cpu/cpufreq/policy0/scaling_governor"schedutil"
/sys/devices/system/cpu/cpufreq/policy0/schedutil/hispeed_freq 1248000
/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 576000
/sys/devices/system/cpu/cpufreq/policy6/scaling_governor "schedutil"
/sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_freq 1248000
/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq 787200
- The suspend settings are original at “mcetool -senabled” but the sleep mode goes every time up and down. The setting “mcetool -sdisabled” is better for the battery lifetime.
- My best results are with follow settings:
pkcon remove sfos-qcom-boost
/sys/devices/system/cpu/cpufreq/policy0/scaling_governor "ondemand"
/sys/devices/system/cpu/cpufreq/policy0/schedutil/hispeed_freq 1248000
/sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq 300000
/sys/devices/system/cpu/cpufreq/policy6/scaling_governor "ondemand"
/sys/devices/system/cpu/cpufreq/policy6/schedutil/hispeed_freq 1248000
/sys/devices/system/cpu/cpufreq/policy6/scaling_min_freq 300000
mcetool --set-cpu-scaling-governor=automatic
mcetool -sdisabled or mcetool --set-suspend-policy=disabled
no patch X10ii-iii-udev-rules-fixing
systemctl restart systemd-udev
I have now generated or updated a patch with it can everybody play and save own settings or go back to factory settings. Maybe I will share it today in the evening. But is only for the Sony X10III and I am afraid that anybody use it under other hardware.