apm_power: calculate to_full/to_empty time using energy
authorAnton Vorontsov <cbou@mail.ru>
Thu, 4 Oct 2007 21:05:00 +0000 (01:05 +0400)
committerAnton Vorontsov <cbou@mail.ru>
Thu, 4 Oct 2007 21:05:00 +0000 (01:05 +0400)
This patch adds ability to calculate time using energy.
Needed to calculate time_to_full for PMU batteries.

Signed-off-by: Anton Vorontsov <cbou@mail.ru>

No differences found