use of com.android.internal.os.PowerProfile in project android_frameworks_base by crdroidandroid.
the class BatteryStatsService method publish.
public void publish(Context context) {
mContext = context;
mStats.setRadioScanningTimeout(mContext.getResources().getInteger(com.android.internal.R.integer.config_radioScanningTimeout) * 1000L);
mStats.setPowerProfile(new PowerProfile(context));
ServiceManager.addService(BatteryStats.SERVICE_NAME, asBinder());
}
Aggregations