Beta 6 of sdk changes battery charge value by using round instead of floor. Adjusting logic to accomodate.