With these patches applied, UPower correctly calculates Percentage, TimeToEmpty and TimeToFull for OLPC batteries.
Sascha Silbe (3): olpc-battery: add support for CHARGE_FULL_DESIGN olpc-battery: add support for CHARGE_NOW olpc-battery: add support for CURRENT_NOW and VOLTAGE_NOW drivers/power/olpc_battery.c | 82 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 82 insertions(+), 0 deletions(-) -- 1.7.2.3 _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel