[GTA02] disable resume on headphone jack removal?

Timo Juhani Lindfors timo.lindfors at iki.fi
Sat Apr 3 12:21:07 CEST 2010

Paul Wise <pabs3 at bonedaddy.net> writes:
> My FreeRunner resumes from suspend-to-memory if I remove the headphones
> from the headphone socket. Does anyone know if that is configurable or
> if the hardware just doesn't allow it to be changed?

Just check the resume reason and put the phone back to suspend if the
reason is headphone. Having the phone unsuspend for 1 second can't be
that bad for energy consumption.

More information about the community mailing list