加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
batterystats.yaml 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
zhaoruiyuan 提交于 2022-02-07 14:39 . update: js.ts
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: POWERMGR
POWER_RUNNINGLOCK:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: runninglock state}
PID: {type: INT32, desc: application pid}
UID: {type: INT32, desc: application uid}
STATE: {type: INT32, desc: runninglock state}
TYPE: {type: INT32, desc: runninglock type}
NAME: {type: STRING, desc: runninglock name}
POWER_SCREEN:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: screen state}
STATE: {type: INT32, desc: screen state}
BRIGHTNESS: {type: INT32, desc: brightness level}
POWER_BATTERY:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: battery info}
BATTERY_LEVEL: {type: INT32, desc: battery level}
CURRENT_NOW: {type: INT32, desc: battery current}
POWER_TEMPERATURE:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: device temperature}
NAME: {type: STRING, desc: device temperature level}
TEMPERATURE: {type: INT32, desc: device temperature level}
POWER_WORkSCHEDULER:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: ide timer message}
PID: {type: INT32, desc: application pid}
UID: {type: INT32, desc: application uid}
TYPE: {type: INT32, desc: workscheduler message}
INTERVAL: {type: INT32, desc: workscheduler interval}
STATE: {type: INT32, desc: workscheduler state}
POWER_PHONE:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: ide timer message}
STATE: {type: INT32, desc: phone call state}
POWER_FLASHLIGHT:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: ide timer message}
PID: {type: INT32, desc: application pid}
UID: {type: INT32, desc: application uid}
STATE: {type: INT32, desc: phone call state}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化