diff options
| author | Hakan Berg <[email protected]> | 2012-07-17 14:17:16 +0200 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2013-03-07 12:35:44 +0800 |
| commit | 908fe8d6a575e2bdf349ba8635b862eeb91f7ade (patch) | |
| tree | 863d1d0caffb4dfb84a118c0d885ce0c773b080a /tools/perf/scripts/python | |
| parent | d4f510f6c3f579bac0dbeaa8dc7c2dc768c31786 (diff) | |
ab8500-btemp: Filter btemp readings
Battery tempreature readings sometimes fail and results in
a value far from recent values. This patch adds a software
filter that disposes such readings, by allowing direct
updates on temperature only if two samples result in the
same temperature. Else only allow 1 degree change from previous
reported value in the direction of the new measurement.
Signed-off-by: Hakan Berg <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Marcus COOPER <[email protected]>
Reviewed-by: Martin SJOBLOM <[email protected]>
Reviewed-by: Rabin VINCENT <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions