diff options
author | Richard A. Smith <richard@laptop.org> | 2012-07-15 21:43:25 (GMT) |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-07-16 08:39:12 (GMT) |
commit | 5619d0ba97cd336a100121cf8f2968c4b1f6c848 (patch) | |
tree | 03b3a6d79036f5ad4474b1ce9d0ee8ecb1eabf76 /sound/soc/codecs/wm2200.c | |
parent | c4727555d0bb2242047395dbcec253ea9d08a3b7 (diff) | |
download | linux-fsl-qoriq-5619d0ba97cd336a100121cf8f2968c4b1f6c848.tar.xz |
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 <richard@laptop.org>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm2200.c')
0 files changed, 0 insertions, 0 deletions