diff options
| author | Sriman Achanta <srimanachanta@gmail.com> | 2026-08-03 15:15:49 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-08-03 21:31:55 +0200 |
| commit | 06529560b0acee761bfc8fa1ef82edb2596596ef (patch) | |
| tree | ea4169e0950f9fad0a296d5b826bf07ecf85d9b6 /tools/perf/scripts/python | |
| parent | 49ef6ed1bbe25cf591af60c2b71cc2a65e07ea68 (diff) | |
HID: steelseries: Report POWER_SUPPLY_STATUS_FULL when full
Report POWER_SUPPLY_STATUS_FULL when the headset is connected, charging,
and at 100% capacity. It reported CHARGING in that case before.
The charging flag doubles as a power-present signal: the headset keeps
reporting charging while it sits docked at 100%, and clears the flag as
soon as it runs on battery. Gating FULL on the charging flag therefore
avoids reporting FULL for an unplugged headset that merely happens to be
at 100%, which would otherwise hide the discharge state from userspace.
Signed-off-by: Sriman Achanta <srimanachanta@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
