commit | 4b226c2cf04eb373369d298fa00181b0eec71233 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali.rohar@gmail.com> | Tue Nov 01 01:43:05 2011 +0100 |
committer | Anton Vorontsov <cbouatmailru@gmail.com> | Fri Nov 25 23:58:16 2011 +0400 |
tree | 63fd6b047b61b29c4e4352a41f4a1f0b4f5dc0b9 | |
parent | d66bab3f3a5119084ac0ed010a7eae0000af4f16 [diff] |
bq27x00_battery: Report -ENODATA if bq27000 battery was not calibrated * CI (Capacity Inaccurate) flag is set after full reset on bq27000 battery * when is set, all capacity properties should be reported incorrectly, because there was no learning cycle and battery was not calibrated * instead reporting incorrect values, report -ENODATA Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>