title: How to find default settings of the ondemand CPUFreq governor parameters in SAMSUNG S4?
body: <p>I would like to know the default settings of the parameters of ondemand CPUFreq governor that SAMSUNG has choosen for my SAMSUNG S4. I have not flashed my phone with any custom kernel. I have been reading about dynamic frequency scaling support in Linux Kernel and found out that CPUFreq subsystem implements this functionality with the help of the governors.</p>
  <p>I found the governor for the Core 0 of my device as</p>
  <blockquote>
  <p>:~$ adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor</p>
  <p>ondemand</p>
  </blockquote>
  <p>then I started learning about ondemand governor. I found this <a href="https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt" rel="nofollow noreferrer">https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt</a> kernel documentation, which states that following are the parameters for ondemand governor.</p>
  <ul>
  <li>sampling_rate</li>
  <li>sampling_rate_min</li>
  <li>up_threshold</li>
  <li>ignore_nice_load</li>
  <li>sampling_down_factor</li>
  <li>powersave_bias</li>
  </ul>
  <p>next, I was trying to figureout where/how can I acess these parameters, I read here</p>
  <p><a href="http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaai.cpufreq%2FUnderThecpufreq_base_dir.htm" rel="nofollow noreferrer">http://pic.dhe.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaai.cpufreq%2FUnderThecpufreq_base_dir.htm</a></p>
  <p>and some other places as well that these parameters are found in <strong>/sys/devices/system/cpu/cpu?/cpufreq/ondemand</strong> directory.</p>
  <p>Now, In my case for SAMSUNG S4, I can not see any directory named as <strong>ondemand</strong> inside <strong>/sys/devices/system/cpu/cpu0/cpufreq</strong> . I tried a rooted SAMSUNG S3 of a friend aswell, and I could not see the directory in that aswell.</p>
  <p>My intention is to keep the default seetings/not change the kernel and just to get to know what are the default settings of the CPUFreq govenor I purchased the phone with ?</p>