ソースを参照

sm8450-common: overlay: Set shutdown battery temperature

Change-Id: Ifd89970e9b7c939c2ef59266c212b3d495df9a97
Arian 1 年間 前
コミット
e2d0eff5b4
1 ファイル変更3 行追加0 行削除
  1. 3 0
      overlay/FrameworksResXiaomi/res/values/config.xml

+ 3 - 0
overlay/FrameworksResXiaomi/res/values/config.xml

@@ -4,6 +4,9 @@
      SPDX-License-Identifier: Apache-2.0
      SPDX-License-Identifier: Apache-2.0
 -->
 -->
 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+    <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
+    <integer name="config_shutdownBatteryTemperature">580</integer>
+
     <!-- Minimum screen brightness setting allowed by power manager.
     <!-- Minimum screen brightness setting allowed by power manager.
          -2 is invalid so setting will resort to int value specified above.
          -2 is invalid so setting will resort to int value specified above.
          Set this to 0.0 to allow screen to go to minimal brightness.
          Set this to 0.0 to allow screen to go to minimal brightness.