diff --git a/res/layout/anomaly_app_item_preference.xml b/res/layout/anomaly_app_item_preference.xml index 0a198496f1e..681fe68339a 100644 --- a/res/layout/anomaly_app_item_preference.xml +++ b/res/layout/anomaly_app_item_preference.xml @@ -35,33 +35,10 @@ - - + android:layout_marginEnd="16dp"/> - - - - + \ No newline at end of file diff --git a/res/layout/power_anomaly_hints.xml b/res/layout/power_anomaly_hints.xml new file mode 100644 index 00000000000..e4ec47b6473 --- /dev/null +++ b/res/layout/power_anomaly_hints.xml @@ -0,0 +1,42 @@ + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/power_usage_time.xml b/res/layout/power_usage_time.xml new file mode 100644 index 00000000000..bad68f4517f --- /dev/null +++ b/res/layout/power_usage_time.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 3d05af37af2..3ed2dc95f31 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5307,6 +5307,10 @@ %1$s remaining %1$s to charge + + Screen time + + Background time %1$s%2$s @@ -5322,6 +5326,8 @@ Since this app is not set to optimize battery, you can\u2019t restrict it.\n\nTo restrict the app, first turn on battery optimization. + + Manage battery usage Unrestricted @@ -5668,6 +5674,8 @@ Background: less than a min Screen time: less than a min + + Less than a min Total: %s diff --git a/res/xml/power_usage_detail.xml b/res/xml/power_usage_detail.xml index c9836b4324c..7b92f998e4c 100644 --- a/res/xml/power_usage_detail.xml +++ b/res/xml/power_usage_detail.xml @@ -27,23 +27,48 @@ - + - + - + + + + + + + + + + + + +