10-06-2017 10:43
10-06-2017 10:43
I'm being really dense, but I can't seem to tap into the battery API to get the chargeLevel. I execute the following and it builds, but at runtime, I get the error below.
import { battery, charger } from "power";
myBattery.innerText = battery.chargeLevel;
when I use this, I get:
Answered! Go to the Best Answer.
10-06-2017 14:10
10-06-2017 14:10
You're not dense, it's just not available yet!
https://dev.fitbit.com/release-notes/2017-09-26-dp1/#firmware
10-06-2017 14:10
10-06-2017 14:10
You're not dense, it's just not available yet!
https://dev.fitbit.com/release-notes/2017-09-26-dp1/#firmware
10-06-2017 15:47
10-06-2017 15:47
Thanks! I read the notes before and just didn’t pick up about the Power, thanks for the response.
10-06-2017 17:48
10-06-2017 17:48
Thanks for asking this question. I too was having problems getting the battery information.