blob: fd01802a42168645b758bb09572d886c502970a0 [file] [log] [blame]
Todd Poynora9de3462013-05-22 18:53:29 -07001/*
2** Copyright 2013, The Android Open Source Project
3**
4** Licensed under the Apache License, Version 2.0 (the "License");
5** you may not use this file except in compliance with the License.
6** You may obtain a copy of the License at
7**
8** http://www.apache.org/licenses/LICENSE-2.0
9**
10** Unless required by applicable law or agreed to in writing, software
11** distributed under the License is distributed on an "AS IS" BASIS,
12** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13** See the License for the specific language governing permissions and
14** limitations under the License.
15*/
16
17package android.os;
18
19import android.os.IBatteryPropertiesListener;
Todd Poynord7b34772013-08-14 20:42:44 -070020import android.os.BatteryProperty;
Todd Poynora9de3462013-05-22 18:53:29 -070021
22/**
23 * {@hide}
24 */
25
26interface IBatteryPropertiesRegistrar {
27 void registerListener(IBatteryPropertiesListener listener);
28 void unregisterListener(IBatteryPropertiesListener listener);
Todd Poynord7b34772013-08-14 20:42:44 -070029 int getProperty(in int id, out BatteryProperty prop);
Todd Poynora9de3462013-05-22 18:53:29 -070030}