loginid=zhudaohong@huaqin.com,time=2012-09-14 14:49:35,ip=61.152.133.242,doctitle=Smart Phone Battery Charging FAQ_Chinese version.docx,company=Huaqin_WCX
MT6575
YuSu
Confidential A
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Table of Contents
Document Revision History .................................................................................................................. 2
Table of Contents ................................................................................................................................... 3
1 Introduction................................................................................................................................... 5
2 Codebase Notes ........................................................................................................................... 6
2.1 Common definition ................................................................................................................ 6
2.1.1 cust_charging_current_enum ............................................................................... 6
2.1.2 Battery Voltage and Percentage Mapping Table ................................................. 6
2.1.3 Precise Tunning ................................................................................................... 7
2.1.4 Charger Related Setting ....................................................................................... 7
2.1.5 Temperature Related Setting ............................................................................... 8
2.1.6 Recharging Issue ................................................................................................. 8
2.2 Specific definition .................................................................................................................. 9
2.2.1 Battery warning mechanism ................................................................................. 9
2.2.2 Fuel Gauge Method ............................................................................................ 10
2.2.3 Uboot charging logo ........................................................................................... 10
3 Debugging and Configuration ................................................................................................... 11
3.1 Runtime battery logging entry ............................................................................................. 11
3.2 Runtime check PMIC register values ................................................................................. 11
3.3 Log sample ......................................................................................................................... 12
3.3.1 boot up check battery exist ................................................................................ 12
3.3.2 Low power boot up ............................................................................................. 13
3.3.3 Normal mode log analysis .................................................................................. 13
3.3.4 Not charging current issue debug ...................................................................... 14
3.3.5 High power consumption issue debug ............................................................... 14
3.3.6 AC/USB charger type detection issue debug ..................................................... 14
3.4 Source Code & File Description ......................................................................................... 15
MEDIATEK CONFIDENTIAL
FOR zhudaohong@ huaqin.com USE ONLY