apm_power: support using VOLTAGE_* properties for apm calculations
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Sat, 12 Jan 2008 23:39:16 +0000 (02:39 +0300)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 1 Feb 2008 23:44:34 +0000 (02:44 +0300)
commitdffd28a13a439e672c735d3fc87844d28cbacc65
treeccc2c714a6d99e2838e5efbeaf58a7d251d6191b
parent8f8e9b387e07cbb96f10936cc455229d7aff4790
apm_power: support using VOLTAGE_* properties for apm calculations

It's pretty dummy, but useful for batteries for which we can only
get voltages.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Anton Vorontsov <cbou@mail.ru>
drivers/power/apm_power.c