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.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You're not dense, it's just not available yet!
https://dev.fitbit.com/release-notes/2017-09-26-dp1/#firmware
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
You're not dense, it's just not available yet!
https://dev.fitbit.com/release-notes/2017-09-26-dp1/#firmware