View Single Post
Old 08-24-2013, 04:15 PM   #11
zxczxc
Addict
zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.zxczxc knows how many angels can dance on the head of a pin.
 
Posts: 229
Karma: 136002
Join Date: Apr 2013
Device: PW
Quote:
Originally Posted by NiLuJe View Post
@zxczxc: IIRC, there's a lipc call to reset the timeout. Never tried it myself, and you will still need to periodically launch this command, so that's not terribly awesome, but it might work.

EDIT:
Code:
lipc-set-prop com.lab126.powerd -i touchScreenSaverTimeout 1
Works, the default tier 1 timeout is 600s.

May also want to investigate what the hell defer_suspe,d & suspend_grace do, but I suspect, as the name implies, that they're mostly for the tier 2 timeout (suspend).
ah, i just found out about lipc-probe -a from reading some thread about 20 minutes ago, and noticed touchScreenSaverTimeout, and have been testing it just now
although, how did you find to use -i with it? and how did you find that 1 is 10 minutes/600 seconds? or, how can you see there is more than one 'tier'?

i just see this 'w Int touchScreenSaverTimeout', i would like to learn more

when does my kindle do a tier 2 timeout/suspend?
thank you very very much, and of course, everyone else for their help.

-edit. it works perfectly, i timed my kindle to screensaver, it took 10 minutes, then i tried it again, after 9 minutes i sent the command, and one minute later it did not screensave, but it did 10 minutes later. perfect
i will simply send this along with each page turn command i send very ugly... but does exactly what i want
thanks!

Last edited by zxczxc; 08-24-2013 at 05:24 PM.
zxczxc is offline   Reply With Quote