• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14domain: DISPLAY
15
16SCREEN_STATE:
17  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: current screen status information}
18  STATE: {type: INT32, desc: current screen state}
19
20BRIGHTNESS_NIT:
21  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: screen brightness}
22  BRIGHTNESS: {type: INT32, desc: screen brightness value}
23  REASON: {type: STRING, desc: brightness reason}
24  NIT: {type: INT32, desc: brightness nit}
25
26BACKLIGHT_DISCOUNT:
27  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: screen brightness discount information}
28  RATIO: {type: INT32, desc: discount ratio}
29
30AMBIENT_LIGHT:
31  __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: ambient light information}
32  TYPE: {type: INT32, desc: ambient light type}
33  LEVEL: {type: INT32, desc: ambient light adjusts screen brightness}
34