瀏覽代碼

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
 -->
 <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.
          -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.