Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Auto lock timing?

  1. #1
    iPhone? More like MyPhone slidingmike's Avatar
    Join Date
    Jun 2009
    Location
    That one place
    Posts
    143
    Thanks
    55
    Thanked 8 Times in 8 Posts

    Default Auto lock timing?
    I was actually interested In lowering the auto lock feature. I plan on researching this in the next couple days and was going to post my progress here but I'd love to save sometime and ask has anyone been able to accomplish this?

    My guess is it's in a plist perhaps and just a value and edit the string to match in preferences. Any ideas?

  2. #2
    Super Penguin Mod i.Annie's Avatar
    Join Date
    Jun 2009
    Location
    SW Ohio
    Posts
    16,907
    Thanks
    137
    Thanked 2,202 Times in 1,924 Posts

    Im not sure i understand... You want it to autolock within less than 1 minute?

    Ok got it.

    In iFile or SSH, from root follow this path:

    Applications>preferences.app>general.plist

    Halfway down you'll see this:

    <string>setScreenLock:specifier:</string>
    <key>validTitles</key>
    <array>
    <string>1_MINUTES</string>
    <string>2_MINUTES</string>
    <string>3_MINUTES</string>
    <string>4_MINUTES</string>
    <string>5_MINUTES</string>
    <string>NEVER</string>
    </array>
    <key>validValues</key>
    <array>
    <integer>60</integer>
    <integer>120</integer>
    <integer>180</integer>
    <integer>240</integer>
    <integer>300</integer>
    <integer>-1</integer>
    </array>

    Youll have to adjust these settings. This is as far as I take you. I dont really wanna touch my plists lol so the rest is up to you.

    Nvm I figured it out haha. Add string for (for example) 30 seconds, add an integer in the order you added the string above for 30 as well. If for example it is 10 minutes, add string for that and integer of 600.
    Last edited by i.Annie; 08-23-2010 at 12:02 AM. Reason: Automerged Doublepost

  3. #3
    iPhone? More like MyPhone slidingmike's Avatar
    Join Date
    Jun 2009
    Location
    That one place
    Posts
    143
    Thanks
    55
    Thanked 8 Times in 8 Posts

    Awesome! Thanks for your help. I'll try it a soon as I get home. I figure it had to be in a plist. Plus I drain my battery a lot so I'm hoping this will help somewhat more.

    Well. I spoke too soon. It seems to be the place and I added the lines...

    <string>30_SECONDS</string>
    <integer>30</integer>

    To each spot above the minute mark and respringed. However the settings displays 0_MINUTE

    And the auto lock takes one minute. Any idea?
    Last edited by slidingmike; 08-23-2010 at 11:43 AM. Reason: Automerged Doublepost

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •