Add UI for camera + flashlight battery reporting.
Bug: 11694505 Change-Id: Idca51a2e8cc7c2fb3e9d10f84f94e66600dee6fa
This commit is contained in:
33
res/drawable/ic_settings_camera.xml
Normal file
33
res/drawable/ic_settings_camera.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<!--
|
||||
Copyright (C) 2015 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="48"
|
||||
android:viewportHeight="48"
|
||||
android:autoMirrored="true">
|
||||
|
||||
<path android:fillColor="#000000"
|
||||
android:pathData="M18.8 21l9.53-16.51C26.94 4.18 25.49 4 24 4c-4.8 0-9.19 1.69-12.64
|
||||
4.51l7.33 12.69.11-.2zm24.28-3c-1.84-5.85-6.3-10.52-11.99-12.68L23.77
|
||||
18h19.31zm.52 2H28.62l.58 1 9.53 16.5C41.99 33.94 44 29.21 44
|
||||
24c0-1.37-.14-2.71-.4-4zm-26.53 4l-7.8-13.5C6.01 14.06 4 18.79 4 24c0
|
||||
1.37.14 2.71.4 4h14.98l-2.31-4zM4.92 30c1.84 5.85 6.3 10.52 11.99
|
||||
12.68L24.23 30H4.92zm22.54 0l-7.8 13.51c1.4.31 2.85.49 4.34.49 4.8 0
|
||||
9.19-1.69 12.64-4.51L29.31 26.8 27.46 30z"/>
|
||||
</vector>
|
@@ -4023,6 +4023,10 @@
|
||||
<string name="battery_stats_screen_on_label">Screen on</string>
|
||||
<!-- [CHAR LIMIT=25] Label for battery stats gps on state graph -->
|
||||
<string name="battery_stats_gps_on_label">GPS on</string>
|
||||
<!-- [CHAR LIMIT=25] Label for battery stats camera on state graph -->
|
||||
<string name="battery_stats_camera_on_label">Camera on</string>
|
||||
<!-- [CHAR LIMIT=25] Label for battery stats flashlight on state graph -->
|
||||
<string name="battery_stats_flashlight_on_label">Flashlight on</string>
|
||||
<!-- [CHAR LIMIT=25] Label for battery stats wifi running state graph -->
|
||||
<string name="battery_stats_wifi_running_label">Wi\u2011Fi</string>
|
||||
<!-- [CHAR LIMIT=25] Label for battery stats wake lock state graph -->
|
||||
@@ -4054,6 +4058,8 @@
|
||||
<string name="power_screen">Screen</string>
|
||||
<!-- Label for power consumed by the flashlight -->
|
||||
<string name="power_flashlight">Flashlight</string>
|
||||
<!-- Label for power consumed by the camera -->
|
||||
<string name="power_camera">Camera</string>
|
||||
<!-- Label for power consumed by Wi-Fi -->
|
||||
<string name="power_wifi">Wi\u2011Fi</string>
|
||||
<!-- Label for power consumed by Bluetooth -->
|
||||
@@ -4099,6 +4105,10 @@
|
||||
<string name="usage_type_audio">Audio</string>
|
||||
<!-- Label for Video usage time -->
|
||||
<string name="usage_type_video">Video</string>
|
||||
<!-- Label for Camera usage time -->
|
||||
<string name="usage_type_camera">Camera</string>
|
||||
<!-- Label for Flashlight usage time -->
|
||||
<string name="usage_type_flashlight">Flashlight</string>
|
||||
<!-- Label for time that a feature has been on -->
|
||||
<string name="usage_type_on_time">Time on</string>
|
||||
<!-- Label for time that there was no cell coverage -->
|
||||
@@ -4139,6 +4149,9 @@
|
||||
<!-- [CHAR_LIMIT=NONE] Description for power consumed by the flashlight -->
|
||||
<string name="battery_desc_flashlight">Battery used by the flashlight</string>
|
||||
|
||||
<!-- [CHAR_LIMIT=NONE] Description for power consumed by the camera -->
|
||||
<string name="battery_desc_camera">Battery used by the camera</string>
|
||||
|
||||
<!-- Description for power consumed by display -->
|
||||
<string name="battery_desc_display">Battery used by the display and backlight</string>
|
||||
<!-- Suggestion for reducing display power -->
|
||||
|
Reference in New Issue
Block a user