Quote:
Originally Posted by ramast
i don't have PW2 I have PW1.
and before running this script there was always a big difference between turning kindle off with airplane mode on or off.
In one occasion - which made me write this software - my kindle's battery was critically low just because I forgot to turn off wireless before closing it two weeks earlier.
Since kindle PW1 also has readyToSuspend, I suppose it goes to standby mode instead of full sleep.
Apparently this is not the case for kindle PW2
|
I very much doubt it. Much rather some other piece of software is deferring the suspend. If you keep looging everything, maybe this becomes more obvious.
Code:
#!/bin/sh
while [ 1 -eq 1 ]; do
echo "waiting for event ...
lipc-wait-event com.lab126.powerd * >> /tmp/powerd.log
echo at `date`. >> /tmp/powerd.log
done
Keep this running in the background (I did not test this script, so maybe try it manually once), disconnect the USB cable, power-off the PW1 and wait 5 minutes. Then connect again and check the log file.