]> err.no Git - linux-2.6/commit
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)
commit2a721dfc8c677588fc98d818dfad3354081c6ddb
tree93a4b90d68e3b445adc57333df07369c1c97b7af
parentd385376f0d75fdbeed8041ed6baf5cb4a1578ffb
apm_power: calculate to_full/to_empty time using energy

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>
drivers/power/apm_power.c