Performance can fluctuate dramatically for high-performance long-running apps, either because of the other apps running in the background or the CPU throttling due to temperature limits. Android includes programmatic interfaces so that when the device is capable, the top foreground application can request that the system optimize the allocation of the resources to address such fluctuations.
[C-0-1] MUST report the support of Sustained Performance Mode accurately through the
PowerManager.isSustainedPerformanceModeSupported() API method.
SHOULD support Sustained Performance Mode.
If device implementations report support of Sustained Performance Mode, they:
Window.setSustainedPerformanceMode() API and other related APIs.
If device implementations include two or more CPU cores, they:
If device implementations support reserving one exclusive core for the top foreground application, they:
Process.getExclusiveCores() API method the ID numbers of the exclusive cores that can be reserved by the top foreground application.
If device implementations do not support an exclusive core, they:
Process.getExclusiveCores() API method.