EasyManua.ls Logo

Quectel LTE Module Series - Downloading Images using QFIL

Quectel LTE Module Series
15 pages
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LTE Module Series
SC20 Charging User Guide
SC20_Charging_User_Guide Confidential / Released 14 / 14
4.3. The Maximum Charging Time
A timer can be enabled in the driver files according to the configuration in DTS (qcom, tchg-mins). When
charging timer reaches the set time, the module will stop charging.
Set timer as follows:
static int qpnp_lbc_tchg_max_set(struct qpnp_lbc_chip *chip, int minutes)
{
xxx
/* Enable timer */
rc = qpnp_lbc_masked_write(chip, chip->chgr_base + CHG_TCHG_MAX_EN_REG,
CHG_TCHG_MAX_EN_BIT, CHG_TCHG_MAX_EN_BIT);
if (rc) {
pr_err("Failed to write tchg_max_en rc=%d\n", rc);
return rc;
}
return rc;
}
4.4. Abnormality
When the battery temperature crosses high temperature threshold or low temperature threshold, it will
stop charging.
4.5. Query Device Information
You can query battery temp/capacity /health information via adb tool, for example:
adb root
adb remount
adb shell
cat /sys/class/power_supply/battery/temp //Query battery temperature
cat /sys/class/power_supply/battery/capacity //Query battery capacity
cat /sys/class/power_supply/battery/health //Query battery status
cat /sys/class/power_supply/battery/ voltage_now //Query battery voltage
Quectel
Confidential

Other manuals for Quectel LTE Module Series

Related product manuals