blob: 99aa96aada264cd61d18c1d4ba1c9de0dfcfad0e [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
children: [
{
name: "battery_manager",
url: "fuchsia-pkg://fuchsia.com/battery-manager#meta/battery_manager.cm",
},
],
use: [
{
protocol: [
"fuchsia.power.battery.BatteryManager",
"fuchsia.power.battery.test.BatterySimulator",
],
from: "#battery_manager",
},
],
offer: [
{
protocol: [ "fuchsia.logger.LogSink" ],
from: "parent",
to: "#battery_manager",
},
{
directory: "dev",
from: "parent",
as: "dev-power",
to: "#battery_manager",
subdir: "class/power",
},
],
}