Package: android.hardware.power@1.1

IPower

interface IPower extends @1.0::IPower

Interface to collect subsystem level sleep information

Methods

getSubsystemLowPowerStats

getSubsystemLowPowerStats ()
generates (vec<PowerStateSubsystem> subsystems, Status retval)

Subsystem-level sleep state stats:Report cumulative info on the statistics on subsystem-level sleep states since boot.

Details
Generates
subsystems
supported on this device and their sleep states
retval
SUCCESS on success or FILESYSTEM_ERROR on filesystem nodes access error.

powerHintAsync

oneway powerHintAsync (PowerHint hint, int32_t data)

powerHintAsync() is called to pass hints on power requirements which may result in adjustment of power/performance parameters of the cpufreq governor and other controls.

A particular platform may choose to ignore any hint.

Details
RPC mode
oneway
Parameters
hint
PowerHint which is passed
data
contains additional information about the hint and is described along with the comments for each of the hints.