Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

[UWP] Always report 'Full' when is not #3

Closed
farlop opened this issue Nov 5, 2016 · 2 comments
Closed

[UWP] Always report 'Full' when is not #3

farlop opened this issue Nov 5, 2016 · 2 comments

Comments

@farlop
Copy link

farlop commented Nov 5, 2016

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

@Englund0110
Copy link

Anything new on this issue?

jamesmontemagno added a commit that referenced this issue Dec 5, 2016
Check against 100 :)
@jamesmontemagno
Copy link
Owner

PUshing out 2.1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants