Skip to content

power_key: use 25Mhz devfreq setting when screen off

As this is totally stable for me on Birch, I'd like to use 25Mhz instead of 100 when the screen is off.

I ran "stress -c 2 -vm 2" while using the phone on the console and turning on the screen, browsing the web and the system kept usable the whole time.

With this, the device cools down more quickly when the screen is off and improves battery time.

Signed-off-by: Martin Kepplinger martin.kepplinger@puri.sm

NOTE: I tested this on our "linux-next" kernels only for now. They are being built here: https://arm01.puri.sm/job/Kernel_builds/job/kernel_linux-next_imx8-linux-next-librem5/

Merge request reports