~ubuntu-branches/ubuntu/trusty/powerd/trusty-proposed

« back to all changes in this revision

Viewing changes to data/device_configs/config-hammerhead.xml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Ricardo Salveti de Araujo
  • Date: 2014-01-29 11:24:39 UTC
  • mfrom: (1.1.29)
  • Revision ID: package-import@ubuntu.com-20140129112439-qyfanw927xdwf3oj
Tags: 0.13+14.04.20140129-0ubuntu1
[ Ricardo Salveti de Araujo ]
Adding device config for flo and hammerhead

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!--
 
3
/*
 
4
** Copyright 2013, The Android Open Source Project
 
5
**
 
6
** Licensed under the Apache License, Version 2.0 (the "License");
 
7
** you may not use this file except in compliance with the License.
 
8
** You may obtain a copy of the License at
 
9
**
 
10
**     http://www.apache.org/licenses/LICENSE-2.0
 
11
**
 
12
** Unless required by applicable law or agreed to in writing, software
 
13
** distributed under the License is distributed on an "AS IS" BASIS,
 
14
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
15
** See the License for the specific language governing permissions and
 
16
** limitations under the License.
 
17
*/
 
18
-->
 
19
 
 
20
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
 
21
 
 
22
    <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
 
23
         Software implementation will be used if config_hardware_auto_brightness_available is not set -->
 
24
    <bool name="config_automatic_brightness_available">true</bool>
 
25
 
 
26
    <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
 
27
         The N entries of this array define N  1 zones as follows:
 
28
 
 
29
         Zone 0:        0 <= LUX < array[0]
 
30
         Zone 1:        array[0] <= LUX < array[1]
 
31
         ...
 
32
         Zone N:        array[N - 1] <= LUX < array[N]
 
33
         Zone N + 1     array[N] <= LUX < infinity
 
34
 
 
35
         Must be overridden in platform specific overlays -->
 
36
    <integer-array name="config_autoBrightnessLevels">
 
37
        <item>1</item>
 
38
        <item>4</item>
 
39
        <item>40</item>
 
40
        <item>350</item>
 
41
        <item>600</item>
 
42
        <item>1000</item>
 
43
        <item>1600</item>
 
44
        <item>3000</item>
 
45
        <item>10000</item>
 
46
    </integer-array>
 
47
 
 
48
    <!-- Array of output values for LCD backlight corresponding to the LUX values
 
49
         in the config_autoBrightnessLevels array.  This array should have size one greater
 
50
         than the size of the config_autoBrightnessLevels array.
 
51
         This must be overridden in platform specific overlays -->
 
52
    <integer-array name="config_autoBrightnessLcdBacklightValues">
 
53
        <item>13</item>   <!-- 0-1 -->
 
54
        <item>26</item>   <!-- 1-4 -->
 
55
        <item>73</item>   <!-- 4-40 -->
 
56
        <item>88</item>   <!-- 40-350 -->
 
57
        <item>130</item>  <!-- 350-600 -->
 
58
        <item>167</item>  <!-- 600-1000 -->
 
59
        <item>204</item>  <!-- 1000-1600 -->
 
60
        <item>240</item>  <!-- 1600-3000 -->
 
61
        <item>254</item>  <!-- 3000-10000 -->
 
62
        <item>255</item>  <!-- 10000+ -->
 
63
    </integer-array>
 
64
 
 
65
    <!-- Minimum screen brightness allowed by the power manager. -->
 
66
    <integer name="config_screenBrightnessDim">1</integer>
 
67
 
 
68
    <!-- Default screen brightness setting.
 
69
         Must be in the range specified by minimum and maximum. -->
 
70
    <integer name="config_screenBrightnessSettingDefault">82</integer>
 
71
 
 
72
    <!-- Minimum screen brightness setting allowed by the power manager.
 
73
         The user is forbidden from setting the brightness below this level. -->
 
74
    <integer name="config_screenBrightnessSettingMinimum">1</integer>
 
75
 
 
76
    <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
 
77
    <integer name="config_shutdownBatteryTemperature">600</integer>
 
78
 
 
79
</resources>