|author||Philipp Zabel <email@example.com>||2021-06-17 18:15:01 +0200|
|committer||Philipp Zabel <firstname.lastname@example.org>||2021-06-17 18:15:01 +0200|
tests: Add a test case for batteries with zero power draw
Make sure that the issue reported in #7 and #44 is fixed. The mocked battery has a zero power_now attribute and a non-zero legacy current_now attribute on purpose, to detect if upowerd tries to read current_now if the power_now value is small.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions