commit | 1d312bfa78c25e0e1d6ea25b2c027e2efdd5a418 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Fri Jun 16 19:43:58 2017 -0700 |
committer | Jack He <siyuanh@google.com> | Tue Jun 27 16:53:09 2017 -0700 |
tree | 0161526d9a0aefa33137da2db9bb4d8156d3a220 | |
parent | c49534cf097f75421e56d1b6a22112ef942165c2 [diff] |
Add APIs to get remote device's battery level (1/2) * Add BluetoothDevice.getBatteryLevel() API to retreive battery level information of remote device * Add BluetoothDevice.ACTION_BATTERY_LEVEL_CHANGED intent to notify user that remote device's battery level has changed Bug: 35874078 Test: make, pair with devices and use them Change-Id: I41051ee25383f5f3a1e505aef6f8c526385f58bd