Fixed bug.
Fixed bug.

Moved line 23 and 24 from inside the while loop to outside, as they were causing unexpected behavior: the program was only reading the value from memory once and was then unable to report further changes.
Wyse-/G930BatteryReader