Closed
Bug 446418
Opened 16 years ago
Closed 6 years ago
[meta] Investigate power management issues
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: dougt, Unassigned)
References
(Depends on 6 open bugs)
Details
(Keywords: helpwanted, meta, mobile)
It may be a good idea to suspend flash, animations, javascript, periodic network downloads, during idle time to conserve battery life.
Flags: wanted-fennec1.0?
Updated•16 years ago
|
Flags: wanted-fennec1.0? → blocking-fennec1.0+
Priority: -- → P2
Target Milestone: --- → Fennec A4
Reporter | ||
Comment 1•16 years ago
|
||
it isn't clear how best to implement power saving mode in fennec. any help or
input appreciated.
Status: NEW → ASSIGNED
Keywords: helpwanted
Comment 2•16 years ago
|
||
Can we use appShell->SuspendNative/ResumeNative for it? at least it should stop native event loop, javascript/downloads/animations...
Reporter | ||
Comment 3•16 years ago
|
||
I want to do as little as possible. When system-idle event is given to our application, does the system suspend us -- does it prevent us from running, or makes us run slower/ get less time ?
Comment 4•16 years ago
|
||
I don't think that system do anything special, I think it is just notification which handled (or not) by other applications..
Reporter | ||
Updated•16 years ago
|
Assignee: doug.turner → nobody
Comment 5•15 years ago
|
||
We should get rid of permanent UI timer callback see bug 508518
Depends on: 508518
Comment 6•15 years ago
|
||
Patch for suspending sqlite database flusher:
https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/pmt/DBFlush_systemIdle.diff
Patch for suspending permanent timer DeadConnection checker:
https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/pmt/http_prune_timer.diff
Patch for suspending expired history checker in idle state:
https://garage.maemo.org/svn/browser/mozilla/trunk/microb-engine/microb-engine/debian/patches/pmt/navHistoryExpireTimer.diff
Comment 7•15 years ago
|
||
I think we should care not only about "system-idle" state, but also about default state when window is visible, and simple https/https page rendered (no active page internal JS timers).
Also background DOM windows must not do any unnecessary activity, painting, image animations, also some Javascript suspension required, if possible without breaking JS pages.
Comment 8•15 years ago
|
||
This is a mass change. Every comment has "assigned-to-new" in it.
I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Comment 9•14 years ago
|
||
Is there plans on how to resolve fennec use-time issues? Two different approaches are suggested: suspending/throttling on process level(bug 568054) or suspending where needed. Probably both of these are needed, but how is are those going to be implemented? Is there going to be some "idle-state" when all activity of the browser is going to be suspended? Will there be different states for suspending animation, javascript, checkers and so on? On unix side there are notifications like: "system-idle", "system-active", "system-display-on", "system-display-dimmed-or-off". Should these be used for all the mobile platforms also, like Meego, and implement suspending of different parts according to those and maybe some other notifications also? Is this a correct bug to talk about this or is there already a better meta bug or should that be created?
Comment 10•14 years ago
|
||
I think that we first need to get a good picture of the OS situation - what the OSes provide in terms of application lifecycle, what is expected from applications in the various states of the lifecycle (active, minimized, closed, background, etc.).
For example, there are good docs for Android about this: http://developer.android.com/guide/topics/fundamentals.html#lcycles
We need something similar for Maemo/MeeGo, and can then start to plan how to tackle this topic.
Updated•13 years ago
|
Comment 11•11 years ago
|
||
Bug 978857 will introduce a module that will make it easier to write tests for these, FYI. As of now only FxOS has the ability to spoof the battery (in marionette)
Depends on: 1265769
Comment 12•6 years ago
|
||
Closing all opened bug in a graveyard component
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•