Open Bug 1730011 Opened 4 years ago Updated 4 years ago

Use `SetProcessInformation` and `SetThreadInformation` to control energy usage on Windows

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

People

(Reporter: nalexander, Unassigned)

References

(Blocks 1 open bug)

Details

Microsoft Windows is emphasizing new APIs for managing energy usage and battery life: see https://docs.microsoft.com/en-us/windows/win32/procthread/quality-of-service. This ticket tracks using these SetProcessInformation and SetThreadInformation APIs where appropriate to make Firefox more energy efficient.

I've filed this in XPCOM 'cuz it's not clear at what level these APIs should be used, and it's possible/likely that XPCOM's thread and process creation APIs will have to adapt.

You need to log in before you can comment on or make changes to this bug.