aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorRichard A. Smith <[email protected]>2012-07-15 22:43:25 +0100
committerAnton Vorontsov <[email protected]>2012-07-16 01:39:12 -0700
commit5619d0ba97cd336a100121cf8f2968c4b1f6c848 (patch)
tree03b3a6d79036f5ad4474b1ce9d0ee8ecb1eabf76 /lib/mpi/mpi-internal.h
parentc4727555d0bb2242047395dbcec253ea9d08a3b7 (diff)
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 <[email protected]> Signed-off-by: Daniel Drake <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions