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

Skip to content
Commit 43ca2aeb authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

Connect battery service only when it's available

As we tried to connect to the battery service
whenever a BLE device is connected, BatteryService
logs errors when a BLE device not supporting BAS
is connected.
This CL checks the availability first to prevent
logging errors

Tag: #feature
Bug: 235566393
Test: manually confirmed BAS works and no error for
devices not having BAS.

Change-Id: I87698e3838dce63e05fb69c6d2624f4219edb149
parent d2da3e10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment