Intensive throttling of Javascript timer wake ups

In a Window whose top Window has been hidden for 5 minutes, timers can run: - aligned on 1-minute intervals, or, - if the Window is same-origin with the top Window, > 1 minute after the last timer has run in any Window in the tree that is same-origin with the top Window. In a page that has been backgrounded for less than 5 minutes, keep the existing policy of aligning wake ups from timers on 1-second intervals.

Local experiments demonstrate that this intervention extends battery life.

Documentation

Specification

Established standard

Status in Chromium

Blink>Scheduler


Behind a flag (tracking bug) in:

  • Chrome for desktop release 86

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • Shipped
  • No signals

Owner

Intent to Prototype url

Intent to Prototype thread

Last updated on 2020-07-07