When the kindle goes to sleep, it does a bit more than "echo mem > /sys/power/state". Perhaps one of the things it does is resetting the alarm.
Try you first script with 900 instead of 300, and without the echo mem line, and see if it wakes up after going to sleep.
|