Skip to content

DeviceConstraintsService

Service to inspect host device battery, power, and thermal constraints.

optional getThermalState(): Promise<ThermalState>

Retrieves the current thermal state of the device, if supported.

Promise<ThermalState>


optional isLowPowerModeEnabled(): Promise<boolean>

Checks if the host device has low power mode enabled, if supported.

Promise<boolean>