commit | fa06fbafaac73932b642631167015b8b9c8261b8 | [log] [tgz] |
---|---|---|
author | Vincent Knecht <vincent.knecht@mailoo.org> | Mon Aug 29 19:28:58 2022 +0200 |
committer | Caleb Connolly <caleb.connolly@protonmail.com> | Fri Sep 02 15:07:48 2022 +0100 |
tree | 817a0a5841db1e2a5c4b4945470b7a238a6de551 | |
parent | 9f469259f7298b9a5187e6dc518f84ce38b0c67e [diff] |
health: detect status file path Un-hardcode the path to status file by walking /sys/class/power_supply directories and retaining the first status file found. Code based on SoMainline lights HAL. Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
This device repo aims to support booting AOSP on SDM845 devices supported by the mainline Linux kernel.
For more information, please check out the wiki.