# SetSustainedPerformanceMode(bool)

> Set sustained performance mode. When enabled, sustained performance mode is intended to provide a consistent level of performance for a prolonged amount of time.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Android](/engine/6000.6/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public static void SetSustainedPerformanceMode(bool enabled)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;

### Remarks

Internally, this method calls the [Android sustained performance API](https://developer.android.com/reference/android/view/Window#setSustainedPerformanceMode\(boolean\)). It is not reset when the window loses focus.
