Detect if watch is charging

I was searching the API but couldn't find anything that tells me if the watch is currently charging. I want to put an indicator on my watchface to indicate that the watch is charging. Is there a way to do that?

thanks
  • There's a thread somewhere where this is talked about in detail. Basically, what you need to do is watch the battery level and if it's going up, it's charging. But that's a bit error prone, in that you can get false positives when the watch warms, etc. Some devices only report the integer part of the battery level, so it can also take a bit of time to detect.

    I had a charging indicator in a number of things a couple years back, but have gradually been removing it, as I'm not sure many users noticed it and it was a a pain do get right. Before I first did my on code (2015 - the CIQ 1.x.x days), I suggested something like "isCharging" in the API, but that's never happened.
  • Thanks. I'm surprised it's not there but it's not a big deal.