Der Kindle 4 WiFi hat vier verschiedene Betriebszustände “Active”, “Screen Saver”, “Ready to suspend”, and “Sleep”. Ich hatte meinen Kindle 4 gejailbreaked und wollte ihn vom Schlafen abhalten, da ansonsten SSH ausgeschalten wird.

Das ganze läuft wie folgt ab:

  • Active: 10 Minuten
  • Screen Saver: 1 Minute
  • Ready to suspend: 5 Sekunden
  • Sleep

Vom Schlafen kann man den Kinde jedoch nur im Modus “Ready to suspend” abhalten.

Ein User hat hier dokumentiert, wie man das dann erreicht:

[root@kindle root]# /usr/bin/powerd_test -s; lipc-set-prop com.lab126.powerd deferSuspend 1000 ^[[APowerd state: Screen Saver Remaining time in this state: 0.124960 defer_suspend:0 suspend_grace:0 prevent_screen_saver:0 drive_mode:unknown Battery Level: 88% Last batt event at: 88% Charging: No batt_full=0 Battery logging: On

com.lab126.powerd failed to set value for property deferSuspend (0x8 lipcErrNoSuchProperty) [root@kindle root]# /usr/bin/powerd_test -s; lipc-set-prop com.lab126.powerd deferSuspend 1000 Powerd state: Ready to suspend Remaining time in this state: 4.070775 defer_suspend:0 suspend_grace:0 prevent_screen_saver:0 drive_mode:unknown Battery Level: 88% Last batt event at: 88% Charging: No batt_full=0 Battery logging: On

[root@kindle root]# /usr/bin/powerd_test -s; lipc-set-prop com.lab126.powerd deferSuspend 1000 Powerd state: Ready to suspend Remaining time in this state: 999.684285 defer_suspend:1 suspend_grace:0 prevent_screen_saver:0 drive_mode:unknown Battery Level: 88% Last batt event at: 88% Charging: No batt_full=0 Battery logging: On

[root@kindle root]# /usr/bin/powerd_test -s; lipc-set-prop com.lab126.powerd deferSuspend 3000000 Powerd state: Ready to suspend Remaining time in this state: 995.529458 defer_suspend:1 suspend_grace:0 prevent_screen_saver:0 drive_mode:unknown Battery Level: 88% Last batt event at: 88% Charging: No batt_full=0 Battery logging: On

[root@kindle root]# /usr/bin/powerd_test -s; lipc-set-prop com.lab126.powerd def erSuspend 3000000 Powerd state: Ready to suspend Remaining time in this state: 2999997.991570 defer_suspend:1 suspend_grace:0 prevent_screen_saver:0 drive_mode:unknown Battery Level: 88% Last batt event at: 88% Charging: No batt_full=0 Battery logging: On

[root@kindle root]#