# Underclocking Help

**URL:** <https://forum.clockworkpi.com/t/underclocking-help/805>\
**Category:** GameShell\
**Tags:** tinkering\
**Created:** [July 26, 2018, 7:18am UTC](https://forum.clockworkpi.com/t/underclocking-help/805 "2018-07-26T07:18:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![QuantumKraken](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/quantumkraken/32/11986_2.png) [@QuantumKraken](https://forum.clockworkpi.com/u/QuantumKraken)\
**Post date:** [July 26, 2018, 7:18am UTC](https://forum.clockworkpi.com/t/underclocking-help/805/1 "2018-07-26T07:18:53Z")

</div>

I’ve been tinkering with underclocking the system to increase the battery life until I find a suitable replacement battery.

Given that this doesn’t have (or apparently have) an overclocking tool like the RPI, I decided to go the classic linux route and edit the files at /sys/devices/system/cpu/cpu0/cpufreq, specifically the file which specifies which govenor to use (currently “Performance” which locks the clockspeed at max if I remember).

The problem is I can’t edit them. Sudo, Sudo su -, nano, vim- nothing works. How can I change these files? Or is there a better way to go about this?

---

<div class="post-metadata">

**Author:** ![Godzil](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/godzil/32/60_2.png) [@Godzil](https://forum.clockworkpi.com/u/Godzil)\
**Post date:** [July 26, 2018, 7:36am UTC](https://forum.clockworkpi.com/t/underclocking-help/805/2 "2018-07-26T07:36:06Z")

</div>

Changing is

echo “value” | sudo tee /sys/…/governors

If it does not change that mean that there is no other governors set in the kernel. And that also may mean that the kernel can’t control the frequency of the CPU.

---

<div class="post-metadata">

**Author:** ![QuantumKraken](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/quantumkraken/32/11986_2.png) [@QuantumKraken](https://forum.clockworkpi.com/u/QuantumKraken)\
**Post date:** [July 26, 2018, 7:46am UTC](https://forum.clockworkpi.com/t/underclocking-help/805/3 "2018-07-26T07:46:24Z")

</div>

I think I did that command and it said permission denied.  
I’ll see if I can use that on max frequency file (my pc is off, I’ll find file names tomorrow) and set it to one of the lower frequencies in the frequency steps file.

I found the folder by looking at the “About” script in settings. It refers to whatever the max frequency file is called. That gives me some hope that it can be changed

---

<div class="post-metadata">

**Author:** ![Godzil](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/godzil/32/60_2.png) [@Godzil](https://forum.clockworkpi.com/u/Godzil)\
**Post date:** [July 26, 2018, 10:23am UTC](https://forum.clockworkpi.com/t/underclocking-help/805/4 "2018-07-26T10:23:37Z")

</div>

If the kernel was build without support for dynamic frequencies you will not be able, the file will still be there anyway.

performance governor override and force the frequency at the maximum, if you want to be able to change you need to set the governor to “user”

You have to look at “scaling\_available\_governors” to see which one are available.

But yeah “permission denied” is to be expected if you put a value which is not valid.

Will be able to help more if I get mine one day…

---

<div class="post-metadata">

**Author:** ![QuantumKraken](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/quantumkraken/32/11986_2.png) [@QuantumKraken](https://forum.clockworkpi.com/u/QuantumKraken)\
**Post date:** [July 26, 2018, 7:04pm UTC](https://forum.clockworkpi.com/t/underclocking-help/805/5 "2018-07-26T19:04:28Z")

</div>

I just checked the scaling\_available\_governor file and you are correct. The only available governor is “performance”.

As you said, if we had “Userspace” we could edit the “scaling\_setspeed” file and it would be easy. But nooooo…

We can _technically_ edit the scaling\_max/min\_freq files, but they reset on reboot.

I guess this is another thing for the next kernel…  
_sigh_
