• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2020 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15module: "android.sysprop.PowerProperties"
16owner: Platform
17
18# Returns the scale factor to be used when verifying the FIXED_PERFORMANCE
19# power mode as described in the Power HAL AIDL description
20prop {
21    api_name: "fixed_performance_scale_factor"
22    type: Integer
23    scope: Public
24    access: Readonly
25    prop_name: "ro.power.fixed_performance_scale_factor"
26}
27
28# Suspends charge input into the battery. When this property is set,
29# the device will drain battery even when connected to a power source.
30prop {
31    api_name: "battery_input_suspended"
32    type: Boolean
33    scope: Internal
34    access: ReadWrite
35    prop_name: "power.battery_input.suspended"
36}
37