Patch webOS Keep Phone Awake While in Remote Session

Introduction
This modification is really simple but effective. if your using the SSH shell your phone screen turns off and kills the session since you can only change from 1 to 3 minutes. this modification allows you to add as many values as you desire. I included the changes to add "5 Minutes" and "Never" but more can be done by following the same template.

The Change
Look for the file securityconfig-assistant.js in /usr/share/palm/application/com.palm.app.screenlock/app/controllers and open it with the editor your most comfortable with. the line to look for is as follows.

Note: On newer versions (WebOS 1.0.3), this is in /usr/palm/applications/com.palm.app.screenlock/app/controllers

//Available Timer Values. availableTimers: [{label: $L('30 seconds'), value:30},{label: $L('1 minute'), value:60},{label: $L('2 minutes'), value:120},{label: $L('3 minutes'), value:180}],

Change to:

//Available Timer Values. availableTimers: [{label: $L('30 seconds'), value:30},{label: $L('1 minute'), value:60},{label: $L('2 minutes'), value:120},{label: $L('3 minutes'), value:180},{label: $L('5 minutes'), value:300},{label: $L('Never'), value:10800}],

NOTE: The time is listed in their under seconds and "Never" is actually 3 hours as not to kill battery life should you forget you set it to never and left your screen on as i've done a few times myself. you can set this value or add more values very easily and the listbox will allow scrolling.

Acknowledgements
Thanks to BinaryTechZone for the modification.