Merge "Update method isSmartBatteryEnabled()" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-05-17 02:43:22 +00:00
committed by Android (Google) Code Review
2 changed files with 18 additions and 3 deletions

View File

@@ -131,6 +131,7 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
@Override
public boolean isSmartBatterySupported() {
return false;
return mContext.getResources().getBoolean(
com.android.internal.R.bool.config_smart_battery_available);
}
}