Handle no data from powersupplyclass

Handle the case when /sys/class/power_supply doesn't exist. Fixes
logging error spam.

Requires https://github.com/prometheus/procfs/pull/308

Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
Ben Kochie 2020-06-13 11:07:01 +02:00
commit 5fed4f01e9
No known key found for this signature in database
GPG key ID: C646B23C9E3245F1
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,7 @@
* [CHANGE]
* [FEATURE]
* [ENHANCEMENT]
* [BUGFIX]
* [BUGFIX] Handle no data from powersupplyclass
## 1.0.0 / 2020-05-25