The ASU images don't let my phone sleep -- the GSM sends a timezone update
every few minutes and wakes it up.
The patch below adds timezone updates to the list of unsolicited messages that
are disabled when the phone suspends.
Note that I did not bother to re-enable timezone updates on wake; I suppose
that should be added as something may wish to use that information --- except
that it seems to be wrong. I'm 5 or 6 hours (depending on DST) behind UTC, but
the timezone update (which is supposed to be in 15-minute increments) says
"+CTZV: 10", which puts me somewhere in Europe I think. That could be my
network, I suppose, but I'm pretty sure I've seen this on both AT&T and
T-Mobile here. Anyone have any clues on that?
---
git/devices/ficgta01/src/plugins/phonevendors/ficgta01/vendor_ficgta01.cpp.orig
2008-06-10 21:28:52.000000000 -0500
+++ git/devices/ficgta01/src/plugins/phonevendors/ficgta01/vendor_ficgta01.cpp
2008-06-11 09:20:36.000000000 -0500
@@ -675,6 +675,9 @@
chat( "AT%CREG=0" );
chat( "AT%CGREG=0" );
+ // Turn off timezone notifications.
+ chat( "AT+CTZR=0" );
+
// Turn off cell broadcast location messages.
chat( "AT%CSQ=0", this, SLOT(sendSuspendDone()) );
}