might give rtcwake a try
played with this a bit on my kindle touch (B011). I could not really get this to
work using echo to the wakealarm sysfs node, but found something that worked for me,
maybe it helps others:
- the B011 has two rtc devices, only rtc1 (the pmic_rtc) has the wakealarm
- the system has the rtcwake tool installed
this simple hack makes it sleep one minute and come back for me, even without other
things like manually disabling wifi or such:
rtcwake -d /dev/rtc1 -m no -s 60
echo "mem" > /sys/power/state
|