From: Richard A. Smith Date: Sun, 15 Jul 2012 21:43:25 +0000 (+0100) Subject: olpc-battery: Add VOLTAGE_MAX_DESIGN property X-Git-Tag: v3.6-rc1~31^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5619d0ba97cd336a100121cf8f2968c4b1f6c848;p=pandora-kernel.git olpc-battery: Add VOLTAGE_MAX_DESIGN property upowerd wants to compute the energy in the battery by looking at this property. If it's not present then it falls back on using the reported voltage of the battery at time upowerd loads. That's close but also means that every time you boot you get a slightly different energy capacity. Adding the VOLTAGE_MAX_DESIGN property allows upowerd to compute the same energy every time. Signed-off-by: Richard A. Smith Signed-off-by: Daniel Drake Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed