Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 304928fb authored by Mike Lockwood's avatar Mike Lockwood
Browse files

BatteryService: Remove hard coded power supply names.



Search all subdirectories of /sys/class/power_supply and match on
the power supply type instead.

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 56e7ba29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment