commit | a2ebfe2fc6e088a70d06cd15a5bc9bcb621cc195 | [log] [tgz] |
---|---|---|
author | Ramakrishna Pallala <ramakrishna.pallala@intel.com> | Tue Apr 10 16:21:20 2012 +0530 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Fri May 04 20:44:29 2012 -0700 |
tree | e9c03e1cbcb7b98f6049c17bb6000ae5218ae754 | |
parent | 48e41c70c10f10541d922fc67e7952f06ad59d9a [diff] |
power_supply: Add voltage_ocv property and use it for max17042 driver This adds a new sysfs file called 'voltage_ocv' which gives the Open Circuit Voltage of the battery. This property can be used for platform shutdown policies and can be useful for initial capacity estimations. Note: This patch is generated against linux-next branch. Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>