aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMatthew Garrett <[email protected]>2014-09-20 13:19:45 +0200
committerRafael J. Wysocki <[email protected]>2014-09-24 23:31:11 +0200
commit3031cddea633ea5328162d3d712a582e4205dbed (patch)
treefdd49651c754cd6fd2f2c7d9810720eb21a6c230 /tools/perf/util/scripting-engines/trace-event-python.c
parent0f33be009b89d2268e94194dc4fd01a7851b6d51 (diff)
ACPI / SBS: Don't assume the existence of an SBS charger
Apple hardware continues to expose an ACPI AC charger even when using SBS to report battery state. The charger status byte returns all 0s in this case. Since the spec requires that bit 4 be 1 at all times, assume that there's not really a charger if it's set to zero. Signed-off-by: Matthew Garrett <[email protected]> Signed-off-by: Andreas Noever <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions