Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to control cpu throttling on android

I have heavy duty real time image processing app on android and just got the Samsung Galaxy S3 (9300).

What I observe is that the device is doing heavy throttling on the cpu speed.

Usually my app starts super fast with maximum framerate of a about 30, which then drops down to 9 fps(which is slower than my old Galaxy S 9000) after a couple of minutes. I did some evaluation and when printing out /

sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

you can see the cpu speed going to from 1.4GHz to 800Mhz.

This behavior is deadly for any game running on android so I was wondering how game developers control this behavior.

like image 518
tmanthey Avatar asked Dec 16 '25 22:12

tmanthey


1 Answers

It turns out to be a thermal problem. As the app is running the android battery temperature is rising. At 48 degrees android os has throttled down the cpu from 1.4 Ghz to 0.8 Ghz.

like image 76
tmanthey Avatar answered Dec 19 '25 14:12

tmanthey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!