Closed
Bug 518802
Opened 15 years ago
Closed 13 years ago
nsNavHistory:: repeating history expire timer breaks power management
Categories
(Toolkit :: Places, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: romaxa, Unassigned)
References
Details
Attachments
(1 file)
6.79 KB,
patch
|
Details | Diff | Splinter Review |
Current nsNavHistory implementation use TYPE_REPEATING_SLACK timer which is waking up every 5 minutes. I think when system is in idle state, we should switch it to 1 day timer or disable timer at all.
Comment 1•15 years ago
|
||
This is only used when preferences change and we must catch up with new values for privacy reasons.
Comment 2•15 years ago
|
||
also i'm not sure that moving more stuff to daily idle is really good for mobile, is idle a common state for these devices? for example i usually navigate to a website, find information i need and close the browser. Do we know if idle is something that really happens on these kind of devices, or are users going to close the app as soon as they have completed their current search task? We have bunch of stuff in idle, and looking at my mobile usage i think all of that won't ever run for certain users, 5 or 10 minutes of idle could never happen there (leaving the phone/moiledev 10 minutes with the browser open without doing anything).
Comment 3•15 years ago
|
||
that said, we are going to rewrite expiration in the next weeks, so if you have suggestions and statistics about how mobile hits idle, and which strategies would e good on those devices, we are largely interested in that.
Reporter | ||
Comment 4•15 years ago
|
||
I don't have any statistics, I'm just proposing to suspend all repeating timers during system-idle-time.
Comment 5•15 years ago
|
||
yes, i'm saying that this repeating timer exists only when history prefs change, so this specific problem is a minor thing, won't hurt any common use.
Updated•15 years ago
|
Summary: nsNavHistory:: repeating history expire timer break power management → nsNavHistory:: repeating history expire timer breaks power management
Comment 6•13 years ago
|
||
Async expiration should have solved this.
You need to log in
before you can comment on or make changes to this bug.
Description
•