power_supply: bq27x00: add status and time properties
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 27 Feb 2010 15:06:09 +0000 (17:06 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Sat, 27 Feb 2010 15:09:23 +0000 (18:09 +0300)
commit4e924a814ac78e325653840190e9e4762e6f4b7c
tree228d81e5ada34293912a457d511c946eb22bb3c4
parente20908d95e89d04b9537aefecc0734d2e4f7faed
power_supply: bq27x00: add status and time properties

The BQ27x00 series of chips can report time-to-empty and
time-to-full, so let's add corresponding properties.
Also report charge status based on status flag register.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/bq27x00_battery.c