Build 1.0_r1(from source)

com.android.internal.app
Interface IBatteryStats

All Superinterfaces:
IInterface
All Known Implementing Classes:
IBatteryStats.Stub

public interface IBatteryStats
extends IInterface


Nested Class Summary
static class IBatteryStats.Stub
          Local-side IPC implementation stub class.
 
Method Summary
 long getAwakeTimeBattery()
           
 long getAwakeTimePlugged()
           
 void noteStartWakelock(int uid, String name, int type)
           
 void noteStopWakelock(int uid, String name, int type)
           
 void setOnBattery(boolean onBattery)
           
 
Methods inherited from interface android.os.IInterface
asBinder
 

Method Detail

noteStartWakelock

void noteStartWakelock(int uid,
                       String name,
                       int type)
                       throws RemoteException
Throws:
RemoteException

noteStopWakelock

void noteStopWakelock(int uid,
                      String name,
                      int type)
                      throws RemoteException
Throws:
RemoteException

setOnBattery

void setOnBattery(boolean onBattery)
                  throws RemoteException
Throws:
RemoteException

getAwakeTimeBattery

long getAwakeTimeBattery()
                         throws RemoteException
Throws:
RemoteException

getAwakeTimePlugged

long getAwakeTimePlugged()
                         throws RemoteException
Throws:
RemoteException

Build 1.0_r1(from source)

Please submit a feedback, bug or feature