battery: fixed remaining time on connected AC
authorTobias Tschinkowitz <he4d@posteo.de>
Fri, 18 May 2018 14:33:51 +0000 (16:33 +0200)
committerAaron Marcher <me@drkhsh.at>
Fri, 18 May 2018 14:35:32 +0000 (16:35 +0200)
commit367f8a8c44fc9dc05a0f7a2c1500111ca97f669c
treee3880642c32682279ad9fab46a29aa808f00908c
parent2604f25b16593ce73ac38982d5a227609b930e9e
battery: fixed remaining time on connected AC

when an AC is connected apm_info shows a non-valid value for remaining
minutes. it was decided that in that case the function should return an
empty string.
components/battery.c