tree: bd54cc489d87c8edac0604e85bfd760f85488a55 [path history] [tgz]
  1. meta/
  2. src/
  3. BUILD.gn
  4. README.md
src/connectivity/bluetooth/lib/battery-client/README.md

Bluetooth Library: Battery Client

A library for interacting with the Fuchsia Battery Manager.

Build

Make sure to include the client.shard.cml in your component's manifest. This will route the fuchsia.power.battery.BatteryManager capability to your component.

Testing

Add the following to your Fuchsia set configuration to include the library unit tests:

--with //src/connectivity/bluetooth/library/battery-client:tests

To run the tests:

fx test battery-client-tests