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 = <50>;
+    qcom,v-cutoff-uv = <3630000>;
+    qcom,chg-term-ua = <200000>;
+    qcom,batt-id-kohm = <100>;
+
+    qcom,fcc-temp-lut {
+        qcom,lut-col-legend = <(-20) 0 25 40 60>;
+        qcom,lut-data = <4030 4033 3905 4035 4031>;
+    };
+
+    qcom,pc-temp-ocv-lut {
+        qcom,lut-col-legend = <(-20) 0 25 40 60>;
+        qcom,lut-row-legend = <100 95 90 85 80>,
+                <75 70 65 60 55>,
+                

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zzq1996

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值