commit | 5ea8c825f0e9fd0d3aa88099780a8fd7d634ed3b | [log] [tgz] |
---|---|---|
author | Anirudh Ghayal <aghayal@codeaurora.org> | Tue Feb 28 15:46:02 2017 +0530 |
committer | Harry Yang <harryy@codeaurora.org> | Mon Mar 27 11:04:48 2017 -0700 |
tree | 2da7e5d5c811738d7e7d91a586d3319ef5723dc4 | |
parent | d8d82b1be7207d2c14e8438389b8acc30428b8fc [diff] |
power: qcom-battery: Add sysfs to restrict charging Add sysfs files for user applications to restrict the battery charge current (FCC). The two files in /sys/class/qcom-battery/ are - 1. restricted_charging: To enable/disable this feature 2. restricted_current: Restricted FCC (uA) The default restricted_current value is 1A. CRs-Fixed: 1113761 Change-Id: I23a6796eaa0c41c2e93a52c45f6200326d262e99 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>