[GTA02] disable resume on headphone jack removal?

Timo Juhani Lindfors timo.lindfors at iki.fi
Sat Apr 3 13:06:22 CEST 2010

"Michael 'Mickey' Lauer" <mickey at vanille-media.de> writes:
>> 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.
> While that is true, in my opinion the proper way to do it is to expose
> the wakeup reasons we're interested in to userland.

Sure but for example to differentiate between incoming GPRS traffic
and incoming call as a wakeup reason you need to do it in userland

More information about the community mailing list