http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=79
------- Additional Comments From [EMAIL PROTECTED] 2008-04-13 08:17 ------- Created an attachment (id=588) --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=588&action=view) Preserve the GPS power state over suspend/resume - temporary patch This is a hack in the form of a patch - it will be obsoleted and replaced after discussion. On suspend, the GPS is powered off -- this is reasonable. On resume, the GPS is always powered on, even if it was off at time of suspend. This patch saves the state so that the GPS is only powered up if it was powered up at time of suspend. Comments are required on the patch technique (yes, the variable names need changing too). Some feedback on whether we really even need to save state would be helpful -- does it make sense to simply leave the GPS off after a resume, and let something like apmd in user-space power it back up if necessary? Or is the current behavior of powering it up unconditionally the right solution? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
