[PATCH] battery: add CHARGE_FULL_DESIGN and CHARGE_NOW

2010-04-29 Thread Sascha Silbe
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 |

Re: [PATCH] battery: add CHARGE_FULL_DESIGN and CHARGE_NOW

2010-04-29 Thread Sascha Silbe
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

Re: [PATCH] battery: add CHARGE_FULL_DESIGN and CHARGE_NOW

2010-04-29 Thread James Cameron
Reviewed-by: James Cameron -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel