Fix units of current consumption value.
Previously it was not clear whether the units in tdehwlib are
in Wh and W or Ah and A. Now the units are always Ah and A.
Because power consumption is usually given in W, the value is
converted from A to W. If it is less than 100 W, it is
displayed as a decimal number.
This is related to issue TDE/tdelibs#68.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit fa0e4e246c
)
r14.0.x
parent
6609acc640
commit
7a52a4c33f
Loading…
Reference in New Issue