http://wiki.laptop.org/go/F11_for_1.5
http://build.laptop.org/10.2.0/os122
Compressed image size: 677.68mb (-0.70mb since build 121)
Description of changes in this build:
* kernel, #10137: correct camera framerate setting (note, this version
of the patch may break the camera f
CURRENT_AVG is actually CURRENT_NOW (the EC code directly passes through
the value from the gas gauge instead of the internally used average).
We retain CURRENT_AVG as an alias for compatibility reasons, it will be
removed later.
This change allows an unpatched UPower (0.9.2) to calculate TimeToEm
CHARGE_NOW is needed by UPower to return the current capacity
('Percentage').
This patch violates the power supply class definition (as we already
do for CAPACITY though it isn't as obvious there), but this is the best
we can do without adding rather sophisticated algorithms to either the EC
or UP
The maximum ("full") charge of the battery is required for UPower to
return the current capacity, both directly (as CHARGE_FULL_DESIGN) and
indirectly (calculating CHARGE_NOW).
Signed-off-by: Sascha Silbe
---
drivers/power/olpc_battery.c | 54 ++
1 files
Changes v2->v3:
- style fixes for switch () according to scripts/checkpatch.pl output
- add Signed-Off-By
Changes v1->v2:
- calculate CHARGE_FULL_DESIGN based on technology and manufacturer
- replace CHARGE_AVG with CHARGE_NOW
- add CURRENT_NOW
___
Dev
thanks sascha! these look good. i'll apply soon.
paul
sascha wrote:
> After some research and comments from Paul Fox and Richard Smith (thanks!)
> I've revised and split up the patch.
>
> Changes:
> - calculate CHARGE_FULL_DESIGN based on technology and manufacturer
> - replace CHARGE_AV
CHARGE_NOW is needed by UPower to return the current capacity
('Percentage').
This patch violates the power supply class definition (as we already
do for CAPACITY though it isn't as obvious there), but this is the best
we can do without adding rather sophisticated algorithms to either the EC
or UP
CURRENT_AVG is actually CURRENT_NOW (the EC code directly passes through
the value from the gas gauge instead of the internally used average).
We retain CURRENT_AVG as an alias for compatibility reasons, it will be
removed later.
This change allows an unpatched UPower (0.9.2) to calculate TimeToEm
The maximum ("full") charge of the battery is required for UPower to
return the current capacity, both directly (as CHARGE_FULL_DESIGN) and
indirectly (calculating CHARGE_NOW).
---
drivers/power/olpc_battery.c | 57 ++
1 files changed, 57 insertions(+), 0
After some research and comments from Paul Fox and Richard Smith (thanks!)
I've revised and split up the patch.
Changes:
- calculate CHARGE_FULL_DESIGN based on technology and manufacturer
- replace CHARGE_AVG with CHARGE_NOW
- add CURRENT_NOW
___
Devel
10 matches
Mail list logo