Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

IDevicePerformanceControl.EnergyEfficiencyMode

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool EnergyEfficiencyMode;

Description

The current energy-efficiency mode state. Setting this to true asks the subsystem to bias device-level configurations toward energy efficiency over peak performance (e.g. Android's power-efficiency hint on the ADPF hint session). If Feature.EnergyEfficiencyMode is not supported (see AdaptivePerformanceSubsystem.Capabilities), the set is a no-op and the stored value does not change. The getter reflects the last value that was successfully applied to the subsystem, not the most recent request — so a failed set leaves the getter reporting the previous state.