Search function is broken in this forum again, so forgive me if this question has been asked / answered before - I can't search for it.
How do you display a battery life in days instead of % ?
Thank you!
Search function is broken in this forum again, so forgive me if this question has been asked / answered before - I can't search for it.
How do you display a battery life in days instead of % ?
Thank you!
it’s not provided by Garmin’s api ( I think ) so probably just record the battery variation over a certain period of time and use that to extrapolate the battery life in days. No special tricks needed... but sure hope Garmin will just expose that for us at some point.
Yeah, that's what I thought. Thank you!
have you found a way to do so? I can share mine to you if you need
That method assumes that to show the battery estimation you have to collect some statistics. But garmin original watch faces show battery estimation from the start. I am wondering what method it's used there.
It could just be a table lookup. If the battery is x% and you're just running a watch face, you have about y days left.
I have an unpublished widget that's a bit smarter, where it knows when the last charge was, what level it was at after the charge, and based on "now" and the current battery level, estimates the remaining time.
>It could just be a table lookup
yeah, that is very possible
>when the last charge was
is this something retrievable using the API?
No, I use a background service to watch battery levels (with a timestamp), and I look for the last time the level increased