adapters/performance_booster: add more granularity in the modes, binder reliability & configurability
This MR reimplements some part of !81 (closed) so that it integrates with the rest of Repowerd better. Then the rest is integrated in.
- When turns on display or with user activity, enable interactive mode for 3 seconds, then go to the sustained mode. On Android 8+, this allows smooth experience scrolling through apps while saves some power when e.g. long video playback session.
- Power HALs might crash, just like any other HAL on Android/Halium. Just attempt another reconnection the next time a boost is enqueued.
- Add a default interface for AIDL-capable devices like the FP4
- Attempt to load PowerHal deviceinfo properties for configuration purposes
Co-Authored-By: Alfred Neumayer (@fredldotme)