aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrey Borzenkov <[email protected]>2007-11-10 20:02:49 +0300
committerLen Brown <[email protected]>2007-12-06 22:29:22 -0500
commitad40e68bf5c54831cd6b2199fd24d616bac179f7 (patch)
tree9d2fd20462e854f74df4b8cb2d30651383942ed4 /tools/perf/scripts/python
parentf194d132e4971111f85c18c96067acffb13cee6d (diff)
ACPI: battery: fix ACPI battery technology reporting
At least some systems report technology information with trailing spaces: {pts/1}% cat -E /var/tmp/bat/2.6.23 | grep type battery type: Li-ION $ Use strncasecmp to compare model string to skip trailing part Signed-off-by: Andrey Borzenkov <[email protected]> Acked-by: Alexey Starikovskiy <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions