Android 高通平台电池已调试好出货,客户要用新电池,驱动如何改用新增电池。

Android 高通平台电池已调试好出货,

客户又说要用新电池,

驱动如何修改改用新增电池。

开发云 - 一站式云服务平台

Android 高通平台按如下方法修改可以实现。

+++ b/kernel/arch/arm/boot/dts/batterydata-mtp-3900mah.dtsi
@@ -0,0 +1,108 @@
+/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+qcom,mtp-4000mah {
+    qcom,fcc-mah = <3900>;
+    qcom,default-rbatt-mohm = <113>;
+    qcom,max-voltage-uv = <4200000>;
+    qcom,rbatt-capacitive-mohm

你可能感兴趣的:(android,elasticsearch,大数据)