Ticket #2311 (new enhancement)

Opened 10 years ago

bq27000 driver should expose CI (capacity inaccurate) flag

Reported by: PaulFertser Owned by: PaulFertser
Priority: normal Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords: bq27k
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:


bq27k can not always give a good estimate of battery capacity, in this case it raises CI flag to notify user he must perform a learning cycle.

The driver should expose enough information to make handling this situation by the userspace easy, that most probably includes CI and VDQ (valid discharge suitable for learning is ongoing).

While at it also fix a minor bug of exposing NAC (nominal available capacity) instead of CACT (temperature and discharge rate compensated capacity).

Note: See TracTickets for help on using tickets.