These two are needed by UPower.
For CHARGE_NOW we violate the power supply class definition (as we already
do for CAPACITY though it isn't as obvious there), but this is the best
we can do without adding rather sophisticated algorithms to either the EC
or UPower.
---
drivers/power/olpc_battery.c |
On Thu, Apr 29, 2010 at 06:28:16PM +, Sascha Silbe wrote:
+ case POWER_SUPPLY_PROP_CHARGE_AVG:
Sorry, accidently sent an older version of the patch to the list (forgot
"git add" before "git commit --amend"). The only change is
s/CHARGE_AVG/CHARGE_NOW/.
CU Sascha
--
http://sascha.s
Reviewed-by: James Cameron
--
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel