Linux Shutdown function timer
#1
I searched the forum thinking there would be a way to increase the value of the shutdown timer beyond 120, either I missed it or it's not there.

Just to be clear what I want to change, Settings - System - Power Savings - Shutdown function timer
The timer has a maximum value if 120 minutes, I would like to increase it to 480 minutes.

Can someone point me in the right direction?
Reply
#2
/usr/share/kodi/system/settings/settings.xml:
Code:
<setting id="powermanagement.shutdowntime" type="integer" label="357" help="36389">
          <level>2</level>
          <default>0</default>
          <constraints>
            <minimum label="351">0</minimum>
            <step>5</step>
            <maximum>120</maximum>
          </constraints>
          <control type="spinner" format="string">
            <formatlabel>14044</formatlabel>
          </control>
        </setting>

Do not edit the file directly, better copy the this (including its category tag) to advancedsettings.xml
Reply
#3
Thanks wsnipex, that works.
Reply
#4
I cannot figure this out for the life of me. I've tried all variations of this in advancedsettings (with/without <category>/<group>/<settings>). I'm on Libreelec 8.2.5. Advancedsettings is working well otherwise as MySQL is working.
Code:
<category id="powermanagement" label="14095" help="36387">
      <group id="1" label="14255">
        <setting id="powermanagement.shutdowntime" type="integer" label="357" help="36389">
          <level>2</level>
          <default>0</default>
          <constraints>
            <minimum label="351">0</minimum>
            <step>5</step>
            <maximum>300</maximum>
          </constraints>
          <control type="spinner" format="string">
            <formatlabel>14044</formatlabel>
          </control>
        </setting>
      </group>
    </category>
Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Shutdown function timer0