Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5619d0ba authored by Richard A. Smith's avatar Richard A. Smith Committed by Anton Vorontsov
Browse files

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: default avatarRichard A. Smith <richard@laptop.org>
Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent c4727555
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment