suspend to memory "howto"
Found an easy way to suspend to memory. It's sudo sh -c "echo mem > /sys/power/state", to add in a queenbee script widget. The phone suspends to memory immediately and can wake up instantly on power or lock or camera shutter or keyboard slide (not my choice but hey). Yeah, that means you have to use sleep in terminal mode so you have time to close the keyboard, otherwise it wakes up when you do.
There are still a few problems. One, unless it's already in offline mode, there is a good chance the phone will wake up quickly due to external (radio, wifi) events because only the CPU is asleep not the peripherals. So it's a good idea to go offline first to shut those off. Two, the phone wakes up with messed up clock (clock stops when it goes to sleep) and even automatic update doesn't fix it.
|