battery: Fix remaining on Linux
authorPatrick Iacob <iacobp@oregonstate.edu>
Sun, 27 Nov 2022 04:11:01 +0000 (20:11 -0800)
committerdrkhsh <me@drkhsh.at>
Thu, 1 Dec 2022 08:04:32 +0000 (09:04 +0100)
commit982eb223a055db01bf03f44bf0203705ca7153e8
tree2a93797b14769a9d9d7676a0c106b72c25a0a1e1
parent57c6e7340d16b14d61f9e3361ca4940f53dfcafa
battery: Fix remaining on Linux

The current version displays the remaining time as 'n/a'.

Fixes this regression introduced in 69b2487650782f135db76078c4a7fb841cb936ac
where current_now and power_now were incorrectly replaced with current and
power when they were moved to a macro.
components/battery.c