You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a tiny issue, but I thought I'd report it. When both Versa and Ionic emulators are set to certain battery levels, they report a different battery level to the emulator.
I have verified all other battery values are correct.
In my code I am using these lines to derive the battery level:
var batlvl = Math.floor(battery.chargeLevel);
powerRow.text = batlvl;
So it could be some kind of round-off error. I also attempted to remove the Math.floor() function but received the same results. Again, not a critical issue, but something that should be documented. Thanks!
The text was updated successfully, but these errors were encountered:
I just re-built my watch face with the SDK 4.0, and downloaded the latest simulator. I'm still seeing the exact same values given the same settings.
Fortunately, I'm not sure if any user would possibly notice this, even on a watch face with a very granular battery percentage display such as mine.
This seems like a tiny issue, but I thought I'd report it. When both Versa and Ionic emulators are set to certain battery levels, they report a different battery level to the emulator.
Setting level 29 reports 28. (See screen shot. )
Setting level 57 reports 56.
Setting level 58 reports 57.
I have verified all other battery values are correct.
In my code I am using these lines to derive the battery level:
So it could be some kind of round-off error. I also attempted to remove the Math.floor() function but received the same results. Again, not a critical issue, but something that should be documented. Thanks!
The text was updated successfully, but these errors were encountered: