Skip to content

adapters: wire up android power hal to perf booster

Use linux-hidl-hardware-power to communicate with the android power hal on recent devices.

If loaded, prefer it over the ubuntu hardware booster.

Depends on:

The behavior of certain features can be controlled via deviceinfo cofigurations.

Usage of the power HAL can be force disabled:

  PowerHalDisabled: true

Calls to setInteractive is currently opt-in per device:

  PowerHalEnableInteractive: true

The reasoning behind this opt-in is that calls to setInteractive can differ per device.

Some enable low power configs while other devices also setup the device for AOD (Always-On-Display), which is not supported yet.

Edited by Alexander Martinz

Merge request reports