Remove more entries not relevant to wifi-only devices.
Bug: 3488384 Bug: 3487976 Bug: 3488381 Removed Cell standby entry from Battery use screen. Removed Mobile signal strength from BatteryHistory screen. Added wifi IP address to About->Status Remove auto-timezone checkbox in Settings->Date & time Change-Id: I228721a3613b1aeb600026e42274337886552698
This commit is contained in:
@@ -683,7 +683,10 @@ public class PowerUsageSummary extends PreferenceFragment implements Runnable {
|
||||
addWiFiUsage(uSecNow);
|
||||
addBluetoothUsage(uSecNow);
|
||||
addIdleUsage(uSecNow); // Not including cellular idle power
|
||||
addRadioUsage(uSecNow);
|
||||
// Don't compute radio usage if it's a wifi-only device
|
||||
if (!com.android.settings.Utils.isWifiOnly()) {
|
||||
addRadioUsage(uSecNow);
|
||||
}
|
||||
}
|
||||
|
||||
private BatterySipper addEntry(String label, DrainType drainType, long time, int iconId,
|
||||
|
||||
Reference in New Issue
Block a user