Closed
Bug 596044
Opened 14 years ago
Closed 1 year ago
Let IdleService avoid polling for idle time
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1768920
Tracking | Status | |
---|---|---|
fennec | - | --- |
People
(Reporter: azakai, Unassigned)
Details
Polling runs a constant 5-second timer, which is wasteful (both bad for battery life on mobile, and bad for the cycle collector in general). We can let idleservice implementations have callbacks for activity, which if present would remove the need for polling the idle time manually. See also discussion in bug 564118.
Reporter | ||
Comment 1•14 years ago
|
||
Also, when removing the need for polling, we should fix the bug mentioned in bug 564118 where polling and non-polling widget systems behave differently if ResetIdleTimeout is not called.
Updated•14 years ago
|
tracking-fennec: --- → ?
Updated•14 years ago
|
tracking-fennec: ? → ---
Updated•14 years ago
|
tracking-fennec: --- → ?
Updated•14 years ago
|
Assignee: nobody → azakai
tracking-fennec: ? → 2.0+
Updated•14 years ago
|
tracking-fennec: 2.0+ → 2.0-
Reporter | ||
Comment 2•14 years ago
|
||
Fennec 2.0 shouldn't block on this, this should be done afterwards.
tracking-fennec: 2.0- → ---
Comment 3•14 years ago
|
||
(In reply to comment #2) > Fennec 2.0 shouldn't block on this, this should be done afterwards. Er, wasn't it marked as blocking-?
Reporter | ||
Comment 4•14 years ago
|
||
It was blocking-fennec=2.0-, I thought that meant it was desired for 2.0, but not mandatory? I was mistaken, sorry about that...
Updated•14 years ago
|
tracking-fennec: --- → 2.0-
Reporter | ||
Comment 5•14 years ago
|
||
(I won't be able to get around to this bug for a while.)
Assignee: azakai → nobody
Updated•13 years ago
|
Whiteboard: [fennec-4.1?]
Reporter | ||
Comment 7•13 years ago
|
||
Not really I guess, Android doesn't allow polling anyhow and we disabled it on Maemo.
Comment 8•13 years ago
|
||
(In reply to comment #7) > Not really I guess, Android doesn't allow polling anyhow and we disabled it on > Maemo. You maybe don't need this for mobile handheld devices, but this would certainly help for laptops.
Updated•13 years ago
|
tracking-fennec: ? → -
Comment 9•12 years ago
|
||
Modifying this to put it on our radar for investigation.
OS: All → Windows 8 Metro
Assignee | ||
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•