summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2026-08-07 01:38:17 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-09 16:22:51 +0200
commit21af603b6509e1e2297de5c159317639477dcbf3 (patch)
tree1833f38bf79a4b6e25e669a81c00513c5126722f /tools/perf/scripts/python/bin/stackcollapse-report
parentdf2908090cda368b01ff43709f51890076c56157 (diff)
ACPI: battery: Fix bogus cycle count values on systems without _BIX
Devices supporting only the legacy _BIF ACPI control method cannot know the cycle count of the associated battery, so cycle_count always remains 0. Claiming support for POWER_SUPPLY_PROP_CYCLE_COUNT on such devices can thus mislead userspace applications and prevents power supply extensions from supplying correct cycle count values. Fix this by not claiming support for POWER_SUPPLY_PROP_CYCLE_COUNT on devices without _BIX. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://patch.msgid.link/20260806233817.622975-1-W_Armin@gmx.de Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions