Closed Bug 1561126 Opened 5 years ago Closed 5 years ago

powerPreference 'default' => 'low-power' when on battery

Categories

(Core :: Graphics: CanvasWebGL, enhancement, P2)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1579984

People

(Reporter: jgilbert, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When users are on battery, and an app doesn't specify, probably best to give them low-power.

This is tricky because our hal::BatteryInformation API is really observer-based, and thus it seems hard to get Notify'd by the time we're receiving a getContext call.

Type: defect → enhancement
Attached patch 0001-wip.patch (deleted) — Splinter Review
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: