Skip to main content
Version: 20 Mar 2024

MLPowerManagerPowerStateSettings

Module: Power Manager

A structure to encapsulate settings used by the Power Manager when requesting the power state to be changed. More...

#include <ml_power_manager.h>

Public Attributes

TypeName
uint32_tversion
MLPowerManagerPowerStatepower_state

Detailed Description

struct MLPowerManagerPowerStateSettings;

A structure to encapsulate settings used by the Power Manager when requesting the power state to be changed.

This structure must be initialized by calling MLPowerManagerPowerStateSettingsInit before use.

API Level:

  • 27

Public Attributes Documentation

version

uint32_t version;

Version of this structure.


power_state

MLPowerManagerPowerState power_state;
TypeDescription
MLPowerManagerPowerStatePower states. Query MLPowerManagerGetAvailablePowerStates() to determine which power state is available for each component.

New power state to request.