mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
power: Set charge_control_limit writable
Thermal Engine uses the charge_control_limit to trigger the charge mitigation, so set it to be writable. Mot-CRs-fixed: (CR) Change-Id: Ie529b0969c46afcfb190c5524fe862059522385c Signed-off-by: Yonghua Yan <yanyh2@motorola.com> Reviewed-on: https://gerrit.mot.com/1353035 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Kenneth Kessler <kennykessler@motorola.com> Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1355886
This commit is contained in:
parent
2b419819b4
commit
9e4148ece0
1 changed files with 1 additions and 0 deletions
|
|
@ -3150,6 +3150,7 @@ static int batt_prop_is_writeable(struct power_supply *psy,
|
|||
case POWER_SUPPLY_PROP_SW_JEITA_ENABLED:
|
||||
case POWER_SUPPLY_PROP_DIE_HEALTH:
|
||||
case POWER_SUPPLY_PROP_CYCLE_COUNT:
|
||||
case POWER_SUPPLY_PROP_CHARGE_CONTROL_LIMIT:
|
||||
return 1;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue