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

Commit 07fcaf47 authored by Jack He's avatar Jack He
Browse files

Support battery level reporting via Plantronics XEVENT (2/2)

* Add parser for Plantronics AT+XEVENT=BATTERY* AT command
* Record the received battery level information through DeviceProperties
* Add unit test for getBatteryLevelFromXEventVsc() and intent handler

Bug: 35874078
Test: make, test with supporting headsets, unit tests
runtest -c com.android.bluetooth.btservice.RemoteDevicesTest bluetooth
Change-Id: I2972c525a43ff0dc415b63fcbf0f08e7bc0b21a8
Merged-In: I2972c525a43ff0dc415b63fcbf0f08e7bc0b21a8

(cherry picked from commit 8536d97c)
parent 15cd8b09
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