power_supply: bq27x00: add status and time properties
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 27 Feb 2010 13:54:49 +0000 (15:54 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 27 Feb 2010 13:54:49 +0000 (15:54 +0200)
commita5492fd9405f1ba17cc4fd7f788a80fa7095fe00
tree20b6a11dc0177efd74c3a7331f0648270d627526
parent8d4e4b5136bb2e4ac9e36c00b62eaa8433222e75
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>
drivers/power/bq27x00_battery.c