mozilla-b2g/gaia — pull request #6035 by mnoorenberghe (2012-10-27 09:42:22+00:00)
Title: Bug 806048 - Don't reset the lock timeout every time the screen turns off

I can try writing a test if this patch is acceptable.