Multi-user battery settings.

Aggregates battery use from other users into one line item.

Change-Id: I811e681891a9ff098491de1e096232f38bf061a9
This commit is contained in:
Dianne Hackborn
2012-09-12 17:02:23 -07:00
parent 2001a179cc
commit 52e56a2490
6 changed files with 89 additions and 20 deletions

View File

@@ -62,7 +62,8 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener
WIFI,
BLUETOOTH,
SCREEN,
APP
APP,
USER
}
// Note: Must match the sequence of the DrainType
@@ -73,7 +74,8 @@ public class PowerUsageDetail extends Fragment implements Button.OnClickListener
R.string.battery_desc_wifi,
R.string.battery_desc_bluetooth,
R.string.battery_desc_display,
R.string.battery_desc_apps
R.string.battery_desc_apps,
R.string.battery_desc_users,
};
public static final int ACTION_DISPLAY_SETTINGS = 1;