From f48a541cb08b43908ba90847773833e7630f4edd Mon Sep 17 00:00:00 2001 From: toutes Date: Tue, 20 Jul 2021 16:08:21 +0800 Subject: [PATCH] add batterymge service Signed-off-by: toutes --- components/powermgr.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/components/powermgr.json b/components/powermgr.json index 173fde7..558da40 100755 --- a/components/powermgr.json +++ b/components/powermgr.json @@ -34,6 +34,41 @@ "bounds_checking_function" ] } + }, + { + "component": "battery_lite", + "optional": "true", + "dirs": [ + "base/powermgr/battery_lite" + ], + "targets": [ + "//base/powermgr/battery_lite:batterymgr_lite" + ], + "rom": "22KB", + "ram": "~10KB", + "output": [], + "adapted_kernel": [ + "liteos_a", + "liteos_m", + "linux" + ], + "features": [], + "deps": { + "components": [ + "utils_base", + "samgr_lite", + "peripheral_input", + "ui", + "ipc_lite", + "aafwk_lite", + "appexecfwk_lite", + "hilog", + "wms" + ], + "third_party": [ + "bounds_checking_function" + ] + } } ] } -- GitLab