Is there any Java API for that? How can I read this information.
If you're wondering how to check your clock speed, click the Start menu (or click the Windows* key) and type “System Information.” Your CPU's model name and clock speed will be listed under “Processor”.
Today's fastest mobile processors have clock speeds ranging from 1.8 GHz to 2.2 GHz, though anything above 1 GHz should be acceptable.
To have frequency on Android, just read these special files in /sys directory:
#cat "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" #cat "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq" #cat "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq"
You will have current, min and max Frequency allowed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With