1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
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  */
15 
16 #ifndef BATTERY_MANAGER_IPC_INTERFACE_DODE_H
17 #define BATTERY_MANAGER_IPC_INTERFACE_DODE_H
18 
19 /* SAID: 3302 */
20 namespace OHOS {
21 namespace PowerMgr {
22 enum class BatterySrvInterfaceCode {
23     BATT_GET_CAPACITY = 0,
24     BATT_GET_CHARGING_STATUS,
25     BATT_GET_HEALTH_STATUS,
26     BATT_GET_PLUG_TYPE,
27     BATT_GET_VOLTAGE,
28     BATT_GET_PRESENT,
29     BATT_GET_TEMPERATURE,
30     BATT_GET_TECHNOLOGY,
31     BATT_GET_BATTERY_LEVEL,
32     BATT_GET_REMAINING_CHARGE_TIME,
33     BATT_GET_BATTERY_TOTAL_ENERGY,
34     BATT_GET_BATTERY_CURRENT_AVERAGE,
35     BATT_GET_BATTERY_CURRENT_NOW,
36     BATT_GET_BATTERY_REMAIN_ENERGY,
37     SET_BATTERY_CONFIG,
38     GET_BATTERY_CONFIG,
39     SUPPORT_BATTERY_CONFIG
40 };
41 } // space PowerMgr
42 } // namespace OHOS
43 
44 #endif // BATTERY_MANAGER_IPC_INTERFACE_DODE_H
45