mirror of
https://gitee.com/openharmony/powermgr_power_manager
synced 2024-11-23 15:10:55 +00:00
4209b8a89b
Signed-off-by: yanxuejun <yanxuejun@h-partners.com>
61 lines
2.5 KiB
YAML
61 lines
2.5 KiB
YAML
# Copyright (c) 2022-2023 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: POWER
|
|
|
|
RUNNINGLOCK:
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: runninglock information}
|
|
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}
|
|
LOG_LEVEL: {type: INT32, desc: runninglock log level}
|
|
TAG: {type: STRING, desc: runninglock tag}
|
|
MESSAGE: {type: STRING, desc: runninglock message}
|
|
BUNDLENAME: {type: STRING, desc: bundle name}
|
|
|
|
SCREEN:
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: screen state}
|
|
STATE: {type: INT32, desc: screen state}
|
|
BRIGHTNESS: {type: INT32, desc: brightness level}
|
|
|
|
STATE:
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: power state}
|
|
STATE: {type: INT32, desc: power state}
|
|
|
|
SCREEN_ON_TIMEOUT:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: timeout screen on information}
|
|
PID: {type: INT32, desc: session pid}
|
|
UID: {type: INT32, desc: session uid}
|
|
PACKAGE_NAME: {type: STRING, desc: call package name}
|
|
PROCESS_NAME: {type: STRING, desc: call process name}
|
|
MSG: {type: STRING, desc: screen on timeout message}
|
|
REASON: {type: STRING, desc: screen on reason}
|
|
|
|
SCREEN_OFF_TIMEOUT:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: timeout screen off information}
|
|
PID: {type: INT32, desc: session pid}
|
|
UID: {type: INT32, desc: session uid}
|
|
PACKAGE_NAME: {type: STRING, desc: call package name}
|
|
PROCESS_NAME: {type: STRING, desc: call process name}
|
|
MSG: {type: STRING, desc: screen off timeout message}
|
|
REASON: {type: STRING, desc: screen off reason}
|
|
|
|
STATE_CORRECTION:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: the power state is inconsistent with the display state}
|
|
ERROR_STATE: {type: INT32, desc: the state of the current error}
|
|
CORRECTION_STATE: {type: INT32, desc: the corrected state}
|
|
DISPLAY_STATE: {type: INT32, desc: the display state}
|
|
MSG: {type: STRING, desc: correct error information}
|