Merge "Update method isSmartBatteryEnabled()" into pi-dev am: 3feb2f87ff
am: c409db681d
Change-Id: I10d9b63f1a61a10c31bf5c07b8a3192accfe18b1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user