View Single Post
Posts: 67 | Thanked: 13 times | Joined on Feb 2008 @ U.S.A.
#1
If you run the following command on the Maemo CLI, it is supposed to power off, and wake up 3.5 minutes later (give or take .5 min):
Code:
let AMIN=$(/usr/sbin/chroot /mnt/initfs /usr/bin/retutime --get-time \
| sed -e 's@[^:]*:\([^:]*\):.*@\1@')+4 && \
ATIME="$(/usr/sbin/chroot /mnt/initfs /usr/bin/retutime --get-time \
| sed -e 's@\([^:]*:\).*@\1@')$AMIN:00" && \
/usr/sbin/chroot /mnt/initfs /usr/bin/retutime --set-alarm $ATIME && \
poweroff
Please run that when the minutes on the system time is in the range 0-55. If it does not wake up, go here and confirm my bug report:

https://bugs.maemo.org/show_bug.cgi?id=5117

And while your there, vote for the bug if you care about event scheduling and alarms.

Thanks!
 

The Following User Says Thank You to jgombos For This Useful Post: