08 Jul, 2011
1 commit
-
Two macros in the changed file contained complex expressions which
were not enclosed by parentheses.Signed-off-by: Ken O'Brien
Signed-off-by: Anton Vorontsov
08 Sep, 2010
1 commit
-
The missing break statement causes wrong capacity calculation for
batteries that report energy.Reported-by: d binderman
Cc:
Signed-off-by: Anton Vorontsov
22 Jul, 2008
1 commit
-
This mirrors the functionality that driver_for_each_device has as well.
We add a start variable, and all callers of the function are fixed up at
the same time.The block layer will be using this new functionality in a follow-on
patch.Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
02 Feb, 2008
2 commits
-
Signed-off-by: Anton Vorontsov
-
It's pretty dummy, but useful for batteries for which we can only
get voltages.Signed-off-by: Dmitry Baryshkov
Signed-off-by: Anton Vorontsov
25 Jan, 2008
1 commit
-
Convert to use the class iteration api.
Signed-off-by: Dave Young
Cc: Anton Vorontsov
Cc: David Woodhouse
Signed-off-by: Greg Kroah-Hartman
05 Oct, 2007
3 commits
-
This patch adds ability to calculate time using energy.
Needed to calculate time_to_full for PMU batteries.Signed-off-by: Anton Vorontsov
-
Prior to this patch, if use_for_apm unspecified, apm_power able
to choice batteries according to their charge only.This patch adds ability to choice batteries according to their charge,
energy, use_for_apm flag, and fallback to any battery if it failed to
decide.Patch is mandatory to report Apple PMU batteries through legacy
/proc/apm interface using power supply class.Signed-off-by: Anton Vorontsov
-
Prior to this patch, apm_power was unable to report "to empty"/"to full"
time for batteries that hardware-report these values, such as
Apple PMU batteries.Signed-off-by: Anton Vorontsov
16 Jul, 2007
1 commit
-
Per Jeff Garzik request.
Signed-off-by: Jeff Garzik
Signed-off-by: Anton Vorontsov
10 Jul, 2007
1 commit
-
Signed-off-by: Eugeny Boger
Signed-off-by: Anton Vorontsov
Signed-off-by: David Woodhouse