power_supply: Add voltage_ocv property and use it for max17042 driver
authorRamakrishna Pallala <ramakrishna.pallala@intel.com>
Tue, 10 Apr 2012 10:51:20 +0000 (16:21 +0530)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Sat, 5 May 2012 03:44:29 +0000 (20:44 -0700)
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>

No differences found