Code

battery plugin: Only report "current" when actually supplied by the battery.
authorFlorian Forster <octo@collectd.org>
Wed, 10 Sep 2014 15:26:16 +0000 (17:26 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 11 Sep 2014 05:19:10 +0000 (07:19 +0200)
commit1bbefd777881fee2534b976d161743c5fe6fc536
tree24480ea890a6151965c4743e5d835b6ddfaab0a4
parentf2af3c2ac03ad3c36cc66c2ece7b1feabdebf0a4
battery plugin: Only report "current" when actually supplied by the battery.

I think the commend in the file sums it up pretty good, read that ;)
src/battery.c