commit | 9dd582d9bcba88b07e0c09a48d1e593242e24165 | [log] [tgz] |
---|---|---|
author | Anirudh Ghayal <aghayal@codeaurora.org> | Fri Jun 07 17:48:58 2013 +0530 |
committer | Anirudh Ghayal <aghayal@codeaurora.org> | Wed Jun 12 21:49:38 2013 +0530 |
tree | f9d8a918b1d7aaf125a6718897615f6de1ac54b7 | |
parent | d71d9f8fe272b1ac41158270e389b513fc44e715 [diff] |
power: qpnp-bms: Expose the learnt FCC values to userspace The learnt FCC values need to be backed-up and restored across reboot. Expose the FCC parameters to the userspace via sysfs entries to facilitate this. Use sysfs_notify to indicate a newly generated FCC value. While at it, add CYCLE_COUNT property to expose the current charge cycle. Change-Id: I0fc62e0a3eea88cc082bec3ce4d1bc302be9ace1 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>