Merge "Report sensor events to BatteryStats service" into gingerbread

This commit is contained in:
Mathias Agopian
2010-07-23 17:03:43 -07:00
committed by Android (Google) Code Review
2 changed files with 49 additions and 22 deletions

View File

@@ -24,8 +24,15 @@ interface IBatteryStats {
byte[] getStatistics();
void noteStartWakelock(int uid, String name, int type);
void noteStopWakelock(int uid, String name, int type);
/* DO NOT CHANGE the position of noteStartSensor without updating
SensorService.cpp */
void noteStartSensor(int uid, int sensor);
/* DO NOT CHANGE the position of noteStopSensor without updating
SensorService.cpp */
void noteStopSensor(int uid, int sensor);
void noteStartGps(int uid);
void noteStopGps(int uid);
void noteScreenOn();