bq27x00_battery: Fixup nominal available capacity reporting
authorPali Rohár <pali.rohar@gmail.com>
Sat, 10 Nov 2012 14:42:48 +0000 (15:42 +0100)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 19 Nov 2012 00:02:41 +0000 (16:02 -0800)
We should not not report nominal available capacity if battery is not
calibrated, as we don't want to represent bogus values in the sysfs and
confuse userland.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>

No differences found