Closed farlop closed 7 years ago
Please fill out either the bug or feature request section and remove whatever section you are not using.
Version Number of Plugin: 2.1.0 Device Tested On: Windows 10 (PC & Mobile)
Should not be Full if the percentage is less than 100% (Charging or discharging...)
Always reports Full, due to the wrong IF condition in line 92:
if (percentage >= 1.0)
it should be >=100, as percentage is 0-100
Anything new on this issue?
PUshing out 2.1.1
Please fill out either the bug or feature request section and remove whatever section you are not using.
Bug
Version Number of Plugin: 2.1.0 Device Tested On: Windows 10 (PC & Mobile)
Expected Behavior
Should not be Full if the percentage is less than 100% (Charging or discharging...)
Actual Behavior
Always reports Full, due to the wrong IF condition in line 92:
if (percentage >= 1.0)
it should be >=100, as percentage is 0-100