Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where can I find the battery image used by fitbit?

ANSWERED

I'm playing around with clock faces and would like to add a battery indicator. Is there a Fitbit standard image for a battery? Is there an example on how to fill the image based on the percentage of battery life?

thanks

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

We don't currently provide the images, but you could screenshot from the simulator and match the positioning.

 

You can adjust a <rect> width to match the required size based on the battery percentage.

 

Let's say our battery fill is 30px and the charge level is 90%. rect.width = (30 / 100) * 90

View best answer in original post

Best Answer
1 REPLY 1

We don't currently provide the images, but you could screenshot from the simulator and match the positioning.

 

You can adjust a <rect> width to match the required size based on the battery percentage.

 

Let's say our battery fill is 30px and the charge level is 90%. rect.width = (30 / 100) * 90

Best Answer