[Webkit-unassigned] [Bug 62863] [Qt] Orientation sensor is always on, which has negative impact on battery life.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 24 11:05:37 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62863





--- Comment #12 from Fabrizio <fabrizio.machado at nokia.com>  2011-06-24 11:05:37 PST ---
Don't we need the internal API in QWebFrame even if this behavior is tied to suspend/resume?

Our browser is already suspending/resuming the web engine based on the state of the browser window (active/inactive).

So we will know the state of the web engine when we attempt to start/stop the sensor and thus in our browser code, we will call start/stop in the same event handler that suspends/resumes web engine on receipt of WindowActivated/deactivated event.

Is this what was meant by fixing suspend/resume?   

Or do we wish to stop/start the sensor within the webkit code that actually performs suspend/resume?

If the latter is the case, won't we face the same problem of forcing all clients of webkit (whether they want to or not) to start/stop the sensor when they perform suspend/resume?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list