diff options
author | Richard A. Smith <richard@laptop.org> | 2012-07-15 23:43:25 +0200 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-07-16 10:39:12 +0200 |
commit | 5619d0ba97cd336a100121cf8f2968c4b1f6c848 (patch) | |
tree | 03b3a6d79036f5ad4474b1ce9d0ee8ecb1eabf76 /usr | |
parent | charger-manager: Fix build break related to EXTCON (diff) | |
download | linux-5619d0ba97cd336a100121cf8f2968c4b1f6c848.tar.xz linux-5619d0ba97cd336a100121cf8f2968c4b1f6c848.zip |
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 'usr')
0 files changed, 0 insertions, 0 deletions